[SR-Users] Branches Routes

Nicolas Breuer Nicolas.Breuer at belcenter.biz
Sun Feb 17 11:00:31 CET 2019


Hi Ludovic,

Version of Kamailio is 5.1.7
Maybe with these few lines it can help ?


route[Out] {
## If first time in this route, go to first destination.

         $ru=$ru;
        route(RELAY);

}



failure_route[MANAGE_FAILURE] {
 if (t_branch_timeout () ){
                # Failure with that ID -> ID+1;
                route(Out);
                }
}


branch_route[MANAGE_BRANCH] {

###Get the IP-Address based on the ID of the next-hop and send the SIP message
$ru = "sip:" + $rU + "@" + $var(IpAddress) + ":5060";

}


De : sr-users <sr-users-bounces at lists.kamailio.org> De la part de Ludovic Gasc Lemaire
Envoyé : samedi 16 février 2019 23:35
À : Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Objet : Re: [SR-Users] Branches Routes

Hi Nicolas,

What is the version of Kamailio you are using ?
Could you show us a piece of code to understand what are you doing ?

Kind regards.
--
Ludovic Gasc Lemaire (GMLudo)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190217/37c6ab60/attachment.html>


More information about the sr-users mailing list