[SR-Users] Presence: Notify on publication status refresh

Daniel-Constantin Mierla miconda at gmail.com
Thu Jan 21 15:53:43 CET 2016


Hello,

On 20/01/16 12:34, Aleš Šturm wrote:
>
> Hi all,
>
>  
>
>  
>
> I am using Kamailio 4.3 as Presence server and I have a question
> regarding NOTIFY messages sent after publication status refresh. When
> PUA sends refreshing PUBLISH request (before expiration) Kamailio
> sends NOTIFY request. Large number of watchers per one presentity
> causes large traffic.
>
>  
>
> RFC3265 states: NOTIFY messages are sent to inform subscribers of
> changes in state to  which the subscriber has a subscription.
>
>  
>
> But when publication is only refreshed (publication expiration is
> extended) the publish state is not changed (PUBLISH without XML body).
>
>  
>
> From RFC5839: The SIP PUBLISH [RFC3903] method uses a similar
> mechanism, where a refresh of a publication is done by reference to
> its assigned entity-tag, instead of retransmitting the event state
> each time the publication expiration is extended.
>
>  
>
> Is it possible to configure Kamailio that wouldn’t send NOTIFY request
> to watchers when publication status refresh (PUBLISH without XML Body)
> occur?
>

no NOTIFY should be sent? Or the NOTIFY in this case should be sent
without body, just with a new expire value and same etag?

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160121/ab52eb9c/attachment.html>


More information about the sr-users mailing list