[asterisk-users] AGI script fails on IAX channels (from call file).

Tony Mountifield tony at softins.clara.co.uk
Sat Sep 15 16:16:05 CDT 2007


In article <46EC2F74.6030003 at comcast.net>,
Jonas Arndt <jonas_arndt at comcast.net> wrote:
> 
> The problem was that the IAX2 channel accepted both ulaw and gsm codec.
> Once I dropped the gsm alternative in the iax.conf the interaction with
> the AGI scripts (DTMF) worked great. So it seems that the ulaw was
> picked if the IAX call was initiated by the IAX phone and hit the AGI
> script through the extensions.conf. If the AGI script initiated the call
> gsm was for some reason picked and  wouldn't accept DTMF.
> 
> What might be a clue here is that the iaxy based phones are configured
> to just use ulaw. I tried just gsm but that didn't work. So with a phone
> doing just ulaw initiating the call, that might be the reason ulaw was
> picked and it worked through the dial plan.
> 
> Anyhow, a big thanks to everybody that tried to work on this with me. I
> have some job still ahead (figuring out how the different DTMF modes
> relates to gsm and if there might be a bug here), but I do have a
> working solution.

Jonas, glad you've found a solution, hope the suggestions were of some help.

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-users mailing list