<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] [CRIT] sofia_glue.c:1083 No RTP ports available!</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
Hey Tony,<BR>
<BR>
Thanks for fixing this...<BR>
<BR>
However, Everyone else, Open the freaking Jira, it doesn&#8217;t take that long... Or take the 2 minutes to search jira to see if theres an existing ticket for your problem, and if you have more information add it... <BR>
<BR>
Why? It saves Developers like Tony time in tracking down the issue and getting you a fix... As much as I hate to say it, there could come a time where No Jira ticket == Its not really a problem...<BR>
<BR>
You think tony hasn&#8217;t spent a crazy amount of time on FreeSWITCH? Lets do a little math... 50 weeks a year (he&#8217;s supposed to get 2 weeks of holiday a year right?) and I know he works at least 40 hours a week on FreeSWITCH so that&#8217;s 2000 hours a Year, then factor in that he has been working on it since atleast 2006... So that&#8217;s 12000 he has spent working on FreeSWITCH. And that&#8217;s at the low end of the estimate... Ohloh.net estimates something like $40million dollars worth of developer time has gone into FreeSWITCH ( <a href="http://www.ohloh.net/p/freeswitch/estimated_cost">http://www.ohloh.net/p/freeswitch/estimated_cost</a> ) most of which is the developers doing their part for the love of the project (ie: not getting paid a dime)... So come on people... Just a little help... That&#8217;s all we are asking for here....<BR>
<BR>
<BR>
&nbsp;<BR>
<BR>
<BR>
<BR>
On 7/23/12 11:37 AM, &quot;Anthony Minessale&quot; &lt;<a href="anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>commit 524468be7ba5ee0887d2e975e4f131171c601a54<BR>
Author: Anthony Minessale &lt;<a href="anthm@freeswitch.org">anthm@freeswitch.org</a>&gt;<BR>
Date:   Mon Jul 23 11:36:19 2012 -0500<BR>
<BR>
    FS-4373 --resolve this is probably the same issue nobody would file a bug about on the mailing list even after I begged them to from last weekend<BR>
