Receiving E1/T1 Calls from Elastix to Goautodial

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

Receiving E1/T1 Calls from Elastix to Goautodial

Postby dcxm » Mon Sep 09, 2013 7:24 am

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
Goautodial 2.1 from .iso | VERSION: 2.4-309a BUILD: 110430-1642 | Asterisk 1.4.39.1 |Single Server | Digium TE120P Hardware | No Extra Software After Installation | Intel(R) Core(TM) i5-2400 CPU@ 3.10GHz | Kernel: 2.6.18-238.9.1.el5.goPAE (SMP)
dcxm
 
Posts: 30
Joined: Mon Oct 08, 2012 11:18 am

Re: Receiving E1/T1 Calls from Elastix to Goautodial

Postby GaD » Wed Sep 25, 2013 11:41 pm

I would remove the allow=g729 and would pick ONLY ONE either ulaw or alaw, depending on what your client is sending you. Also, for sanity check, I would allow g711. Check the codecs that you're negotiating. You may run "sip set debug peer <peer-name>" to see what codecs you are negotiating and agreeing on 'talking'. This sounds like codec.

Another one: This also sounds like possible firewall. Are there firewalls between you and yyour client?
GaD
 
Posts: 195
Joined: Fri Jul 08, 2011 3:56 pm


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 33 guests