Re: [OpenSIPS-Users] OpenSIPS 1.4 / Asterisk / Dispatcher / Probe / 4XX Error

2009-02-12 Thread Bogdan-Andrei Iancu
Hi, There is a new functionality available for dispatcher module on 1.5 - you can define (as module parameter) your custom set of SIP reply codes to be considered as OK for probing: http://www.opensips.org/html/docs/modules/devel/dispatcher.html#id271069 This is a new enhancement Anca did c

Re: [OpenSIPS-Users] OpenSIPS 1.4 / Asterisk / Dispatcher / Probe / 4XX Error

2009-02-02 Thread Iñaki Baz Castillo
El Lunes, 2 de Febrero de 2009, Geoffrey Mina escribió: > How would I configure the ruri in opensips to provide an extension > similar to sip:p...@asterisk.mydomain.com? > > I couldn't get anything other than sip:asterisk.mydomain.com Sorry, I didn't realize that you wer using the dispatcher modul

Re: [OpenSIPS-Users] OpenSIPS 1.4 / Asterisk / Dispatcher / Probe / 4XX Error

2009-02-01 Thread Geoffrey Mina
How would I configure the ruri in opensips to provide an extension similar to sip:p...@asterisk.mydomain.com? I couldn't get anything other than sip:asterisk.mydomain.com Thanks. Geoff On 2/1/09, Iñaki Baz Castillo wrote: > El Lunes, 2 de Febrero de 2009, Geoffrey Mina escribió: >> Thanks for

Re: [OpenSIPS-Users] OpenSIPS 1.4 / Asterisk / Dispatcher / Probe / 4XX Error

2009-02-01 Thread Iñaki Baz Castillo
El Lunes, 2 de Febrero de 2009, Geoffrey Mina escribió: > Thanks for pointing me in the right direction.  I didn't have an "s" > extension defined in my default context, so asterisk was returning a > 404 error because OpenSIPs doesn't specify an extension in the OPTIONS > packet.  The "s" is appare

Re: [OpenSIPS-Users] OpenSIPS 1.4 / Asterisk / Dispatcher / Probe / 4XX Error

2009-02-01 Thread Geoffrey Mina
Thanks for pointing me in the right direction. I didn't have an "s" extension defined in my default context, so asterisk was returning a 404 error because OpenSIPs doesn't specify an extension in the OPTIONS packet. The "s" is apparently where asterisk dumps anything to a context which doesn't ha

Re: [OpenSIPS-Users] OpenSIPS 1.4 / Asterisk / Dispatcher / Probe / 4XX Error

2009-02-01 Thread Alex Balashov
Iñaki Baz Castillo wrote: > El Domingo, 1 de Febrero de 2009, Alex Balashov escribió: > >>> Asterisk only replies 200 for an OPTIONS in case a INVITE with same RURI >>> would be allowed in that context and for that user. >>> >>> This is: if you send an OPTIONS with a RURI that would get a 404 in

Re: [OpenSIPS-Users] OpenSIPS 1.4 / Asterisk / Dispatcher / Probe / 4XX Error

2009-02-01 Thread Iñaki Baz Castillo
El Domingo, 1 de Febrero de 2009, Alex Balashov escribió: > > Asterisk only replies 200 for an OPTIONS in case a INVITE with same RURI > > would be allowed in that context and for that user. > > > > This is: if you send an OPTIONS with a RURI that would get a 404 in case > > of being an INVITE the

Re: [OpenSIPS-Users] OpenSIPS 1.4 / Asterisk / Dispatcher / Probe / 4XX Error

2009-02-01 Thread Alex Balashov
Iñaki Baz Castillo wrote: > El Domingo, 1 de Febrero de 2009, Alex Balashov escribió: >> It's very strange that Asterisk answers OPTIONS pings with a 4xx error, >> because OPTIONS is the method Asterisk uses to do its own availability >> pings -- that's what the "qualify=" setting for peers in sip.

Re: [OpenSIPS-Users] OpenSIPS 1.4 / Asterisk / Dispatcher / Probe / 4XX Error

2009-02-01 Thread Alex Balashov
Hi Geoff, It's very strange that Asterisk answers OPTIONS pings with a 4xx error, because OPTIONS is the method Asterisk uses to do its own availability pings -- that's what the "qualify=" setting for peers in sip.conf enables. What exactly is the 4xx error? Is it 403 Forbidden? Might it have

[OpenSIPS-Users] OpenSIPS 1.4 / Asterisk / Dispatcher / Probe / 4XX Error

2009-02-01 Thread Geoffrey Mina
Hello, I am hoping someone can point me in the right direction. I have configured my OpenSIPs server to load balance 10+ asterisk servers using the dispatcher module. To date I have not been able to implement the "probe" functionality because the OPTIONS and INFO methods both cause asterisk to re