[Freeswitch-users] Wrong Port Number?

Anthony Minessale anthony.minessale at gmail.com
Thu Jul 11 19:40:35 MSD 2013


When its wrong is it always the same one or is it random?
My wild guess was maybe it was busy from not shutting down all the way so
sofia picked a free one instead.
We do set the REUSEADDR flag so it should not actually happen.



On Wed, Jul 10, 2013 at 5:38 PM, Brian Foster <bdfoster at davri.com> wrote:

> More specifically:
>
> root at davri-services:/usr/local/freeswitch/bin# uname -a
> Linux davri-services 3.2.0-48-generic-pae #74-Ubuntu SMP Thu Jun 6
> 20:05:01 UTC 2013 i686 i686 i386 GNU/Linux
>
> Thank you,
>
> Brian Foster
> Project Manager/Owner's Representative
> Davri Investments, Incorporated
> P: +1-317-787-2686
> M: +1-317-600-9753
> Indianapolis, Indiana
>
>
> On Wed, Jul 10, 2013 at 6:34 PM, Brian Foster <bdfoster at davri.com> wrote:
>
>> It's running Ububtu 12.04. I just shut down freeswitch. I'll leave it off
>> for about 30 minutes since we're outside of biz hours.
>>
>> Thank you,
>>
>> Brian Foster
>> Project Manager/Owner's Rep.
>> Davri Investments, Inc.
>> O: 317-787-2686 x2102
>> M: 317-600-9753
>> E: bdfoster at davri.com
>> Indianapolis, Indiana
>>
>> Sent from a mobile device.
>> On Jul 10, 2013 6:14 PM, "Anthony Minessale" <anthony.minessale at gmail.com>
>> wrote:
>>
>>> What OS is it?  Does it happen if you wait for a minute or so first when
>>> you restart?
>>>
>>>
>>> On Wed, Jul 10, 2013 at 4:31 PM, Brian Foster <bdfoster at davri.com>wrote:
>>>
>>>> Every so often (and I've been paying attention to it closer lately),
>>>> "sofia status" in fs_cli reports something similar to this:
>>>> http://pastebin.freeswitch.org/21171
>>>>
>>>> If you look at the external profile's port number, it's the wrong one.
>>>> It should be 5080. But this does not just happen on the external profile,
>>>> it happens occasionally ON EVERY profile. Sometimes a few of the profiles
>>>> have this affliction at the same time.
>>>>
>>>> This happens when mod_sofia or freeswitch itself is reloaded. If I'm
>>>> not careful (i.e. I leave it this way), phones do not register, no one can
>>>> answer important phone calls, the world crashes, etc.
>>>>
>>>> The bad thing about this is that I cannot for the life of me figure out
>>>> how to change it manually. Everything is set correctly in vars.xml and the
>>>> profiles as far as ports go (internal uses 5060, doublenat uses 5090,
>>>> external uses 5080). Sometimes I restart freeswitch and get lucky, but most
>>>> of the time no dice.
>>>>
>>>> Does anyone have any idea on this?
>>>>
>>>> freeswitch at internal> version
>>>> FreeSWITCH Version 1.2.8+git~20130503T183844Z~65f0d16dee (git 65f0d16
>>>> 2013-05-03 18:38:44Z)
>>>>
>>>> Thank you,
>>>>
>>>> Brian Foster
>>>> Project Manager/Owner's Representative
>>>> Davri Investments, Incorporated
>>>> P: +1-317-787-2686
>>>> M: +1-317-600-9753
>>>> Indianapolis, Indiana
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> 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
>>>>
>>>> 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
>>>>
>>>>
>>>
>>>
>>> --
>>> Anthony Minessale II
>>>
>>> FreeSWITCH http://www.freeswitch.org/
>>> ClueCon http://www.cluecon.com/
>>> Twitter: http://twitter.com/FreeSWITCH_wire
>>>
>>> AIM: anthm
>>> MSN:anthony_minessale at hotmail.com
>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>>> IRC: irc.freenode.net #freeswitch
>>>
>>> FreeSWITCH Developer Conference
>>> sip:888 at conference.freeswitch.org
>>> googletalk:conf+888 at conference.freeswitch.org
>>> pstn:+19193869900
>>>
>>> _________________________________________________________________________
>>> 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
>>>
>>> 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
>
> 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
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130711/955b259f/attachment-0001.html 


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