[SR-Users] options_reply()

Alex Balashov abalashov at evaristesys.com
Thu Aug 22 10:07:52 CEST 2013


Hello,

The options_reply() function does not answer OPTIONS pings that contain 
a username in the request URI.  To its credit, the documentation does 
say that, too:

    http://kamailio.org/docs/modules/4.0.x/modules/siputils.html#idp131056

The question is: why not?  I do not see anything in RFC 3261 Section 
11.1 ("Construction of an OPTIONS Request") that seems to rule out an 
OPTIONS request with a user part:

    http://tools.ietf.org/html/rfc3261#section-11.1

Quite a few UAs out there, including, notably, Metaswitch, do send user 
parts in the OPTIONS RURI.  To deal with them, I am forced to simply

    sl_send_reply("200", "OK");

instead of using options_reply().

What is the underlying theory?

Thanks,

-- Alex

-- 
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