<div dir="ltr">My bad,<div><br></div><div>I was executing freeswitch through screen and it seems debug output is controled by</div><div><br></div><div>fsctl debug_level 8</div><div><br></div><div><br></div><div>I do see output now but nothing like I have ever seen in FS</div>
<div><br></div><div><br></div><div><div>freeswitch@sipzag> 2014-04-15 23:41:43.338539 [ALERT] switch_core_media.c:334 Looking for zrtp-hash</div><div>2014-04-15 23:41:43.338539 [ALERT] switch_core_media.c:289 Deciding whether to pass zrtp-hash between legs</div>
<div>2014-04-15 23:41:43.338539 [ALERT] switch_core_media.c:291 CF_ZRTP_PASSTHRU_REQ not set, so not propagating zrtp-hash</div><div>2014-04-15 23:41:43.338539 [ALERT] switch_core_session.c:2839 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC]</div>
<div>2014-04-15 23:41:43.338539 [ALERT] switch_core_session.c:2854 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC_COMPLETE]</div><div>2014-04-15 23:41:43.338539 [ALERT] switch_core_session.c:2839 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC]</div>
<div>2014-04-15 23:41:43.338539 [ALERT] switch_core_session.c:2854 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC_COMPLETE]</div><div>2014-04-15 23:41:43.338539 [ALERT] switch_core_session.c:2839 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC]</div>
<div>2014-04-15 23:41:43.338539 [ALERT] switch_ivr.c:1835 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [TRANSFER]</div><div>2014-04-15 23:41:43.338539 [ALERT] switch_core_session.c:2854 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC_COMPLETE]</div>
<div>2014-04-15 23:41:43.338539 [ALERT] switch_core_session.c:2839 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC]</div><div>2014-04-15 23:41:43.338539 [ALERT] switch_core_session.c:2854 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC_COMPLETE]</div>
<div>2014-04-15 23:41:43.338539 [ALERT] switch_core_session.c:2839 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC]</div><div>2014-04-15 23:41:43.338539 [ALERT] switch_core_session.c:2854 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC_COMPLETE]</div>
<div>2014-04-15 23:41:43.338539 [ALERT] switch_core_session.c:2839 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC]</div><div>2014-04-15 23:41:43.338539 [ALERT] switch_core_session.c:2854 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC_COMPLETE]</div>
<div>2014-04-15 23:41:43.338539 [ALERT] switch_core_session.c:2839 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC]</div><div>2014-04-15 23:41:43.338539 [ALERT] switch_core_session.c:2854 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC_COMPLETE]</div>
<div>2014-04-15 23:41:43.338539 [ALERT] switch_core_session.c:2693 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [PROGRESS]</div><div>2014-04-15 23:41:43.338539 [ALERT] switch_core_media.c:334 Looking for zrtp-hash</div>
<div>2014-04-15 23:41:43.338539 [ALERT] switch_core_media.c:289 Deciding whether to pass zrtp-hash between legs</div><div>2014-04-15 23:41:43.338539 [ALERT] switch_core_media.c:294 No partner channel found, so not propagating zrtp-hash</div>
<div>2014-04-15 23:41:43.338539 [ALERT] sofia_media.c:92 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [RING_EVENT]</div><div>2014-04-15 23:41:43.338539 [ALERT] switch_channel.c:3430 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [AUDIO_SYNC]</div>
<div>2014-04-15 23:41:43.338539 [ALERT] switch_core_session.c:2839 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC]</div><div>2014-04-15 23:41:43.338539 [ALERT] switch_core_session.c:2854 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC_COMPLETE]</div>
<div>2014-04-15 23:41:43.678664 [ALERT] switch_core_media.c:334 Looking for zrtp-hash</div><div>2014-04-15 23:41:43.678664 [ALERT] switch_core_media.c:289 Deciding whether to pass zrtp-hash between legs</div><div>2014-04-15 23:41:43.678664 [ALERT] switch_core_media.c:291 CF_ZRTP_PASSTHRU_REQ not set, so not propagating zrtp-hash</div>
<div>2014-04-15 23:41:43.678664 [ALERT] switch_core_session.c:2839 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC]</div><div>2014-04-15 23:41:43.678664 [ALERT] switch_core_session.c:2854 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC_COMPLETE]</div>
<div>2014-04-15 23:41:43.678664 [ALERT] switch_core_session.c:2839 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC]</div><div>2014-04-15 23:41:43.678664 [ALERT] switch_core_session.c:2854 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC_COMPLETE]</div>
<div>2014-04-15 23:41:43.678664 [ALERT] switch_core_session.c:2839 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC]</div><div>2014-04-15 23:41:43.678664 [ALERT] switch_ivr.c:1835 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [TRANSFER]</div>
<div>2014-04-15 23:41:43.678664 [ALERT] switch_core_session.c:2854 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC_COMPLETE]</div><div>2014-04-15 23:41:43.678664 [ALERT] switch_core_session.c:2839 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC]</div>
<div>2014-04-15 23:41:43.678664 [ALERT] switch_core_session.c:2854 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC_COMPLETE]</div><div>2014-04-15 23:41:43.678664 [ALERT] switch_core_session.c:2839 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC]</div>
<div>2014-04-15 23:41:43.698505 [ALERT] switch_core_session.c:2854 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC_COMPLETE]</div><div>2014-04-15 23:41:43.698505 [ALERT] switch_core_session.c:2839 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC]</div>
<div>2014-04-15 23:41:43.698505 [ALERT] switch_core_session.c:2854 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC_COMPLETE]</div><div>2014-04-15 23:41:43.698505 [ALERT] switch_core_session.c:2839 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC]</div>
<div>2014-04-15 23:41:43.698505 [ALERT] switch_core_session.c:2854 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [APPLICATION_EXEC_COMPLETE]</div><div>2014-04-15 23:41:43.698505 [ALERT] switch_core_session.c:2693 sofia/tone_detect/<a href="mailto:xlite@129.sip.testy.com">xlite@129.sip.testy.com</a> receive message [PROGRESS]</div>
<div>2014-04-15 23:41:43.698505 [ALERT] switch_core_media.c:334 Looking for zrtp-hash</div><div>2014-04-15 23:41:43.698505 [ALERT] switch_core_media.c:289 Deciding whether to pass zrtp-hash between legs</div><div>2014-04-15 23:41:43.698505 [ALERT] switch_core_media.c:294 No partner channel found, so not propagating zrtp-hash</div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 15, 2014 at 3:50 PM, Luis F Urrea <span dir="ltr"><<a href="mailto:lfurrea@gmail.com" target="_blank">lfurrea@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Well <div><br></div><div><div>freeswitch@sipzag> console loglevel</div><div><br></div><div>+OK console log level set to DEBUG</div>
</div><div><br></div><div>However I only see output from the sofia siptrace on not regular freeswitch logs.</div>
<div><br></div><div>Does that even make sense?</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 15, 2014 at 2:44 PM, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Enable the debug-level log ("/log 9" in fs_cli) and show us everything that happens when the INVITE is received.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On 15 April 2014 22:34, Luis F Urrea <span dir="ltr"><<a href="mailto:lfurrea@gmail.com" target="_blank">lfurrea@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">The INVITE is just dropped with a 408, I don't see any dialplan logging output.<div>
<br></div><div>
Your help is appreciated on this.</div>
<div><br><div><br></div><div><div>SIP/2.0 480 Temporarily Unavailable</div>
<div> Via: SIP/2.0/UDP XX.XX.XX.XX:7000;branch=z9hG4bK0b7b.17642242.0</div><div> Via: SIP/2.0/UDP XX.XX.XX.XX:11000;received=10.159.12.163;rport=11000;branch=z9hG4bKg1HZ4F53ZUD8a</div><div> From: "Sangoma Technologies" <<a href="mailto:sip%3A6502626901@129.sip.testy.com" target="_blank">sip:6502626901@129.sip.testy.com</a>>;tag=g0FpDc3651FtN</div>
<div> To: <sip:tone_detect@XX.XX.XX.XX:61179>;tag=UeDtcKU7ZaU3S</div><div> Call-ID: 05d75f66-c4e5-11e3-9d0d-9b9b93df5131</div><div> CSeq: 58462619 INVITE</div><div> User-Agent: FreeSWITCH-mod_sofia/1.5.12b+git~20140410T213613Z~f1d7721710~64bit</div>
<div> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY</div><div> Supported: timer, path, replaces</div><div> Allow-Events: talk, hold, conference, refer</div><div> Reason: Q.850;cause=16;text="NORMAL_CLEARING"</div>
<div> Content-Length: 0</div><div> Remote-Party-ID: "tone_detect" <sip:tone_detect@XX.XX.XX.XX>;party=calling;privacy=off;screen=no</div></div></div></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">
On Tue, Apr 15, 2014 at 12:01 PM, Luis F Urrea <span dir="ltr"><<a href="mailto:lfurrea@gmail.com" target="_blank">lfurrea@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">The point is that the gateway registers using a random port as the source port 52762 and then when the INVITE comes how would that be associated with the SIP profile?</div><div><div>
<div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Apr 14, 2014 at 5:03 PM, Luis F Urrea <span dir="ltr"><<a href="mailto:lfurrea@gmail.com" target="_blank">lfurrea@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Hi all, </div><div><br></div><div>I am trying to receive a call through a gateway that is suing registration on external profile and I don't clearly understand how to configure the extension to receive the call. </div>
<div><br></div><div>I appears from the example.xml gateway configuration that the an extension name with the username used for gateway registration can be used to get the dialplan to accept the call.</div><div><br></div>
<div>
I assume this needs to be configured on the public context, however I see the INVITE coming in, but the dialplan never kicks in.</div><div><br></div><div>Do I have to receive the INVITE at port 5080? If that is the case, registration doesn't really make sense.</div>
<div><br></div><div>public.xml</div><div><br></div><div><div><extension name="tone_detect"></div><div> <condition field="destination_number" expression="^tone_detect$"></div>
<div> <action application="pre_answer"/></div><div> <action application="sleep" data="20000"/></div><div> <action application="answer"/></div>
<div> <action application="sleep" data="1000"/></div><div> <action application="playback" data="voicemail/vm-goodbye.wav"/></div><div> <action application="hangup"/></div>
<div> </condition></div><div> </extension></div></div><div><br></div><div><br></div><div>Gateway config</div><div><br></div><div><div><include></div><div> <gateway name="tone_detect"></div>
<div> <param name="username" value="tone_detect"/></div></div><div> <...snip...></div><div></include></div><div><br></div><div>Thanks in advance for your help.</div><div><br></div>
<div>
<br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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></blockquote></div><br></div>
</div></div></blockquote></div><br></div>