[SR-Users] options_reply()
Olle E. Johansson
oej at edvina.net
Thu Aug 22 10:38:02 CEST 2013
22 aug 2013 kl. 10:37 skrev Alex Balashov <abalashov at evaristesys.com>:
> 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...
The Asterisk answer depends on your dialplan :-)
/O
More information about the sr-users
mailing list