I’ve posted this before but never got it resolved. Trying to set up a test server but for some reason I can never get (Canadian style) caller ID to work properly with Disa, forwarding etc. My setup is:
- Hosted Asterisk PBX running PIAF Purple
- Connected to a voip.ms trunk for inbound/outbound with routes assigned
- DIDs with voip.ms pointing to my Asterisk System
- A DISA Set up as a test that has Caller ID set as “Sunshine Tech” , as per the help bubble it says “User Name” 33333 etc.
No matter what I try, I can never get it to display the caller ID on the outbound DISA and can’t figure out why. Below is the SIP log of me calling into a voip.ms DID 647-478-1010 which is set to go right to DISA, from my cell phone 416-122-1199 and then dialing 18662223456 as a test. No matter what, the voip.ms log, and the person I’m calling always just sees the NAME as 6475576644 and Number as 6475576644 it never shows “Sunshine Tech” in this example as the name. This is the same with if I even just set an extension to forward to my cell, it never keeps the persons name, it only shows their phone # as the name and number. I can’t figure out for the life of me why it won’t send the name but voip.ms says it’s a problem with my config. However I have installed PIAF, FreePBX, AsteriskNow, literally every distribution and it always does it, so either it has to be just not supported or it has to be some kind of setting?
– Executing [[email protected]:1] Set(“SIP/voipms-00000021”, “__FROM_DID=6474781010”) in new stack
– Executing [[email protected]:2] Gosub(“SIP/voipms-00000021”, “app-blacklist-check,s,1()”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/voipms-00000021”, “0?blacklisted”) in new stack
– Executing [[email protected]:2] Set(“SIP/voipms-00000021”, “CALLED_BLACKLIST=1”) in new stack
– Executing [[email protected]:3] Return(“SIP/voipms-00000021”, “”) in new stack
– Executing [[email protected]:3] Set(“SIP/voipms-00000021”, “CDR(did)=6474781010”) in new stack
– Executing [[email protected]:4] ExecIf(“SIP/voipms-00000021”, “0 ?Set(CALLERID(name)=4161221199)”) in new stack
– Executing [[email protected]:5] Set(“SIP/voipms-00000021”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [[email protected]:6] Set(“SIP/voipms-00000021”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [[email protected]:7] Goto(“SIP/voipms-00000021”, “disa,1,1”) in new stack
– Goto (disa,1,1)
– Executing [[email protected]:1] Authenticate(“SIP/voipms-00000021”, “336511,”) in new stack
– <SIP/voipms-00000021> Playing ‘agent-pass.gsm’ (language ‘en’)
– <SIP/voipms-00000021> Playing ‘auth-thankyou.gsm’ (language ‘en’)
– Executing [[email protected]:2] Set(“SIP/voipms-00000021”, “_DISA=disa^1^newcall”) in new stack
– Executing [[email protected]:3] Set(“SIP/voipms-00000021”, “_DISACONTEXT=from-internal”) in new stack
– Executing [[email protected]:4] Set(“SIP/voipms-00000021”, “_KEEPCID=TRUE”) in new stack
– Executing [[email protected]:5] Set(“SIP/voipms-00000021”, “_HANGUP=”) in new stack
– Executing [[email protected]:6] Set(“SIP/voipms-00000021”, “TIMEOUT(digit)=5”) in new stack
– Digit timeout set to 5.000
– Executing [[email protected]:7] Set(“SIP/voipms-00000021”, “TIMEOUT(response)=10”) in new stack
– Response timeout set to 10.000
– Executing [[email protected]:8] Set(“SIP/voipms-00000021”, “CALLERID(all)=“Sunshine Tech” <6475576644>”) in new stack
– Executing [[email protected]:9] Set(“SIP/voipms-00000021”, “__REALCALLERIDNUM=6475576644”) in new stack
– Executing [[email protected]:10] DISA(“SIP/voipms-00000021”, “no-password,disa-dial”) in new stack
– Executing [[email protected]:1] NoOp(“SIP/voipms-00000021”, “called 18662223456 in from-internal by ID: 1”) in new stack
– Executing [[email protected]:2] Dial(“SIP/voipms-00000021”, “Local/186[email protected],300,”) in new stack
– Called Local/[email protected]
– Executing [[email protected]:1] Macro(“Local/[email protected];2”, “user-callerid,LIMIT,”) in new stack
– Executing [[email protected]:1] Set(“Local/[email protected];2”, “AMPUSER=6475576644”) in new stack
– Executing [[email protected]:2] GotoIf(“Local/[email protected];2”, “0?report”) in new stack
– Executing [[email protected]:3] ExecIf(“Local/[email protected];2”, “0?Set(REALCALLERIDNUM=6475576644)”) in new stack
– Executing [[email protected]:4] Set(“Local/[email protected];2”, “AMPUSER=”) in new stack
– Executing [[email protected]:5] Set(“Local/[email protected];2”, “AMPUSERCIDNAME=”) in new stack
– Executing [[email protected]:6] GotoIf(“Local/[email protected];2”, “1?report”) in new stack
– Goto (macro-user-callerid,s,13)
– Executing [[email protected]:13] GotoIf(“Local/[email protected];2”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,26)
– Executing [[email protected]:26] Set(“Local/[email protected];2”, “CALLERID(number)=6475576644”) in new stack
– Executing [[email protected]:27] Set(“Local/[email protected];2”, “CALLERID(name)=Sunshine Tech”) in new stack
– Executing [[email protected]:28] Set(“Local/[email protected];2”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:2] Set(“Local/[email protected];2”, “MOHCLASS=default”) in new stack
– Executing [[email protected]:3] Set(“Local/[email protected];2”, “_NODEST=”) in new stack
– Executing [[email protected]:4] Gosub(“Local/[email protected];2”, “sub-record-check,s,1(out,18662223456,)”) in new stack
– Executing [[email protected]:1] GotoIf(“Local/[email protected];2”, “1?check”) in new stack
– Goto (sub-record-check,s,6)
– Executing [[email protected]:6] Set(“Local/[email protected];2”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:7] GotoIf(“Local/[email protected];2”, “1?next”) in new stack
– Goto (sub-record-check,s,10)
– Executing [[email protected]:10] ExecIf(“Local/[email protected];2”, “0?Return()”) in new stack
– Executing [[email protected]:11] GotoIf(“Local/[email protected];2”, “0?out,1”) in new stack
– Executing [[email protected]:12] Set(“Local/[email protected];2”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [[email protected]:13] ExecIf(“Local/[email protected];2”, “0?Set(__REC_POLICY_MODE=)”) in new stack
– Executing [[email protected]:14] Set(“Local/[email protected];2”, “NOW=1369061565”) in new stack
– Executing [[email protected]:15] Set(“Local/[email protected];2”, “__DAY=20”) in new stack
– Executing [[email protected]:16] Set(“Local/[email protected];2”, “__MONTH=05”) in new stack
– Executing [[email protected]:17] Set(“Local/[email protected];2”, “__YEAR=2013”) in new stack
– Executing [[email protected]:18] Set(“Local/[email protected];2”, “__TIMESTR=20130520-075245”) in new stack
– Executing [[email protected]:19] Set(“Local/[email protected];2”, “__FROMEXTEN=6475576644”) in new stack
– Executing [[email protected]:20] Set(“Local/[email protected];2”, “__CALLFILENAME=out-18662223456-6475576644-20130520-075245-1369061565.48”) in new stack
– Executing [[email protected]:21] Goto(“Local/[email protected];2”, “out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [[email protected]:1] ExecIf(“Local/[email protected];2”, “1?Set(__REC_POLICY_MODE=)”) in new stack
– Executing [[email protected]:2] GosubIf(“Local/[email protected];2”, “0?record,1(exten,18662223456,6475576644)”) in new stack
– Executing [[email protected]:3] Return(“Local/[email protected];2”, “”) in new stack
– Executing [[email protected]:5] Macro(“Local/[email protected];2”, “dialout-trunk,1,18662223456,”) in new stack
– Executing [[email protected]:1] Set(“Local/[email protected];2”, “DIAL_TRUNK=1”) in new stack
– Executing [[email protected]:2] GosubIf(“Local/[email protected];2”, “0?sub-pincheck,s,1()”) in new stack
– Executing [[email protected]:3] GotoIf(“Local/[email protected];2”, “0?disabletrunk,1”) in new stack
– Executing [[email protected]:4] Set(“Local/[email protected];2”, “DIAL_NUMBER=18662223456”) in new stack
– Executing [[email protected]:5] Set(“Local/[email protected];2”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing [[email protected]:6] Set(“Local/[email protected];2”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing [[email protected]:7] GotoIf(“Local/[email protected];2”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [[email protected]:9] GotoIf(“Local/[email protected];2”, “0?skipoutcid”) in new stack
– Executing [[email protected]:10] Set(“Local/[email protected];2”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [[email protected]:11] Macro(“Local/[email protected];2”, “outbound-callerid,1”) in new stack
– Executing [[email protected]:1] ExecIf(“Local/[email protected];2”, “1?Set(CALLERPRES()=allowed_not_screened)”) in new stack
– Executing [[email protected]:2] ExecIf(“Local/[email protected];2”, “0?Set(REALCALLERIDNUM=6475576644)”) in new stack
– Executing [[email protected]:3] GotoIf(“Local/[email protected];2”, “0?normcid”) in new stack
– Executing [[email protected]:4] Set(“Local/[email protected];2”, “USEROUTCID=6475576644”) in new stack
– Executing [[email protected]:5] GotoIf(“Local/[email protected];2”, “1?bypass”) in new stack
– Goto (macro-outbound-callerid,s,7)
– Executing [[email protected]:7] Set(“Local/[email protected];2”, “EMERGENCYCID=”) in new stack
– Executing [[email protected]:8] Set(“Local/[email protected];2”, “TRUNKOUTCID=6474789362”) in new stack
– Executing [[email protected]:9] GotoIf(“Local/[email protected];2”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,12)
– Executing [[email protected]:12] ExecIf(“Local/[email protected];2”, “1?Set(CALLERID(all)=6474789362)”) in new stack
– Executing [[email protected]:13] ExecIf(“Local/[email protected];2”, “1?Set(CALLERID(all)=6475576644)”) in new stack
– Executing [[email protected]:14] ExecIf(“Local/[email protected];2”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:15] ExecIf(“Local/[email protected];2”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [[email protected]:12] GosubIf(“Local/[email protected];2”, “0?sub-flp-1,s,1()”) in new stack
– Executing [[email protected]:13] Set(“Local/[email protected];2”, “OUTNUM=18662223456”) in new stack
– Executing [[email protected]:14] Set(“Local/[email protected];2”, “custom=SIP/voipms”) in new stack
– Executing [[email protected]:15] ExecIf(“Local/[email protected];2”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
– Executing [[email protected]:16] ExecIf(“Local/[email protected];2”, “0?Set(DIAL_TRUNK_OPTIONS=M(confirm))”) in new stack
– Executing [[email protected]:17] Macro(“Local/[email protected];2”, “dialout-trunk-predial-hook,”) in new stack
– Executing [[email protected]:1] MacroExit(“Local/[email protected];2”, “”) in new stack
– Executing [[email protected]:18] GotoIf(“Local/[email protected];2”, “0?bypass,1”) in new stack
– Executing [[email protected]:19] ExecIf(“Local/[email protected];2”, “0?Set(CONNECTEDLINE(num,i)=18662223456)”) in new stack
– Executing [[email protected]:20] ExecIf(“Local/[email protected];2”, “0?Set(CONNECTEDLINE(name,i)=CID:6475576644)”) in new stack
– Executing [[email protected]:21] GotoIf(“Local/[email protected];2”, “0?customtrunk”) in new stack
– Executing [[email protected]:22] Dial(“Local/[email protected];2”, “SIP/voipms/18662223456,300,”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/voipms/18662223456
– SIP/voipms-00000022 is making progress passing it to Local/[email protected];2
– Local/[email protected];1 is making progress passing it to SIP/voipms-00000021
– SIP/voipms-00000022 answered Local/[email protected];2
– Local/[email protected];1 answered SIP/voipms-00000021
– Executing [[email protected]:1] Macro(“Local/[email protected];2”, “hangupcall,”) in new stack
– Executing [[email protected]:1] GotoIf(“Local/[email protected];2”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [[email protected]:3] ExecIf(“Local/[email protected];2”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [[email protected]:4] Hangup(“Local/[email protected];2”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘Local/[email protected];2’ in macro ‘hangupcall’
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on ‘Local/[email protected];2’
== Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on ‘Local/[email protected];2’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, 18662223456, 5) exited non-zero on ‘Local/[email protected];2’
– Executing [[email protected]:1] NoOp(“SIP/voipms-00000021”, “called h in from-internal by ID: 1”) in new stack
– Executing [[email protected]:2] Dial(“SIP/voipms-00000021”, “Local/[email protected],300,”) in new stack
– Called Local/[email protected]
– Executing [[email protected]:1] Hangup(“Local/[email protected];2”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘Local/[email protected];2’
– Executing [[email protected]:1] Hangup(“Local/[email protected];2”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘Local/[email protected];2’
– No one is available to answer at this time (1:0/0/0)
– Executing [[email protected]:3] Gosub(“SIP/voipms-00000021”, “s-NOANSWER,1()”) in new stack
– Executing [[email protected]:1] NoOp(“SIP/voipms-00000021”, “DISA Dial failed due to NOANSWER - returning to dial tone”) in new stack
– Executing [[email protected]:2] PlayTones(“SIP/voipms-00000021”, “congestion”) in new stack
– Executing [[email protected]:3] Wait(“SIP/voipms-00000021”, “3”) in new stack
== Spawn extension (disa-dial, s-NOANSWER, 3) exited non-zero on ‘SIP/voipms-00000021’
== Spawn extension (disa-dial, 18662223456, 2) exited non-zero on ‘SIP/voipms-00000021’