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