Hello,

On 8/1/11 5:57 PM, Alex Hermann wrote:
Hello,


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.


Cheers,
Daniel



This is a change from 1.5 i could not find documentation for, so it might have
been unintened.

Can someone enlighten me on the purpose of this change and if there is a way
to determine if $du is (was) unset other than comparing $ru to $du, wich seems
a bit inefficient?

Is it even guaranteed that $du gets set to $ru in every possible scenario?

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