Thank you for the explanation.
I fixed my problem, by setting the t_on_branch in request route and in failure_route. So
the branch route is executed for both routes.
-----Original Message-----
From: sr-users-bounces(a)lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org]
On Behalf Of Olle E. Johansson
Sent: Thursday, October 3, 2013 9:44 AM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Replace header value in failure_route
3 okt 2013 kl. 09:38 skrev Grant Bagdasarian <GB(a)cm.nl>nl>:
Could someone explain to me what the branch_routes are used for? Does it have to do with
forking?
Branch routes are executed after you've relayed with tm, like tm_relay() and before we
send out on the network, once per branch. The request route is executed once for an
incoming message. If that message forks to two destinations, you will get two branches and
thus branch_route is executed once per outbound message.
/O