<BR>
<BR>
please please stop filing bugs on the mailing list.  I will still work on them and try to fix them but you are making me do way more work.<BR>
Unless everyone wants to pay for support I cannot keep this up.<BR>
<BR>
<BR>
On Mon, Jul 23, 2012 at 8:17 AM, Adam Kelloway &lt;<a href="adam.kelloway@newpace.ca">adam.kelloway@newpace.ca</a>&gt; wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'> &nbsp;&nbsp;&nbsp;<BR>
&nbsp;I have recently experienced this exact behavior. There doesn't need to be any active calls. It does seem related to the fact that an outbound call was previously made through google voice. A restart also resolves the issue for me as well.<BR>
&nbsp;<BR>
&nbsp;If there is already a JIRA ticket for this, can someone post the link? I can try and help by providing more testing details.<BR>
<BR>
&nbsp;<BR>
&nbsp;<BR>
On 23/07/2012 9:17 AM, Brian Foster wrote:<BR>
&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'> <BR>
<BR>
Remember each call is 2 rtp ports.<BR>
&nbsp;<BR>
<BR>
Brian Foster<BR>
&nbsp;Endigo Computer LLC<BR>
&nbsp;<BR>
<BR>
Sent from a mobile device.<BR>
&nbsp;<BR>
On Jul 23, 2012 2:28 AM, &quot;Chris Mylonas&quot; &lt;<a href="chris@opencsta.org">chris@opencsta.org</a>&gt; wrote:<BR>
&nbsp;<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'> Sorry to but in,<BR>
&nbsp;<BR>
&nbsp;How many RTP ports have you got configured?<BR>
&nbsp;<BR>
&nbsp;If you only have a range of 5 and you have 5 concurrent calls, then no more RTP ports will be available.<BR>
&nbsp;Doing a `netstat -anp | grep -i udp` should show what ports are open (on linux)<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;On 23/07/2012, at 4:12 PM, curriegrad2004 wrote:<BR>
&nbsp;<BR>
&nbsp;&gt; Tony,<BR>
&nbsp;&gt;<BR>
&nbsp;&gt; What can cause this error to happen really? Does FS allow re-use of<BR>
&nbsp;&gt; RTP ports at all given if the media isn't going to the same<BR>
&nbsp;&gt; destination, or doesn't the SDP header define some kind of session<BR>
&nbsp;&gt; tracking mechnaism so ports can be reused?<BR>
&nbsp;&gt;<BR>
&nbsp;&gt; On Sun, Jul 22, 2012 at 11:58 AM, Anthony Minessale<BR>
&nbsp;&gt; &lt;<a href="anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt; wrote:<BR>
&nbsp;&gt;&gt; Jira Jira jira<BR>
&nbsp;&gt;&gt;<BR>
&nbsp;&gt;&gt; On Jul 22, 2012 12:41 PM, &quot;Phil Quesinberry&quot; &lt;<a href="philq@qsystemsengineering.com">philq@qsystemsengineering.com</a>&gt;<BR>
&nbsp;&gt;&gt; wrote:<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; Recently through several of the latest git pulls, FS stops routing calls<BR>
&nbsp;&gt;&gt;&gt; with the following error, usually within a few minutes of making a call<BR>
&nbsp;&gt;&gt;&gt; through Google Voice, not sure if receiving a call through GV will cause the<BR>
&nbsp;&gt;&gt;&gt; problem yet:<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; sofia_glue.c:1083 No RTP ports available!<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; Restarting FS fixes the problem.<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; Before I file the requisite Jira, is anyone aware of this problem or a<BR>
&nbsp;&gt;&gt;&gt; potential configuration issue that might not be compatible with the newer<BR>
&nbsp;&gt;&gt;&gt; builds of FS?  This wasn&#8217;t happening until the last week or two.<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; Current version we&#8217;re running is:  FreeSWITCH Version<BR>
&nbsp;&gt;&gt;&gt; 1.2.0-rc2+git~20120719T223942Z~42f296de9b+unclean~20120719T235346Z<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; Here&#8217;s a quick snip from the console when attempting to dial out to show<BR>
&nbsp;&gt;&gt;&gt; the context of the error:<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; 2012-07-22 12:57:46.706132 [DEBUG] sofia_glue.c:3948 Looking for zrtp-hash<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; 2012-07-22 12:57:46.706132 [DEBUG] sofia_glue.c:3926 Deciding whether to<BR>
&nbsp;&gt;&gt;&gt; pass zrtp-hash between legs<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; 2012-07-22 12:57:46.706132 [DEBUG] sofia_glue.c:3928 CF_ZRTP_PASSTHRU_REQ<BR>
&nbsp;&gt;&gt;&gt; not set, so not propagating zrtp-hash<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; 2012-07-22 12:57:46.706132 [DEBUG] sofia_glue.c:5041 Audio Codec Compare<BR>
&nbsp;&gt;&gt;&gt; [PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; 2012-07-22 12:57:46.706132 [DEBUG] sofia_glue.c:3027 Set Codec<BR>
&nbsp;&gt;&gt;&gt; <a href="sofia/internal/102@192.168.1.6:5060">sofia/internal/102@192.168.1.6:5060</a> &lt;<a href="http://102@192.168.1.6:5060">http://102@192.168.1.6:5060</a>&gt; &nbsp;PCMU/8000 20 ms 160 samples 64000 bits<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; 2012-07-22 12:57:46.706132 [DEBUG] switch_core_codec.c:111<BR>
&nbsp;&gt;&gt;&gt; <a href="sofia/internal/102@192.168.1.6:5060">sofia/internal/102@192.168.1.6:5060</a> &lt;<a href="http://102@192.168.1.6:5060">http://102@192.168.1.6:5060</a>&gt; &nbsp;Original read codec set to PCMU:0<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; 2012-07-22 12:57:46.706132 [DEBUG] sofia_glue.c:5173 No 2833 in SDP.<BR>
&nbsp;&gt;&gt;&gt; Disable 2833 dtmf and switch to INFO<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; 2012-07-22 12:57:46.706132 [CRIT] sofia_glue.c:1083 No RTP ports<BR>
&nbsp;&gt;&gt;&gt; available!<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; 2012-07-22 12:57:46.706132 [DEBUG] switch_core_session.c:778 Send signal<BR>
&nbsp;&gt;&gt;&gt; <a href="sofia/internal/102@192.168.1.6:5060">sofia/internal/102@192.168.1.6:5060</a> &lt;<a href="http://102@192.168.1.6:5060">http://102@192.168.1.6:5060</a>&gt; &nbsp;[BREAK]<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; 2012-07-22 12:57:46.706132 [DEBUG] switch_channel.c:2903<BR>
&nbsp;&gt;&gt;&gt; (<a href="sofia/internal/102@192.168.1.6:5060">sofia/internal/102@192.168.1.6:5060</a> &lt;<a href="http://102@192.168.1.6:5060">http://102@192.168.1.6:5060</a>&gt; ) Callstate Change RINGING -&gt; HANGUP<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; 2012-07-22 12:57:46.706132 [NOTICE] switch_channel.c:3392 Hangup<BR>
&nbsp;&gt;&gt;&gt; <a href="sofia/internal/102@192.168.1.6:5060">sofia/internal/102@192.168.1.6:5060</a> &lt;<a href="http://102@192.168.1.6:5060">http://102@192.168.1.6:5060</a>&gt; &nbsp;[CS_EXECUTE] [INCOMPATIBLE_DESTINATION]<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; Regards,<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; Phil Quesinberry<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; Q Systems Engineering, Inc.<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; Electronic Controls and Embedded Systems Development<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; (410) 969-8002 &lt;tel:%28410%29%20969-8002&gt; <BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; <a href="http://www.qsystemsengineering.com">http://www.qsystemsengineering.com</a><BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; _________________________________________________________________________<BR>
&nbsp;&gt;&gt;&gt; Professional FreeSWITCH Consulting Services:<BR>
&nbsp;&gt;&gt;&gt; <a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
&nbsp;&gt;&gt;&gt; <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
&nbsp;&gt;&gt;&gt; <a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; Official FreeSWITCH Sites<BR>
&nbsp;&gt;&gt;&gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
&nbsp;&gt;&gt;&gt; <a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
&nbsp;&gt;&gt;&gt; <a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; Join Us At ClueCon - Aug 7-9, 2012<BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;&gt; FreeSWITCH-users mailing list<BR>
&nbsp;&gt;&gt;&gt; <a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
&nbsp;&gt;&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
&nbsp;&gt;&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
&nbsp;&gt;&gt;&gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
&nbsp;&gt;&gt;&gt;<BR>
&nbsp;&gt;&gt;<BR>
&nbsp;&gt;&gt; _________________________________________________________________________<BR>
&nbsp;&gt;&gt; Professional FreeSWITCH Consulting Services:<BR>
&nbsp;&gt;&gt; <a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
&nbsp;&gt;&gt; <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
&nbsp;&gt;&gt;<BR>
&nbsp;&gt;&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
&nbsp;&gt;&gt; <a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
&nbsp;&gt;&gt;<BR>
&nbsp;&gt;&gt; Official FreeSWITCH Sites<BR>
&nbsp;&gt;&gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
&nbsp;&gt;&gt; <a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
&nbsp;&gt;&gt; <a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
&nbsp;&gt;&gt;<BR>
&nbsp;&gt;&gt; Join Us At ClueCon - Aug 7-9, 2012<BR>
&nbsp;&gt;&gt;<BR>
&nbsp;&gt;&gt; FreeSWITCH-users mailing list<BR>
&nbsp;&gt;&gt; <a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
&nbsp;&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
&nbsp;&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
&nbsp;&gt;&gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
&nbsp;&gt;&gt;<BR>
&nbsp;&gt;<BR>
&nbsp;&gt; _________________________________________________________________________<BR>
&nbsp;&gt; Professional FreeSWITCH Consulting Services:<BR>
&nbsp;&gt; <a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
&nbsp;&gt; <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
&nbsp;&gt;<BR>
&nbsp;&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
&nbsp;&gt; <a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
&nbsp;&gt;<BR>
&nbsp;&gt; Official FreeSWITCH Sites<BR>
&nbsp;&gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
&nbsp;&gt; <a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
&nbsp;&gt; <a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
&nbsp;&gt;<BR>
&nbsp;&gt; Join Us At ClueCon - Aug 7-9, 2012<BR>
&nbsp;&gt;<BR>
&nbsp;&gt; FreeSWITCH-users mailing list<BR>
&nbsp;&gt; <a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
&nbsp;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
&nbsp;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
&nbsp;&gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
&nbsp;<BR>
&nbsp;<BR>
_________________________________________________________________________<BR>
&nbsp;Professional FreeSWITCH Consulting Services:<BR>
&nbsp;<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
&nbsp;<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
&nbsp;<BR>
&nbsp;FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
&nbsp;<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
&nbsp;<BR>
&nbsp;Official FreeSWITCH Sites<BR>
&nbsp;<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
&nbsp;<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
&nbsp;<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
&nbsp;<BR>
&nbsp;Join Us At ClueCon - Aug 7-9, 2012<BR>
&nbsp;<BR>
&nbsp;FreeSWITCH-users mailing list<BR>
&nbsp;<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
&nbsp;<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
&nbsp;UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
&nbsp;<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
&nbsp;<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'> <BR>
&nbsp;<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'> <BR>
&nbsp;<BR>
</SPAN></FONT></BLOCKQUOTE></BLOCKQUOTE>
</BODY>
</HTML>