[asterisk-users] Responding to SIP OPTIONS

SIP sip at arcdiv.com
Tue May 8 07:57:06 MST 2007


Joshua Colp wrote:
> Alex Lake wrote:
>> I understand that it is customary for SIP User Agents to send OPTIONS 
>> packets every now and then to check that a peer is still alive and 
>> well. Indeed I understand that Asterisk itself sends them if qualify 
>> is set to yes in the peer configuration.
>>
>> How is one supposed to configure the dialplan so that Asterisk 
>> responds correctly to these requests?
>>
>> At the moment, I'm seeing "Looking for s in default" and then a "404 
>> Not Found" being returned - which can't be right.
>>
>> Thanks!
>> Alex Lake
>> DIGITAL MAIL LIMITED
>
> Handling of OPTIONS in Asterisk has changed a little bit through 
> chan_sip versions... but for the most part the other side usually just 
> wants you to respond with something/anything. Is the other side 
> unhappy with the 404 Not Found?
>
> Joshua Colp
> Software Developer
> Digium, Inc.
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
In general, a 4XX reply to a successful request is NEVER considered good 
form.

N.


More information about the asterisk-users mailing list