[SR-Users] Replace header value in failure_route

Grant Bagdasarian GB at cm.nl
Thu Oct 3 10:14:51 CEST 2013


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 at lists.sip-router.org [mailto:sr-users-bounces at 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 at cm.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



More information about the sr-users mailing list