Hello all, I wrongly diagnosed / explained my issue in a previous post.
What I am doing is transferring from one vicidal system to another. They are registered to each other via a sip connection.
I am currently using the below dialplan entry to send the call:
exten => _977.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _977.,2,Set(CALLERID(num)=${CALLERID(num):-10})
exten => _977.,n,Dial(SIP/${EXTEN:3}@os0101,,tTo)
exten => _977.,n,Hangup
I can see in the CLI that I am sending the correct CALLERID on the way out as seen below:
[Jul 23 12:21:12] -- Executing [192*168*000*005*9774072221000@default:1] Goto("SIP/voipvoip001-00000086", "default,9774072221000,1") in new stack
[Jul 23 12:21:12] -- Goto (default,9774072221000,1)
[Jul 23 12:21:12] -- Executing [9774072221000@default:1] AGI("SIP/voipvoip001-00000086", "agi://127.0.0.1:4577/call_log") in new stack
[Jul 23 12:21:12] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=CAM001))
[Jul 23 12:21:12] -- <SIP/voipvoip001-00000086>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Jul 23 12:21:12] -- Executing [9774072221000@default:2] Set("SIP/voipvoip001-00000086", "CALLERID(num)=407921xxxx") in new stack
[Jul 23 12:21:12] -- Executing [9774072221000@default:3] Dial("SIP/voipvoip001-00000086", "SIP/4072221000@os0101,,tTo") in new stack
[Jul 23 12:21:12] == Using SIP RTP CoS mark 5
[Jul 23 12:21:12] -- Called SIP/4072221000@os0101
[Jul 23 12:21:12] -- SIP/os0101-00000087 answered SIP/voipvoip001-00000086
[Jul 23 12:21:35] -- Executing [h@default:1] AGI("SIP/voipvoip001-00000086", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----48-----23") in new stack
[Jul 23 12:21:35] -- <SIP/voipvoip001-00000086>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... -48-----23 completed, returning 0
[Jul 23 12:21:35] == Spawn extension (default, 9774072221000, 3) exited non-zero on 'SIP/voipvoip001-00000086'
I am setting the caller ID to 10 digits on the outbound sip transfer. I have the Clean Cid number on my inbound DID set to R10 on the inbound DID.
I can't tell what is happening but the CALLER ID is showing up as V7241242010000000385 (or something similar)
I can see the correct caller id all over the sip debug (407921xxxx) but the agent screen and the database shows V7241242010000000385 in the phone field.
[b]I tried to show the full SIP debug but it wouldn't let me post it.
[/b]
Here is the incoming info
[Jul 24 13:39:09] -- Executing [4072221000@trunkinbound:1] AGI("SIP/reg1-0000004b", "agi-DID_route.agi") in new stack
[Jul 24 13:39:09] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Jul 24 13:39:09] -- <SIP/reg1-0000004b>AGI Script agi-DID_route.agi completed, returning 0
[Jul 24 13:39:09] -- Executing [99909*2***DID@default:1] Answer("SIP/reg1-0000004b", "") in new stack
[Jul 24 13:39:09] -- Executing [99909*2***DID@default:2] AGI("SIP/reg1-0000004b", "agi-VDAD_ALL_inbound.agi") in new stack
[Jul 24 13:39:09] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi
[Jul 24 13:39:10] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Jul 24 13:39:10] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Jul 24 13:39:10] == Manager 'sendcron' logged on from 127.0.0.1
[Jul 24 13:39:10] -- Executing [192*168*000*024*78600051@default:1] Goto("Local/192*168*000*024*78600051@default-00000031;2", "default,78600051,1") in new stack
[Jul 24 13:39:10] -- Goto (default,78600051,1)
[Jul 24 13:39:10] -- Executing [78600051@default:1] MeetMe("Local/192*168*000*024*78600051@default-00000031;2", "8600051,Fq") in new stack
[Jul 24 13:39:10] > Channel Local/192*168*000*024*78600051@default-00000031;1 was answered.
[Jul 24 13:39:10] -- Executing [83047777777777@vicidial-auto:1] Answer("Local/192*168*000*024*78600051@default-00000031;1", "") in new stack
[Jul 24 13:39:10] -- Executing [83047777777777@vicidial-auto:2] Playback("Local/192*168*000*024*78600051@default-00000031;1", "ding") in new stack
[Jul 24 13:39:10] -- <Local/192*168*000*024*78600051@default-00000031;1> Playing 'ding.gsm' (language 'en')
[Jul 24 13:39:10] -- Executing [83047777777777@vicidial-auto:3] Hangup("Local/192*168*000*024*78600051@default-00000031;1", "") in new stack
[Jul 24 13:39:10] == Spawn extension (vicidial-auto, 83047777777777, 3) exited non-zero on 'Local/192*168*000*024*78600051@default-00000031;1'
[Jul 24 13:39:10] -- Executing [h@vicidial-auto:1] AGI("Local/192*168*000*024*78600051@default-00000031;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Jul 24 13:39:10] -- <Local/192*168*000*024*78600051@default-00000031;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Jul 24 13:39:10] == Spawn extension (default, 78600051, 1) exited non-zero on 'Local/192*168*000*024*78600051@default-00000031;2'
[Jul 24 13:39:10] -- Executing [h@default:1] AGI("Local/192*168*000*024*78600051@default-00000031;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Jul 24 13:39:10] -- <Local/192*168*000*024*78600051@default-00000031;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Jul 24 13:39:11] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Jul 24 13:39:11] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Jul 24 13:39:11] == Manager 'sendcron' logged off from 127.0.0.1
[Jul 24 13:39:11] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Jul 24 13:39:11] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Jul 24 13:39:11] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Jul 24 13:39:11] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Jul 24 13:39:11] -- <SIP/reg1-0000004b>AGI Script agi-VDAD_ALL_inbound.agi completed, returning 0
[Jul 24 13:39:11] -- Executing [192*168*000*024*8600051@default:1] Goto("SIP/reg1-0000004b", "default,8600051,1") in new stack
[Jul 24 13:39:11] -- Goto (default,8600051,1)
[Jul 24 13:39:11] -- Executing [8600051@default:1] MeetMe("SIP/reg1-0000004b", "8600051,F") in new stack
[Jul 24 13:39:34] == Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/reg1-0000004b'
[Jul 24 13:39:34] -- Executing [h@default:1] AGI("SIP/reg1-0000004b", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Jul 24 13:39:34] -- <SIP/reg1-0000004b>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
I tried to show the full SIP debug but it wouldn't let me post it.
I appreciate any and all suggestions!
Thanks,
Ian