Hi Daniel,<br><br>these are the data:<br><br>Server:: Kamailio (<b>1.5.3-notls</b> (x86_64/linux))<br>Build:: mi/mi_core.c compiled on 20:05:04 Nov 15 2009 with gcc 4.3.2<br>Flags:: STATISTICS, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>
SVN:: 2:5954M<br>Now:: Wed Dec  2 18:41:37 2009<br>Up since:: Wed Dec  2 18:32:13 2009<br>Up time:: 564 [sec]<br><br><br>Alex<br><br><br><br><br><div class="gmail_quote">On Wed, Dec 2, 2009 at 6:36 PM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@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;">


  

<div bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
what version of kamailio are you running?<br>
<br>
Cheers,<br>
Daniel<div><div></div><div class="h5"><br>
<br>
<br>
On 12/2/09 5:27 PM, alex pappas wrote:
</div></div><blockquote type="cite"><div><div></div><div class="h5">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(&quot;tm&quot;, &quot;T2_timer&quot;, 2000)<br>
modparam(&quot;tm&quot;, &quot;T1_timer&quot;, 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 href="mailto:rebel.pappas@gmail.com" target="_blank">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&#39;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&#39;m getting the
ERROR:tm:add_uac: maximum number of branches exceeded.<br>
    <br>
I found on internet that I&#39;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, &quot;ERROR:tm:add_uac: maximum number of branches exceeded\n&quot;);


                ret=E_CFG;
                goto error;
        }