<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Are you getting the error first time when you reach first 1900
      sessions? Or after a while, after some previous sessions are
      ended?<br>
    </p>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 14/11/16 11:19, Gholamreza Sabery
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAJx6kgXRJgm6u=W26F-8g0T3Vtvmv3Ar5Vd30M5BbHyQeheHDg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>I already set these parameters:<br>
            <br>
          </div>
          rtpproxy -m 5000 -M 65000<br>
          <br>
        </div>
        As well limits for number of open files are set to 1000000
        (ulimit -n). When I increased log level of RTPProxy I saw:<br>
        ERR:create_twinlistener:GENERAL: can't create IPv4 socket: Too
        many open files in system<br>
        <br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, Nov 14, 2016 at 1:46 PM,
          Daniel-Constantin Mierla <span dir="ltr"><<a
              moz-do-not-send="true" href="mailto:miconda@gmail.com"
              target="_blank">miconda@gmail.com</a>></span> wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <p>Hello,</p>
              <p>first thing to look at is the port range. There are
                some parameter that you can provide to rtpproxy in
                command line in order to increase the range of port it
                can use -- see 'rtpproxy -h' or 'man rtpproxy'.</p>
              <p>Cheers,<br>
                Daniel<br>
              </p>
              <div>
                <div class="h5"> <br>
                  <div class="m_-1121791008997998940moz-cite-prefix">On
                    14/11/16 11:14, Gholamreza Sabery wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>Dear Daniel:<br>
                        <br>
                      </div>
                      I used a single RTPProxy instance. RTPProxy
                      version = 20040107. And yes there was traffic for
                      all calls but traffic is one-way. One leg sends
                      the call and the other just receives it.<br>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Mon, Nov 14, 2016 at
                        1:40 PM, Daniel-Constantin Mierla <span
                          dir="ltr"><<a moz-do-not-send="true"
                            href="mailto:miconda@gmail.com"
                            target="_blank">miconda@gmail.com</a>></span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div bgcolor="#FFFFFF" text="#000000">
                            <p>Hello,</p>
                            <p>have you used a single rtpproxy instance?
                              Was there RTP traffic for all 1900 calls?
                              Is this with rtpproxy 1.2 or 2.0?</p>
                            <p>Cheers,<br>
                              Daniel<br>
                            </p>
                            <div>
                              <div class="m_-1121791008997998940h5"> <br>
                                <div
                                  class="m_-1121791008997998940m_6695360292306438050moz-cite-prefix">On
                                  14/11/16 10:44, Gholamreza Sabery
                                  wrote:<br>
                                </div>
                              </div>
                            </div>
                            <blockquote type="cite">
                              <div>
                                <div class="m_-1121791008997998940h5">
                                  <div dir="ltr">I managed to create
                                    about 1900 concurrent calls using a
                                    single Kamailio and RTPProxy server.
                                    But after this number RTPProxy
                                    returns 0 and the following error is
                                    shown in the Kamailio log files:<br>
                                    <br>
                                    <pre style="white-space:pre-wrap;color:rgb(0,0,0);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px">incorrect port 0 in reply from rtp proxy
<span style="font-family:arial,helvetica,sans-serif">
</span></pre>
                                    <pre style="white-space:pre-wrap;color:rgb(0,0,0);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px"><span style="font-family:arial,helvetica,sans-serif">What is the problem here? Also number of file descriptors that RTPProxy can use are set to a million.</span></pre>
                                    <br>
                                  </div>
                                  <br>
                                  <fieldset
                                    class="m_-1121791008997998940m_6695360292306438050mimeAttachmentHeader"></fieldset>
                                  <br>
                                </div>
                              </div>
                              <pre>______________________________<wbr>_________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="m_-1121791008997998940m_6695360292306438050moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" class="m_-1121791008997998940m_6695360292306438050moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cg<wbr>i-bin/mailman/listinfo/sr-user<wbr>s</a><span class="m_-1121791008997998940HOEnZb"><font color="#888888">
</font></span></pre><span class="m_-1121791008997998940HOEnZb"><font color="#888888">
    </font></span></blockquote><span class="m_-1121791008997998940HOEnZb"><font color="#888888">
    

    <pre class="m_-1121791008997998940m_6695360292306438050moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a moz-do-not-send="true" class="m_-1121791008997998940m_6695360292306438050moz-txt-link-freetext" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="m_-1121791008997998940m_6695360292306438050moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/mic<wbr>onda</a>
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - <a moz-do-not-send="true" class="m_-1121791008997998940m_6695360292306438050moz-txt-link-freetext" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
  </font></span></div>


______________________________<wbr>_________________

SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list

<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>

<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cg<wbr>i-bin/mailman/listinfo/sr-user<wbr>s</a>


</blockquote></div>
</div>



</blockquote>
<pre class="m_-1121791008997998940moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a moz-do-not-send="true" class="m_-1121791008997998940moz-txt-link-freetext" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="m_-1121791008997998940moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/<wbr>miconda</a>
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - <a moz-do-not-send="true" class="m_-1121791008997998940moz-txt-link-freetext" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre></div></div></div></blockquote></div>
</div>



</blockquote>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre></body></html>