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 <[email protected]> De la part de Ludovic Gasc 
Lemaire
Envoyé : samedi 16 février 2019 23:35
À : Kamailio (SER) - Users Mailing List <[email protected]>
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)

_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to