[Kamailio-Users] $du has no effect in failure route

Juha Heinanen jh at tutpro.com
Thu Nov 6 15:33:35 CET 2008


i have in failure route:

    t_on_branch("0");
    $du = "sip:127.0.0.1:5070";
    xlog("L_INFO", "Pseudo variable du has value <$du>\n");
    t_relay("0x01");

and i get to syslog:

Nov  6 16:33:15 test /usr/sbin/kamailio[22539]: Pseudo variable du has value <sip:127.0.0.1:5070>

but wireshark shows that the invite is sent according to uri host of the
branch added in failure route and not to 127.0.0.1:5070.

is this a bug or is it so that $du is not supposed to have any effect in
failure route?

-- juha




More information about the Users mailing list