[SR-Users] avp's are not available on default onreply_route ?

Alex Balashov abalashov at evaristesys.com
Mon Feb 22 21:25:40 CET 2016


Uri,

AVPs are associated with particular transactions, and that context is 
visible only in an onreply_route that is specifically armed when that 
transaction is created (i.e. via t_relay()):

    t_on_reply("MY_REPLY_ROUTE");

The default onreply_route processes replies statelessly -- that's why 
it's the default onreply_route, when no other will do. It doesn't have 
access to any of the attributes of any given TM transaction, including AVPs.

-- Alex

-- 
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