[SR-Users] options_reply()

Alex Balashov abalashov at evaristesys.com
Thu Aug 22 10:37:04 CEST 2013


On 08/22/2013 04:34 AM, Olle E. Johansson wrote:
>
> 22 aug 2013 kl. 10:27 skrev Alex Balashov <abalashov at evaristesys.com>:
>
>> On 08/22/2013 04:25 AM, Olle E. Johansson wrote:
>>
>>> Guessing that a URI with a user name should be forwarded to that
>>> address. URIs pointing to the domain of the server should be
>>> responded by the server.
>>
>> Yes, but shouldn't sip:user at proxy_ip and sip:proxy_ip both be serviced by the server?
>
> If it's to an IP address I would answer 404 Not Found to both, SIP is domain based :-)
>
> user at ip is propably a 404, but yes, if a UA use this for keepalive we should propably
> answer - but in that case you don't really need a full options answer, just any
> 200 Ok will do. Or?

Sure, which is why the stateless 200 OK solution works.

But it seems to me that options_reply() ought to answer with a 404 Not 
Found;  it's what other UASs (like Asterisk) do...

-- 
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/



More information about the sr-users mailing list