[asterisk-dev] Qualify OPTIONS messages

Joshua Colp jcolp at digium.com
Tue Aug 15 08:49:52 MST 2006


----- Jon Schøpzinsky <jos at detele.dk> wrote:
> Hello
>  
> Ive been playing around with clustering using DUNDi, and found a
> problem with the way chan_sip handles the response to its qualify
> OPTION messages.
> If a negative response is received, such as 403, it still markes the
> sip peer as being alive, which is quite a problem when using
> ChanIsAvail.

OPTIONS is not for determining whether the device is capable of accepting a call on that level, it is to determine whether the device is actually there and capable of receiving SIP packets. Due to the fact that it received a 403 back, the device is indeed there and capable of receiving/processing SIP packets. If we turned this into the way you want, we might even hurt things as depending on the SIP stack they can respond with different things.
  
>  
> Med venlig hilsen
> 

Joshua Colp
Digium



More information about the asterisk-dev mailing list