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.

If there is already a JIRA ticket for this, can someone post the link? I can try and help by providing more testing details.

On 23/07/2012 9:17 AM, Brian Foster wrote:

Remember each call is 2 rtp ports.

Brian Foster
Endigo Computer LLC

Sent from a mobile device.

On Jul 23, 2012 2:28 AM, "Chris Mylonas" <chris@opencsta.org> wrote:
Sorry to but in,

How many RTP ports have you got configured?

If you only have a range of 5 and you have 5 concurrent calls, then no more RTP ports will be available.
Doing a `netstat -anp | grep -i udp` should show what ports are open (on linux)




On 23/07/2012, at 4:12 PM, curriegrad2004 wrote:

> Tony,
>
> What can cause this error to happen really? Does FS allow re-use of
> RTP ports at all given if the media isn't going to the same
> destination, or doesn't the SDP header define some kind of session
> tracking mechnaism so ports can be reused?
>
> On Sun, Jul 22, 2012 at 11:58 AM, Anthony Minessale
> <anthony.minessale@gmail.com> wrote:
>> Jira Jira jira
>>
>> On Jul 22, 2012 12:41 PM, "Phil Quesinberry" <philq@qsystemsengineering.com>
>> wrote:
>>>
>>> Recently through several of the latest git pulls, FS stops routing calls
>>> with the following error, usually within a few minutes of making a call
>>> through Google Voice, not sure if receiving a call through GV will cause the
>>> problem yet:
>>>
>>> sofia_glue.c:1083 No RTP ports available!
>>>
>>> Restarting FS fixes the problem.
>>>
>>> Before I file the requisite Jira, is anyone aware of this problem or a
>>> potential configuration issue that might not be compatible with the newer
>>> builds of FS?  This wasn’t happening until the last week or two.
>>>
>>> Current version we’re running is:  FreeSWITCH Version
>>> 1.2.0-rc2+git~20120719T223942Z~42f296de9b+unclean~20120719T235346Z
>>>
>>> Here’s a quick snip from the console when attempting to dial out to show
>>> the context of the error:
>>>
>>> 2012-07-22 12:57:46.706132 [DEBUG] sofia_glue.c:3948 Looking for zrtp-hash
>>>
>>> 2012-07-22 12:57:46.706132 [DEBUG] sofia_glue.c:3926 Deciding whether to
>>> pass zrtp-hash between legs
>>>
>>> 2012-07-22 12:57:46.706132 [DEBUG] sofia_glue.c:3928 CF_ZRTP_PASSTHRU_REQ
>>> not set, so not propagating zrtp-hash
>>>
>>> 2012-07-22 12:57:46.706132 [DEBUG] sofia_glue.c:5041 Audio Codec Compare
>>> [PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]
>>>
>>> 2012-07-22 12:57:46.706132 [DEBUG] sofia_glue.c:3027 Set Codec
>>> sofia/internal/102@192.168.1.6:5060 PCMU/8000 20 ms 160 samples 64000 bits
>>>
>>> 2012-07-22 12:57:46.706132 [DEBUG] switch_core_codec.c:111
>>> sofia/internal/102@192.168.1.6:5060 Original read codec set to PCMU:0
>>>
>>> 2012-07-22 12:57:46.706132 [DEBUG] sofia_glue.c:5173 No 2833 in SDP.
>>> Disable 2833 dtmf and switch to INFO
>>>
>>> 2012-07-22 12:57:46.706132 [CRIT] sofia_glue.c:1083 No RTP ports
>>> available!
>>>
>>> 2012-07-22 12:57:46.706132 [DEBUG] switch_core_session.c:778 Send signal
>>> sofia/internal/102@192.168.1.6:5060 [BREAK]
>>>
>>> 2012-07-22 12:57:46.706132 [DEBUG] switch_channel.c:2903
>>> (sofia/internal/102@192.168.1.6:5060) Callstate Change RINGING -> HANGUP
>>>
>>> 2012-07-22 12:57:46.706132 [NOTICE] switch_channel.c:3392 Hangup
>>> sofia/internal/102@192.168.1.6:5060 [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]
>>>
>>> Regards,
>>>
>>> Phil Quesinberry
>>>
>>> Q Systems Engineering, Inc.
>>>
>>> Electronic Controls and Embedded Systems Development
>>>
>>> (410) 969-8002
>>>
>>> http://www.qsystemsengineering.com
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting@freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>>> http://www.cudatel.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> Join Us At ClueCon - Aug 7-9, 2012
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users@lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting@freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>> http://www.cudatel.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users@lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting@freeswitch.org
> http://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
> http://www.cudatel.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

Join Us At ClueCon - Aug 7-9, 2012

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

--
Adam
--
NewPace Logo


Adam Kelloway

Software Engineer, NewPace
phone +1 (902) 406–8375  x1031
email Adam.Kelloway@NewPace.com
aim/msn Adam.Kelloway@NewPace.ca