Hi! Is there any possibility to set Expires in PUBLISH message to never in Presence module? I want to have BLF’s that indicates states, that driven via PUBLISH, but can be really irregular (let’s say once a week)
Igor Olhovskiy writes:
Is there any possibility to set Expires in PUBLISH message to never in Presence module? I want to have BLF’s that indicates states, that driven via PUBLISH, but can be really irregular (let’s say once a week)
at least in pua_publish, expires parameter can be set to a large value.
-- juha
Yes, but shouldn’t it override by modparam("presence", "max_expires", 3600)
2016-03-23 14:44 GMT+02:00 Juha Heinanen jh@tutpro.com:
Igor Olhovskiy writes:
Is there any possibility to set Expires in PUBLISH message to never in Presence module? I want to have BLF’s that indicates states, that driven via PUBLISH, but can be really irregular (let’s say once a week)
at least in pua_publish, expires parameter can be set to a large value.
-- juha
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hello,
you can change the expire value in the PUBLISH request, then do msg_apply_changes() before handling it with presence module function.
Cheers, Daniel
On 23/03/16 13:17, Igor Olhovskiy wrote:
Hi! Is there any possibility to set Expires in PUBLISH message to never in Presence module? I want to have BLF’s that indicates states, that driven via PUBLISH, but can be really irregular (let’s say once a week)
-- Best regards, Igor
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Thanks, will do!
2016-03-23 20:34 GMT+02:00 Daniel-Constantin Mierla miconda@gmail.com:
Hello,
you can change the expire value in the PUBLISH request, then do msg_apply_changes() before handling it with presence module function.
Cheers, Daniel
On 23/03/16 13:17, Igor Olhovskiy wrote:
Hi! Is there any possibility to set Expires in PUBLISH message to never in Presence module? I want to have BLF’s that indicates states, that driven via PUBLISH, but can be really irregular (let’s say once a week)
-- Best regards, Igor
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierlahttp://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users