<p>after handle_subscribe there is no safe way in script to obtain the presently<br>
because re-subscription RURI is ip of kamailio and To-Uri may not contain<br>
the presently.</p>
<p>$subs(uri) will allow access to this value</p>
<p>added as a pv to allow extension to get more properties from subscription</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/kamailio/kamailio/pull/118'>https://github.com/kamailio/kamailio/pull/118</a></p>
<h4>Commit Summary</h4>
<ul>
<li>presence: add $subs pv for subscription access</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/kamailio/kamailio/pull/118/files#diff-0">modules/presence/doc/presence_admin.xml</a>
(34)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/kamailio/kamailio/pull/118/files#diff-1">modules/presence/presence.c</a>
(7)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/kamailio/kamailio/pull/118/files#diff-2">modules/presence/presence.h</a>
(3)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/kamailio/kamailio/pull/118/files#diff-3">modules/presence/subscribe.c</a>
(51)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/kamailio/kamailio/pull/118.patch'>https://github.com/kamailio/kamailio/pull/118.patch</a></li>
<li><a href='https://github.com/kamailio/kamailio/pull/118.diff'>https://github.com/kamailio/kamailio/pull/118.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/pull/118">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36Zf0bCIiENO90SM-GpVqZIZjiX1Dcks5n6Tf8gaJpZM4D3BBk.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/kamailio/kamailio/pull/118"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>