[inbound]
exten => _X.,1,NoOp("Incoming CLI: ${CALLERID(num)}")
exten => _X.,n,ExecIf($["${CALLERID(num)}"="anonymous"]?Set(CALLERID(num-pres)=prohib))
exten => _X.,n,Set(CDR(remote_hostinfo)=${CUT(CUT(PJSIP_HEADER(read,Via,1), ,2),\;,1)})
exten => _X.,n,Set(CDR(dst_hostinfo)=y.y.y.y:5060)
exten => _X.,n,Dial(PJSIP/${EXTEN}@Customer_End_Trunk,90)

exten => s,1,Answer()
