[Devel] tm patch

Juha Heinanen jh at tutpro.com
Wed Apr 26 17:43:01 CEST 2006


while testing new sems, i found a problem with tm module sending to sems
the original, instead of rewritten uri on line 7 of socket interface.

this was fixed today in ser:

Index: modules/tm/t_fifo.c
===================================================================
RCS file: /cvsroot/ser/sip_router/modules/tm/t_fifo.c,v
retrieving revision 1.29
diff -u -r1.29 t_fifo.c
--- modules/tm/t_fifo.c	7 Jan 2006 21:28:50 -0000	1.29
+++ modules/tm/t_fifo.c	26 Apr 2006 15:16:56 -0000
@@ -868,7 +868,7 @@
 			empty_param : msg->rcv.bind_address->port_no_str); /* port */
 
 	/* r_uri ('Contact:' for next requests) */
-	eol_line(7,msg->first_line.u.request.uri);
+	eol_line(7,*GET_RURI(msg));
 
 	/* r_uri for subsequent requests */
 	eol_line(8,str_uri.len?str_uri:empty_param);

could bogdan or someone responsible of openser tm module, please commit
the corresponding fix for openser tm module.

-- juha



More information about the Devel mailing list