dirty (very dirty) hack: use the last branch to loop the request to Kamailio again, then you can start from the beginning :-)
regards Klaus
PS: I would increase max_branches before using such a dirty hack.
On 03.07.2011 14:01, Klaus Feichtinger wrote:
Hi,
I have a problem in my scenario where I use the dispatcher module for (round-robin based) distribution of incoming calls to 15 (!) different gateways. In idle case (= all gateways are up and running or just a couple of them does not accept calls) my solution is working fine. The solution is very primitive and based on the example of the dispatcher module's ReadMe. However, when e.g. 12 of 15 gateways are out of service (in detail: rejecting the call with "480 - Temporarily Unavailable") and only the 13th would be okay, I can not reach that gateway. This is because the TM module is interrupting the distribution with an error message indicating that the maximum number of branches (per transaction) is reached (ERROR:/tm/:/add_uac/: /maximum number of branches/ exceeded)....
My first idea for solving this problem was/is in manipulating the definition of the "max_branches" constant in the config.h file. However, I prefer using the precompiled Debian packages. Therefore that solution is not optimal. I have not found a method for decreasing the destination_set on an easy way... Does anybody know an alternative solution / workaround?
Thanks in advance, Klaus
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users