<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
what version of kamailio are you running?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<br>
On 12/2/09 5:27 PM, alex pappas wrote:
<blockquote
 cite="mid:88b5e74c0912020827i48bfb4b9r779f621af6aaa423@mail.gmail.com"
 type="cite">Hi again,<br>
  <br>
By changing the parameters T1 and T2 in the TM module I managed to have
almost the half branches than before BUT still I get the same Error and
I try to send the call on gateway N.<br>
  <br>
modparam("tm", "T2_timer", 2000)<br>
modparam("tm", "T1_timer", 1000)<br>
  <br>
  <br>
Thanks<br>
  <br>
Alex<br>
  <br>
  <br>
  <br>
  <div class="gmail_quote">On Wed, Dec 2, 2009 at 6:10 PM, alex pappas <span
 dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:rebel.pappas@gmail.com">rebel.pappas@gmail.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello
there,<br>
    <br>
I'm using dispatcher to serial fork a call through many gateways. <br>
For a call to number 2XXXXXXXXX , first a try to connect through
gateways A,B,C after that D,F , after that E,R , after that M,N and
finally after those K,L.<br>
    <br>
When the call is trying gateway N then I'm getting the
ERROR:tm:add_uac: maximum number of branches exceeded.<br>
    <br>
I found on internet that I'm exceeding the MAX_BRANCHES:<br>
    <br style="font-family: arial,helvetica,sans-serif;">
    <pre style="font-family: arial,helvetica,sans-serif;"><font
 style="font-family: tahoma,sans-serif;" size="2">branch=t-&gt;nr_of_outgoings;
        if (branch==MAX_BRANCHES) {
                LOG(L_ERR, "ERROR:tm:add_uac: maximum number of branches exceeded\n");


                ret=E_CFG;
                goto error;
        }