[asterisk-users] how asterisk knows which context forward the call to?

Joseph syscon780 at gmail.com
Wed Feb 17 22:06:00 CST 2010


On 02/17/10 21:09, Warren Selby wrote:
>On Wed, Feb 17, 2010 at 8:59 PM, Joseph <syscon780 at gmail.com> wrote:
>
>> Apology for not posting too much details.
>> I'm trying to figure it out how the ATA adapter knows which context (from
>> sip.conf) send the call to?
>>
>> I'm puzzled as I have never encounter this problem before.
>> I have for example two ATA adapters (Linksys and Audiocodes) both register
>> with asterisk per-port and both have FXS/FXO interfaces.
>>
>
>I haven't worked with Audiocodes before, but it looks like yours may be
>setup incorrectly.  Verify the username you have setup in your Audiocodes
>matches what is setup in your sip.conf file?
>
>--
>Thanks,
>--Warren Selby
>http://www.selbytech.com

The Audiocodes ATA gateway registers correctly (per-gateway) with asterisk, I double check the "secret", if it didn't match port would not register.

If one is using one incoming context, nobody will notice any difference but if you have different "context" per FXO port it is not working correctly.
All calls are answered/forwarded to one "context" regardless of what you have in sip.conf.  
That is why I'm puzzled as I didn't expect to have this strange behavour with a high end gateway!

Most of the companies that sell Audiocodes offer little support. Some offer support but have no knowledge of Asterisk so they don't 
support it.

-- 
Joseph



More information about the asterisk-users mailing list