[Freeswitch-users] [CRIT] sofia_glue.c:1083 No RTP ports available!

Peter Olsson peter.olsson at visionutveckling.se
Mon Jul 23 11:58:46 MSD 2012


It's just an internal allocation within FS, so ports can be reused as soon as it's not allocated anymore.

Lets say you have 5 ports, first call will get port 1, then 2 etc. When the first call hangs up, port 1 will be returned, and may be reused again.

/Peter

23 jul 2012 kl. 08:20 skrev "curriegrad2004" <curriegrad2004 at gmail.com>:

> 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 at gmail.com> wrote:
>> Jira Jira jira
>> 
>> On Jul 22, 2012 12:41 PM, "Phil Quesinberry" <philq at 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 at 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 at 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 at 192.168.1.6:5060 [BREAK]
>>> 
>>> 2012-07-22 12:57:46.706132 [DEBUG] switch_channel.c:2903
>>> (sofia/internal/102 at 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 at 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 at freeswitch.org
>>> http://www.freeswitchsolutions.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 at 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 at freeswitch.org
>> http://www.freeswitchsolutions.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 at 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 at freeswitch.org
> http://www.freeswitchsolutions.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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> 
> !DSPAM:500ce9de32761973692718!
> 



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list