[sr-dev] [kamailio] presence: add $subs pv for subscription access (#118)

lazedo notifications at github.com
Mon Mar 30 14:24:28 CEST 2015


after handle_subscribe there is no safe way in script to obtain the presently
because re-subscription RURI is ip of kamailio and To-Uri may not contain
the presently.

$subs(uri) will allow access to this value

added as a pv to allow extension to get more properties from subscription
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/118

-- Commit Summary --

  * presence: add $subs pv for subscription access

-- File Changes --

    M modules/presence/doc/presence_admin.xml (34)
    M modules/presence/presence.c (7)
    M modules/presence/presence.h (3)
    M modules/presence/subscribe.c (51)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/118.patch
https://github.com/kamailio/kamailio/pull/118.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/118
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150330/e130a7b3/attachment.html>


More information about the sr-dev mailing list