[sr-dev] git:master:97f1909c: presence: add $subs pv for subscription access

Luis Azedo luis at 2600hz.com
Mon Mar 30 16:47:49 CEST 2015


Module: kamailio
Branch: master
Commit: 97f1909cc1bcb93d196067ce2171d9a5a9661328
URL: https://github.com/kamailio/kamailio/commit/97f1909cc1bcb93d196067ce2171d9a5a9661328

Author: Luis Azedo <luis at 2600hz.com>
Committer: Luis Azedo <luis at 2600hz.com>
Date: 2015-03-30T13:23:44+01:00

presence: add $subs pv for subscription access

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

---

Modified: modules/presence/doc/presence_admin.xml
Modified: modules/presence/presence.c
Modified: modules/presence/presence.h
Modified: modules/presence/subscribe.c

---

Diff:  https://github.com/kamailio/kamailio/commit/97f1909cc1bcb93d196067ce2171d9a5a9661328.diff
Patch: https://github.com/kamailio/kamailio/commit/97f1909cc1bcb93d196067ce2171d9a5a9661328.patch




More information about the sr-dev mailing list