Hi guys
I have a problem A company has a 800 line connected through a Digium Card in an Elastix server working for almost a year, now they want to send me those calls, so I created a Sip entrance in sip.conf:
register => 136:cc6@xxx.xxx.xxx.xxx:5060
[trunk3]
disallow=all
allow=g729
allow=ulaw
allow=alaw
allow=gsm
type=friend
username=136
secret=cc6
host=xxx.xxx.xxx.xxx
dtmfmode=rfc2833
qualify=1000
context=default
insecure=port,invite
port=5060
Ok I can connect to the elastix server, the elastix server can see im logged in.
When the call arrives it arrives to extension S so I created the AGI route in extensions.conf
exten => s,1,AGI(agi-DID_route.agi
So when we call de 800 number I can see the call comming in, in the agent screen i can see the call, but we dont get any audio
So I see the cli ans i get this warning
[Sep 9 08:15:41] WARNING[22191]: file.c:1297 waitstream_core: Unexpected control subclass '-1'
[Sep 9 08:15:41] WARNING[22191]: file.c:1297 waitstream_core: Unexpected control subclass '-1'
Complete CLI
-- Executing [s@default:1] AGI("SIP/trunk3-000011aa", "agi-DID_route.agi") in new stack
[Sep 9 08:15:41] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
[Sep 9 08:15:41] -- AGI Script agi-DID_route.agi completed, returning 0
[Sep 9 08:15:41] -- Executing [99909*5***DID@default:1] Answer("SIP/trunk3-000011aa", "") in new stack
[Sep 9 08:15:41] -- Executing [99909*5***DID@default:2] AGI("SIP/trunk3-000011aa", "agi-VDAD_ALL_inbound.agi") in new stack
[Sep 9 08:15:41] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi
[Sep 9 08:15:41] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 9 08:15:41] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 9 08:15:41] == Parsing '/etc/asterisk/manager.conf': [Sep 9 08:15:41] Found
[Sep 9 08:15:41] == Manager 'sendcron' logged on from 127.0.0.1
[Sep 9 08:15:41] -- Executing [192*168*000*006*78600053@default:1] Goto("Local/192*168*000*006*78600053@default-e021,2", "default|78600053|1") in new stack
[Sep 9 08:15:41] -- Goto (default,78600053,1)
[Sep 9 08:15:41] -- Executing [78600053@default:1] MeetMe("Local/192*168*000*006*78600053@default-e021,2", "8600053|Fq") in new stack
[Sep 9 08:15:41] > Channel Local/192*168*000*006*78600053@default-e021,1 was answered.
[Sep 9 08:15:41] -- Executing [83047777777777@vicidial-auto:1] Answer("Local/192*168*000*006*78600053@default-e021,1", "") in new stack
[Sep 9 08:15:41] -- Executing [83047777777777@vicidial-auto:2] Playback("Local/192*168*000*006*78600053@default-e021,1", "ding") in new stack
[Sep 9 08:15:41] -- <Local/192*168*000*006*78600053@default-e021,1> Playing 'ding' (language 'en')
[Sep 9 08:15:41] WARNING[22191]: file.c:1297 waitstream_core: Unexpected control subclass '-1'
[Sep 9 08:15:41] WARNING[22191]: file.c:1297 waitstream_core: Unexpected control subclass '-1'
[Sep 9 08:15:41] -- Executing [83047777777777@vicidial-auto:3] Hangup("Local/192*168*000*006*78600053@default-e021,1", "") in new stack
[Sep 9 08:15:41] == Spawn extension (vicidial-auto, 83047777777777, 3) exited non-zero on 'Local/192*168*000*006*78600053@default-e021,1'
[Sep 9 08:15:41] -- Executing [h@vicidial-auto:1] DeadAGI("Local/192*168*000*006*78600053@default-e021,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Sep 9 08:15:41] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Sep 9 08:15:41] == Spawn extension (default, 78600053, 1) exited non-zero on 'Local/192*168*000*006*78600053@default-e021,2'
[Sep 9 08:15:41] -- Executing [h@default:1] DeadAGI("Local/192*168*000*006*78600053@default-e021,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Sep 9 08:15:41] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Sep 9 08:15:42] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 9 08:15:42] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 9 08:15:43] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 9 08:15:43] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 9 08:15:43] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 9 08:15:43] -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Sep 9 08:15:43] -- AGI Script agi-VDAD_ALL_inbound.agi completed, returning 0
[Sep 9 08:15:43] -- Executing [192*168*000*006*8600053@default:1] Goto("SIP/trunk3-000011aa", "default|8600053|1") in new stack
[Sep 9 08:15:43] -- Goto (default,8600053,1)
[Sep 9 08:15:43] -- Executing [8600053@default:1] MeetMe("SIP/trunk3-000011aa", "8600053|F") in new stack
[Sep 9 08:15:43] == Refreshing DNS lookups.
[Sep 9 08:15:43] == Manager 'sendcron' logged off from 127.0.0.1
[Sep 9 08:15:46] == Parsing '/etc/asterisk/manager.conf': [Sep 9 08:15:46] Found
[Sep 9 08:15:46] == Manager 'sendcron' logged on from 127.0.0.1
[Sep 9 08:15:46] == Spawn extension (default, 8600053, 1) exited non-zero on 'SIP/trunk3-000011aa'
[Sep 9 08:15:46] -- Executing [h@default:1] DeadAGI("SIP/trunk3-000011aa", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Sep 9 08:15:46] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
Can you give me a hand?
Thanks