[OpenSIPS-Devel] SF.net SVN: opensips:[6105] trunk/modules/tm

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Sep 10 10:47:18 CEST 2009


Revision: 6105
          http://opensips.svn.sourceforge.net/opensips/?rev=6105&view=rev
Author:   bogdan_iancu
Date:     2009-09-10 08:47:18 +0000 (Thu, 10 Sep 2009)

Log Message:
-----------
- enhanced the t_on_reply() behaviour: two kinds of on-reply route can be set:
   1) global - on on-reply route for the entire transaction (the previous behaviour)
   2) per-branch - if called from branch route, the reply route is only armed  for that particular branch; each branch can have a different on-reply branch


- fixed $T_branch_idx returned value - in branch route, the index was from 1 to n, while in reply route from 0 to n-1
  Changes:
	-  $T_branch_idx rturned in both branch and reply route values from 0 to n-1
	- in other routes, it returns NULL value
	- documented the usage of  $T_branch_idx in onreply route.
  Credits for pointing this out go to Thomas Gelf

Modified Paths:
--------------
    trunk/modules/tm/README
    trunk/modules/tm/doc/tm_admin.xml
    trunk/modules/tm/h_table.h
    trunk/modules/tm/t_fwd.c
    trunk/modules/tm/t_reply.c
    trunk/modules/tm/tm.c


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