it seems your rtp.conf settings is incorrect plese list your settingd here<br><br>regards<br>Dhaval<br><br><div class="gmail_quote">On Tue, May 19, 2009 at 1:01 AM, Ankit Agarwal <span dir="ltr">&lt;<a href="mailto:ankit.agarwal@coraltele.com">ankit.agarwal@coraltele.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>
Hello,<br>
<br>
I m using asterisk version 1.6.2.0 beta.<br>
<br>
I m trying to test load on it, for which i m using WINSIP installed at two computers and facing two problems.<br>
<br>
<u>Problem 1:</u><br>
<br>
I got 100 users registered to asterisk from each winsip and then initiates 100 calls from one winsip  other winsip.<br>
<br>
But the problem is approx of 60 calls get mature and asterisk give error for the remaining like shown below. <br>
<br>
<br>
<blockquote type="CITE">
<pre>May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
[May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
[May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
[May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
[May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
[May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
[May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] WARNING[8315]: pbx_spool.c:472 scan_thread: Unable to open directory /var/spool/asterisk/outgoing: Too many open files
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
[May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
[May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
[May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
[May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
[May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
[May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
[May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files

</pre>
</blockquote>
<pre><u>Problem 2:</u>

Then i tried 10 calls in repeating fashion means 10 calls will mature and then will be disconnected and send the calls again.

in this scenario originating side seams to be functioning right but asterisk fails to send disconnect to receiving end.



Thanks &amp; Regards
Ankit Agarwal



</pre>
</div>

<br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>