Re: [SR-Users] Implicit branch creation and private variables questions - (Second Post)

2020-01-24 Thread George Diamantopoulos
To anyone reading this in the future: Point 2 in my original post is completely misleading: > If there are two destinations in the destination group for first_provider, > and the first one fails, then the second destination will be tried out in > tm:branch-failure:DISPATCH_FIRST_PROV_FAILOVER.

Re: [SR-Users] Implicit branch creation and private variables questions - (Second Post)

2020-01-22 Thread George Diamantopoulos
Hello Daniel, Thanks for the input. That clears it up. @Ben Merrills: Glad to hear my rants are useful to other people as well :-). Branches are indeed among the more complicated concepts in kamailio scripting. I've always found resources that explain how things work much more useful than

Re: [SR-Users] Implicit branch creation and private variables questions - (Second Post)

2020-01-22 Thread Daniel-Constantin Mierla
Hello, a new branch is created every time a request is sent out to a new destination or resent to same destination after additional processing in a failure route. append_branch() should not be needed, unless you want to create more branches for parallel forking. Updating $ru or $du and doing