[sr-dev] default config: do loose_route() for in-dialog NOTIFY as per new RFC 6665

Juha Heinanen jh at tutpro.com
Fri Aug 17 12:19:55 CEST 2012


Iñaki Baz Castillo writes:

> Therefore, an UAC compliant with RFC 6665 will ignore the Record-Route
> headers in the SUBSCRIBE 200 and will wait for the first NOTIFY to get
> the Record-Route headers and set them as the route set of the dialog.
> If such a NOTIFY does not contain RR then the UAC will fail to create
> the route set and the next re-SUBSCRIBE will miss them.
> 
> So in short: every proxy in the path of a subscription MUST add RR to
> in-dialog NOTIFY requests, and thus Kamailio default script file
> should perform record_route() for in-dialog NOTIFY requests.

inaki,

your summary is not correct.  it is enough to add rr header to the FIRST
notify after dialog creating subscribe.

would it be difficult for kamailio presence server to somehow (in a
header) indicate that the notify is the first one?

-- juha



More information about the sr-dev mailing list