Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
Why we have extra forward slash?
exten => _91XXXXXXXXXX,n,SipAddHeader(P-Asserted-Identity: "XYZCorp" <sip:${CALLERID(num)}@ap-southeast-sin.sip.flowroute.com>)
exten => _91NXXNXXXXXX,1,Set(CALLERID(name)=XYZCorp)
change that string to your name. But if you put any extra characters in ... such as quotation marks ...
exten => _91NXXNXXXXXX,1,Set(CALLERID(name)=XYZCorp)
P-Asserted-Identity: XYZCorp <sip:${CALLERID(num)}@ap-southeast-sin.sip.flowroute.com>
exten => _91NXXNXXXXXX,1,Set(CALLERID(name)="XYZCorp")
P-Asserted-Identity: "XYZCorp" <sip:${CALLERID(num)}@ap-southeast-sin.sip.flowroute.com>
syedfahim786 wrote:While the Dialplan Entry is:
exten => _91XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,n,SipAddHeader(P-Asserted-Identity: XYZCorp <sip:${CALLERID(num)}@ap-southeast-sin.sip.flowroute.com>)
exten => _91XXXXXXXXXX,n,Dial(SIP/1234*${EXTEN:1}@Flowroute,,tTo)
exten => _91XXXXXXXXXX,n,Hangup()
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
same => n,GotoIf($["${CUT(SIPADDHEADER01, ,2-)}" = ""]?basicpaid)
same => n,SIPAddHeader(P-Asserted-Identity: "${CUT(SIPADDHEADER01, ,2-)}" <tel:${CALLERID(num)}>)
same => n,Goto(dial)
same => n(basicpaid),SIPAddHeader(P-Asserted-Identity: "${CALLERID(num)}" <tel:${CALLERID(num)}>)
same => n(dial),Dial(${CARRIER}/${EXTEN:1},${CAMPDTO},To)
same => n,Hangup()
Users browsing this forum: Google [Bot] and 40 guests