[Freeswitch-users] Freeswitch listens on assigned SIP port sometimes but not always (Anthony Minessale)

B Karthik carthick84 at gmail.com
Tue Jan 22 05:18:56 PST 2008


Thanks a lot for answering this query. It was a mistake from my end. I
changed the port in conf/default.xml to 5090 from 5060. This port (5090) was
not always in listening state but only randomly available. The port
mentioned in outbound.xml is always in listening state. So connecting to
that port from a sip client works correctly always. I am however not sure if
this is the right way.

On Jan 19, 2008 5:11 AM, <freeswitch-users-request at lists.freeswitch.org>
wrote:

> Send Freeswitch-users mailing list submissions to
>        freeswitch-users at lists.freeswitch.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> or, via email, send a message with subject or body 'help' to
>        freeswitch-users-request at lists.freeswitch.org
>
> You can reach the person managing the list at
>        freeswitch-users-owner at lists.freeswitch.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Freeswitch-users digest..."
>
> Today's Topics:
>
>   1. Freeswitch listens on assigned SIP port   sometimes but not
>      always (B Karthik)
>   2. Re: Freeswitch listens on assigned SIP    port    sometimes but not
>      always (Brian West)
>   3. Re: Freeswitch listens on assigned SIP port       sometimes but not
>      always (Anthony Minessale)
>   4. Voice Mail on Windows. (Ben Levy)
>   5. Re: Voice Mail on Windows. (Brian West)
>
>
> ---------- Forwarded message ----------
> From: "B Karthik" <carthick84 at gmail.com>
> To: freeswitch-users at lists.freeswitch.org
> Date: Thu, 17 Jan 2008 17:32:47 +0530
> Subject: [Freeswitch-users] Freeswitch listens on assigned SIP port
> sometimes but not always
> Hi,
>
> I am a newbie to the wonderful freeswitch and linux world. I compiled and
> installed freeswitch snapshot on  Redhat Enterprise Linux Version 4. I
> changed the SIP configuration to listen on a different port. Everything
> worked fine initially.
>
> However when freeswitch is shutdown and restarted, it fails to listen on
> the port designated for SIP (5090 in my case). The problem occurs randomly
> i.e whenever freeswitch is shutdown through any of the various methods
> (freeswitch -stop, shutdown command, kill). Surprisingly, it becomes fine
> after a few hours.
>
> Please help me to resolve this issue.
>
> Thanks in advance,
>
> B Karthik
>
>
> ---------- Forwarded message ----------
> From: Brian West <brian.west at mac.com>
> To: freeswitch-users at lists.freeswitch.org
> Date: Fri, 18 Jan 2008 12:48:40 -0600
> Subject: Re: [Freeswitch-users] Freeswitch listens on assigned SIP port
> sometimes but not always
> You might want to try running the latest SVN code.  I don't think that
> is a problem with FreeSWITCH but the OS not releasing the port fast
> enough.... but trying the latest code and see if it still happens.
>
> /b
>
>
> On Jan 17, 2008, at 6:02 AM, B Karthik wrote:
>
> > Hi,
> >
> > I am a newbie to the wonderful freeswitch and linux world. I
> > compiled and installed freeswitch snapshot on  Redhat Enterprise
> > Linux Version 4. I changed the SIP configuration to listen on a
> > different port. Everything worked fine initially.
> >
> > However when freeswitch is shutdown and restarted, it fails to
> > listen on the port designated for SIP (5090 in my case). The problem
> > occurs randomly i.e whenever freeswitch is shutdown through any of
> > the various methods (freeswitch -stop, shutdown command, kill).
> > Surprisingly, it becomes fine after a few hours.
> >
> > Please help me to resolve this issue.
> >
> > Thanks in advance,
> >
> > B Karthik
> > _______________________________________________
> > 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
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Anthony Minessale <anthmct at yahoo.com>
> To: freeswitch-users at lists.freeswitch.org
> Date: Fri, 18 Jan 2008 13:51:12 -0800 (PST)
> Subject: Re: [Freeswitch-users] Freeswitch listens on assigned SIP port
> sometimes but not always
> Also, make sure you are not running any other software
> that may reserve the same port.
>
> I do a good amount of dev on a RHEL4 box and that
> problem does not exist.
>
>
>
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
>
> 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
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org
> pstn:213-799-1400
>
>
> ----- Original Message ----
> From: Brian West <brian.west at mac.com>
> To: freeswitch-users at lists.freeswitch.org
> Sent: Friday, January 18, 2008 12:48:40 PM
> Subject: Re: [Freeswitch-users] Freeswitch listens on assigned SIP port
> sometimes but not always
>
> You might want to try running the latest SVN code.  I don't think that
> is a problem with FreeSWITCH but the OS not releasing the port fast
> enough.... but trying the latest code and see if it still happens.
>
> /b
>
>
> On Jan 17, 2008, at 6:02 AM, B Karthik wrote:
>
> > Hi,
> >
> > I am a newbie to the wonderful freeswitch and linux world. I
> > compiled and installed freeswitch snapshot on  Redhat Enterprise
> > Linux Version 4. I changed the SIP configuration to listen on a
> > different port. Everything worked fine initially.
> >
> > However when freeswitch is shutdown and restarted, it fails to
> > listen on the port designated for SIP (5090 in my case). The problem
> > occurs randomly i.e whenever freeswitch is shutdown through any of
> > the various methods (freeswitch -stop, shutdown command, kill).
> > Surprisingly, it becomes fine after a few hours.
> >
> > Please help me to resolve this issue.
> >
> > Thanks in advance,
> >
> > B Karthik
> > _______________________________________________
> > 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
>
>
> _______________________________________________
> 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
>
>
> ------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
> now.<http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ>
>
>
> ---------- Forwarded message ----------
> From: "Ben Levy" <blevy at apexvoice.com>
> To: <freeswitch-users at lists.freeswitch.org>
> Date: Fri, 18 Jan 2008 14:30:35 -0800
> Subject: [Freeswitch-users] Voice Mail on Windows.
>
> I am new to freeswitch and have been playing around with it over a week.
> I have most things working but cant seem to figure out the voicemail module.
>
>
>
>
> I use the following
>
>
>
> <anti-action application="voicemail" data="$${domain} $${domain}
> ${dialed_ext}"/>
>
>
>
> I receive the following:
>
>
>
> 2008-01-18 13:58:17 [INFO] mod_dptools.c:1331 audio_bridge_function()
> Originate Failed.  Cause: NO_ANSWER
>
> 2008-01-18 13:58:17 [INFO] switch_core_session.c:689
> switch_core_session_thread() Session 6 (sofia/64.52.111.160/1001) Ended
>
> 2008-01-18 13:58:17 [NOTICE] switch_core_session.c:691
> switch_core_session_thread() Close Channel sofia/64.52.111.160/1001
> [CS_HANGUP]
>
> 2008-01-18 13:58:17 [NOTICE] switch_core_state_machine.c:134
> switch_core_standard_on_execute() Execute voicemail(64.52.111.160${dialed_ext})
>
> 2008-01-18 13:58:17 [DEBUG] switch_core_state_machine.c:158
> switch_core_standard_on_execute() Expanded String voicemail(64.52.111.1601001)
>
> 2008-01-18 13:58:22 [DEBUG] switch_ivr_play_say.c:118
> switch_ivr_phrase_macro() No language specified - Using [en]
>
> 2008-01-18 13:58:34 [ERR] switch_ivr_play_say.c:143
> switch_ivr_phrase_macro() can't find language tag.
>
> 2008-01-18 13:58:34 [WARNING] switch_scheduler.c:84 task_thread_loop()
> Task was executed late by 17 seconds 1 heartbeat (core)
>
> 2008-01-18 14:00:29 [DEBUG] sofia.c:114 sofia_event_callback() event
> [nua_r_invite] status [487][Request Terminated] session: n/a
>
> 2008-01-18 14:00:29 [WARNING] switch_ivr_play_say.c:324
> switch_ivr_phrase_macro() macro [voicemail_play_greeting] did not match any
> patterns
>
> 2008-01-18 14:00:34 [DEBUG] switch_ivr_play_say.c:118
> switch_ivr_phrase_macro() No language specified - Using [en]
>
> 2008-01-18 14:00:34 [DEBUG] sofia.c:114 sofia_event_callback() event
> [nua_i_state] status [487][Request Terminated] session: n/a
>
>
>
>
>
> My sofia_profile and voicemail profile both take the domain as the name.
>
>
>
> Does anyone have any hints as to what the configuration problem is?
>
>
>
> Thanks in advance….
>
>
>
>
>
> Regards,
>
>
>
> Ben
>
>
>
>
> ---------- Forwarded message ----------
> From: Brian West <brian.west at mac.com>
> To: freeswitch-users at lists.freeswitch.org
> Date: Fri, 18 Jan 2008 17:40:07 -0600
> Subject: Re: [Freeswitch-users] Voice Mail on Windows.
> Is the call being answered before the voicemail app is run?  This also
> concerns me "Task was executed late by 17 seconds 1 heartbeat (core)"
>
>
> /b
>
> On Jan 18, 2008, at 4:30 PM, Ben Levy wrote:
>
> > I am new to freeswitch and have been playing around with it over a
> > week.  I have most things working but cant seem to figure out the
> > voicemail module.
> >
> > I use the following
> >
> > <anti-action application="voicemail" data="$${domain} $${domain} $
> > {dialed_ext}"/>
> >
> > I receive the following:
> >
> > 2008-01-18 13:58:17 [INFO] mod_dptools.c:1331
> > audio_bridge_function() Originate Failed.  Cause: NO_ANSWER
> > 2008-01-18 13:58:17 [INFO] switch_core_session.c:689
> > switch_core_session_thread() Session 6 (sofia/64.52.111.160/1001)
> > Ended
> > 2008-01-18 13:58:17 [NOTICE] switch_core_session.c:691
> > switch_core_session_thread() Close Channel sofia/64.52.111.160/1001
> > [CS_HANGUP]
> > 2008-01-18 13:58:17 [NOTICE] switch_core_state_machine.c:134
> > switch_core_standard_on_execute() Execute voicemail(64.52.111.160 $
> > {dialed_ext})
> > 2008-01-18 13:58:17 [DEBUG] switch_core_state_machine.c:158
> > switch_core_standard_on_execute() Expanded String
> > voicemail(64.52.111.160 1001)
> > 2008-01-18 13:58:22 [DEBUG] switch_ivr_play_say.c:118
> > switch_ivr_phrase_macro() No language specified - Using [en]
> > 2008-01-18 13:58:34 [ERR] switch_ivr_play_say.c:143
> > switch_ivr_phrase_macro() can't find language tag.
> > 2008-01-18 13:58:34 [WARNING] switch_scheduler.c:84
> > task_thread_loop() Task was executed late by 17 seconds 1 heartbeat
> > (core)
> > 2008-01-18 14:00:29 [DEBUG] sofia.c:114 sofia_event_callback() event
> > [nua_r_invite] status [487][Request Terminated] session: n/a
> > 2008-01-18 14:00:29 [WARNING] switch_ivr_play_say.c:324
> > switch_ivr_phrase_macro() macro [voicemail_play_greeting] did not
> > match any patterns
> > 2008-01-18 14:00:34 [DEBUG] switch_ivr_play_say.c:118
> > switch_ivr_phrase_macro() No language specified - Using [en]
> > 2008-01-18 14:00:34 [DEBUG] sofia.c:114 sofia_event_callback() event
> > [nua_i_state] status [487][Request Terminated] session: n/a
> >
> >
> > My sofia_profile and voicemail profile both take the domain as the
> > name.
> >
> > Does anyone have any hints as to what the configuration problem is?
> >
> > Thanks in advance….
> >
> >
> > Regards,
> >
> > Ben
> >
> > _______________________________________________
> > 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
>
>
>
>
> _______________________________________________
> 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
>
> .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080122/667d6b9d/attachment-0002.html 


More information about the FreeSWITCH-users mailing list