[sr-dev] active_watchers flags field

Daniel-Constantin Mierla miconda at gmail.com
Fri Feb 5 20:38:18 CET 2016


It should keep the branch flags at the time of handling the subscribe -
that was the plan discussed with Luis, not sure it was here on sr-dev or
irc channel.

Cheers,
Daniel

On 04/02/16 04:34, Juha Heinanen wrote:
> I noticed that active_watchers table now has a new flags field.  The only
> reference I found to it in README is this:
>
> 7.1. $subs(attr)
>
>    Access the attributes of handled subscription. It must be used after a
>    successful call of “handle_subscription()” or in the following events.
>      * tm:local-request - before notify is sent
>      * present:notify-reply - after notify is sent
>
>    The “attr” can be:
>      ...
>      * flags
>
> When I call handle_subscribe, how can I set the flags field?
>
> -- Juha
>
> Ps. There is a typo in above README text.  The name of the function is
> handle_subscribe.
>
>
> _______________________________________________
> 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
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu




More information about the sr-dev mailing list