[Kamailio-Devel] SF.net SVN: openser:[5315] trunk/modules/tm

Daniel-Constantin Mierla miconda at gmail.com
Mon Dec 8 11:57:25 CET 2008


Revision: 5315
          http://openser.svn.sourceforge.net/openser/?rev=5315&view=rev
Author:   miconda
Date:     2008-12-08 10:57:25 +0000 (Mon, 08 Dec 2008)

Log Message:
-----------
- two new pseudo-variables classes exported by TM module
1) $T_req(pv) - can be used in reply routes or inside the modules to get access to attributes of the request belonging to same transaction as the reply
2) $T_rpl(pv) - can be used in failure routes or inside the modules to get access to attributes of the winning reply belonging to same transaction as the request
- it works in safe mode by not altering the environment or the state of the request/reply referring to
- pv can be any pseudo-variable that is sip message specific, PVT_CONTEXT type being used to filter out - for these cases, the returned value is NULL
- example: in onreply_route: $T_req($ru) returns the R-URI of the request matching the reply currently processed

Modified Paths:
--------------
    trunk/modules/tm/tm.c

Added Paths:
-----------
    trunk/modules/tm/t_var.c
    trunk/modules/tm/t_var.h


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Devel mailing list