Hello @all,
maybe you could help me to understand the behaviour of avps in onreply_routes.

I have to configs:
a)
modparam("tm", "onreply_avp_mode", 1)
route {
        $avp(aa) = 1;
        t_relay();
}

onreply_route {
        xlog("$avp(aa)\n");  # avp NOT set!
}

b)
modparam("tm", "onreply_avp_mode", 1)
route {
        t_on_reply("1");
        $avp(aa) = 1;
        t_relay()
}

onreply_route[1] {
        xlog("$avp(aa)\n"); # avp set!
}

The second one works, but not the first one, which should be the same and i don't get why.

( Talking about Opensips 2.4.x )

Thanks!

Fabian

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to