[SR-Users] Using $avp in evapi:message-received

Alex Balashov abalashov at evaristesys.com
Mon May 25 12:35:05 CEST 2015


Daniel,

On 05/25/2015 06:32 AM, Daniel-Constantin Mierla wrote:

> yes, it is safe to use $var(x) to pass values between the block
> calling t_continue() and the route executed by t_continue().

Why is that, when the scope of $var() variables is, as I understand it, 
maintained only by a given SIP receiver thread?

Regardless, is this true only when async task workers are used, or is 
this also true with other mechanisms, like resuming suspended 
transactions in rtimer threads?

-- 
Alex Balashov | Principal | Evariste Systems LLC
303 Perimeter Center North, Suite 300
Atlanta, GA 30346
United States

Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/




More information about the sr-users mailing list