Re: [SR-Users] $rU isn't used in t_relay() in failure_route

2011-03-21 Thread Daniel-Constantin Mierla
Hello, for the question of this thread it is important to know the version of kamailio used. In older versions, append_branch was called on purpose upon changes in failure route, in latest one, changes to routing URIs will be detected and a new branch is created by t_relay(). I do not know

Re: [SR-Users] $rU isn't used in t_relay() in failure_route

2011-03-21 Thread Steven Wheeler
-router.org] On Behalf Of Klaus Darilion Sent: Friday, March 18, 2011 1:00 PM To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - UsersMailing List Cc: Steven Wheeler Subject: Re: [SR-Users] $rU isn't used in t_relay() in failure_route Am 16.03.2011 21:09, schrieb Steven Wheeler: $rd=$dd

[SR-Users] $rU isn't used in t_relay() in failure_route

2011-03-18 Thread Steven Wheeler
I am attempting to put together code which will allow us to redirect a call to a different tn if the route failed. Example: User dials 11235551234 Kamailio uses LCR to route to 192.168.0.100 (404 error) Change $rU to 1123555 in failure_route The only way I can get $rU to show up in the SIP

Re: [SR-Users] $rU isn't used in t_relay() in failure_route

2011-03-18 Thread Klaus Darilion
Am 16.03.2011 21:09, schrieb Steven Wheeler: $rd=$dd; $rp=$dp; $du=$ru; This one I do not understand. Also I do not see the code where you change $dU? Anyway, it seems that 2 branches are added: maybe one by lcr module internally via next_gw and one manually? You can try to change $dU