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

2010-02-19 Thread Joseph
I think you are correct, thank you for pointing it out. I just switch entries in sip.Cong put [pstn-9998] first' and [pstn-] second and the second entry was selected :-( (so you are right on). Audiocodes gateway, has two FXO ports, I was convinced that entry is selected based on

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

2010-02-18 Thread C F
It should use the context of the device On Wed, Feb 17, 2010 at 8:40 PM, Joseph syscon...@gmail.com wrote: Is there any asterisk guru who can explain me how how asterisk knows which context forward the call to? -- Joseph --

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

2010-02-18 Thread Joseph
Yes, it should but it doesn't. And the gurus at Audiocodes support can not explain why? -- Joseph On 02/18/10 19:27, C F wrote: It should use the context of the device On Wed, Feb 17, 2010 at 8:40 PM, Joseph syscon...@gmail.com wrote: Is there any asterisk guru who can explain me how how

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

2010-02-18 Thread Ioan Indreias
I hope I'm not wrong but I think the problem is related to the fact that on incoming calls Asterisk find the peers based on their IP and not on their IP+PORT. Thus, if you have several extensions on the same devices (= one single IP with different SIP ports), the last entry into your sip.conf file

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

2010-02-17 Thread Joseph
Is there any asterisk guru who can explain me how how asterisk knows which context forward the call to? -- Joseph -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To

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

2010-02-17 Thread John Timms
Your question is a little vague. I assume that you would be looking for the GoTo application. The syntax is explained here: http://www.voip-info.org/wiki/view/Asterisk+cmd+goto http://www.voip-info.org/wiki/view/Asterisk+cmd+gotoAlso, you can look on page 426 of the Asterisk book, which is really

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

2010-02-17 Thread Joseph
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

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

2010-02-17 Thread Warren Selby
On Wed, Feb 17, 2010 at 8:59 PM, Joseph syscon...@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

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

2010-02-17 Thread Joseph
On 02/17/10 21:09, Warren Selby wrote: On Wed, Feb 17, 2010 at 8:59 PM, Joseph syscon...@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