On 8/1/11 7:23 PM, Alex Hermann wrote:
On Monday 01 August 2011 19:00:36 Daniel-Constantin Mierla wrote:
while trying to upgrade from 1.5 to 3.1 i noticed that between t_relay()
and branch_route, $du gets automatically set to $ru if it has not been
set before.
have you spotted the code that does it? It should not happen like that,
I see no reason for it, but it would be good to review it. Pointing in
the sources will save some time of blind search here.
I think it is in t_fwd.c : prepare_new_uac() around line 294
thanks, indeed seems to be the case of setting $du to next hop, which is $ru if $du was not set before. I will prepare a patch and maybe you can help testing it.

Cheers,
Daniel

--
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Oct 10-13, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to