[sr-dev] new pv for presence subscriptions
Daniel-Constantin Mierla
miconda at gmail.com
Mon Mar 23 14:54:00 CET 2015
Hello,
it is ok, but I would go to create a new class of variables, because
more can be needed in the future from presence details.
I think you can go for $pres(uri) for this case, which will allow other
$pres(xyz) in the future.
Cheers,
Daniel
On 23/03/15 13:26, Luis Azedo wrote:
> Hi,
>
> we would like to add a new pv $presentity (or better name) to be set
> on presence handle_subscribe.
>
> the reason for this is that we need the presentity of the subscription
> to carry on further tasks in the script and the To header not always
> carries the right information on re-subscriptions.
>
> handle_subscribe will take the presentity from Request-URI if no
> to-tag is sent or it will take it from hash/db if to-tag is present.
>
> is that ok to proceed with implementation ?
>
> Best
>
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150323/267cde93/attachment.html>
More information about the sr-dev
mailing list