<div dir="ltr">Hi Joselyn,<div><br></div><div>What is the goal of this code? Are you trying to do the IVR answer confirmation? (Details here: <a href="https://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate#Answer_confirmation">https://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate#Answer_confirmation</a>)</div><div><br></div><div>It's my understanding that you need to specify a sound file or phrase file for group_confirm_file. You'll also need to specify a group_confirm_key so that the system knows which DTMF key(s) to respond to.</div><div><br></div><div>If your goal is something other than answer confirmation please give us more information.</div><div><br></div><div>-MSC</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 5, 2016 at 7:29 AM, Nduwayezu, Joselyne <span dir="ltr"><<a href="mailto:35633@heb.be" target="_blank">35633@heb.be</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>hello i'm invoking a javascript script in my dialplan when i call my DID number.</div><div><br></div><div>I've loaded the mod_javascript module</div><div>Edit a javascript file in /usr/local/src/freeswitch/scripts</div><div><br></div><div><br></div><div>var languageCode = "en";</div><div>var soundDir = "sound/";</div><div>function playFile(fileName, callBack, callBackArgs)</div><div>{</div><div> session.streamFile(soundDir + languageCode + "/" + fileName, callBack, callBackArgs);</div><div>}</div><div>session.answer();</div><div>//playFile("HelloWorld.wav");<br>playFile("/usr/local/freeswitch/sounds/en/us/callie/ivr/16000/ivr-welcome_to_freeswitch.wav");</div><div>exit();</div><div>~ <br></div><div><br></div><div>Edit a dialplan in /usr/local/freeswitch/conf/dialplan/public</div><div><br></div><div><br>root@back-1:/usr/local/freeswitch/conf/dialplan/public# vi javas.xml<br><include><br> <extension name="public_did"></div><div> <condition field="${sip_to_user}" expression="(972550428)$"><br> <action application="set" data="group_confirm_file=javascript ivrmenu.js" /></div><div> </condition></div><div> </extension><br></include></div><div><br></div><div>It rings three time and then get busy. I've noticed the error "Responding to INVITE with 480.</div><div>But when i dial dial directly my DID number without a javascript or othe script file in the dialplan, that works fine.</div><div><br></div><div>Can someone help me understand what's going on and how to solve it.</div><div><br></div><div>Thank you</div><div><br>2016-05-05 14:13:02.268768 [NOTICE] switch_channel.c:1104 New Channel sofia/external/anonymous@anonymous.invalid [7a68f854-12cb-11e6-b68f-75ea2a7b416e]<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:543 (sofia/external/anonymous@anonymous.invalid) Running State Change CS_NEW<br>2016-05-05 14:13:02.268768 [DEBUG] sofia.c:9376 sofia/external/anonymous@anonymous.invalid receiving invite from <a href="http://10.0.0.4:5060" target="_blank">10.0.0.4:5060</a> version: 1.7.0 git 6fc6efa 2016-05-03 02:03:34Z 64bit<br>2016-05-05 14:13:02.268768 [DEBUG] sofia.c:6858 Channel sofia/external/anonymous@anonymous.invalid entering state [received][100]<br>2016-05-05 14:13:02.268768 [DEBUG] sofia.c:6868 Remote SDP:<br>v=0<br>o=cp10 146245758317 146245758317 IN IP4 10.7.1.9<br>s=SIP Call<br>c=IN IP4 91.121.129.146<br>t=0 0<br>m=audio 36336 RTP/AVP 18 4 0 8 125 111 101<br>b=AS:21<br>a=rtpmap:18 G729/8000/1<br>a=fmtp:18 annexb=no<br>a=rtpmap:4 G723/8000/1<br>a=fmtp:4 annexa=no<br>a=rtpmap:0 PCMU/8000/1<br>a=rtpmap:8 PCMA/8000/1<br>a=rtpmap:125 CLEARMODE/8000/1<br>a=rtpmap:111 iLBC/8000/1<br>a=fmtp:111 mode=30<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-15<br>a=ptime:30</div><div>2016-05-05 14:13:02.268768 [DEBUG] sofia.c:7227 (sofia/external/anonymous@anonymous.invalid) State Change CS_NEW -> CS_INIT<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:562 (sofia/external/anonymous@anonymous.invalid) State NEW<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:543 (sofia/external/anonymous@anonymous.invalid) Running State Change CS_INIT<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:586 (sofia/external/anonymous@anonymous.invalid) State INIT<br>2016-05-05 14:13:02.268768 [DEBUG] mod_sofia.c:89 sofia/external/anonymous@anonymous.invalid SOFIA INIT<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:40 sofia/external/anonymous@anonymous.invalid Standard INIT<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:48 (sofia/external/anonymous@anonymous.invalid) State Change CS_INIT -> CS_ROUTING<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:586 (sofia/external/anonymous@anonymous.invalid) State INIT going to sleep<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:543 (sofia/external/anonymous@anonymous.invalid) Running State Change CS_ROUTING<br>2016-05-05 14:13:02.268768 [DEBUG] switch_channel.c:2249 (sofia/external/anonymous@anonymous.invalid) Callstate Change DOWN -> RINGING<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:602 (sofia/external/anonymous@anonymous.invalid) State ROUTING<br>2016-05-05 14:13:02.268768 [DEBUG] mod_sofia.c:142 sofia/external/anonymous@anonymous.invalid SOFIA ROUTING<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:236 sofia/external/anonymous@anonymous.invalid Standard ROUTING<br>2016-05-05 14:13:02.268768 [INFO] mod_dialplan_xml.c:637 Processing Anonymous <anonymous>->opensips in context public<br>Dialplan: sofia/external/anonymous@anonymous.invalid parsing [public->unloop] continue=false<br>Dialplan: sofia/external/anonymous@anonymous.invalid Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false<br>Dialplan: sofia/external/anonymous@anonymous.invalid Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false<br>Dialplan: sofia/external/anonymous@anonymous.invalid parsing [public->outside_call] continue=true<br>Dialplan: sofia/external/anonymous@anonymous.invalid Absolute Condition [outside_call]<br>Dialplan: sofia/external/anonymous@anonymous.invalid Action set(outside_call=true)<br>Dialplan: sofia/external/anonymous@anonymous.invalid Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})<br>Dialplan: sofia/external/anonymous@anonymous.invalid parsing [public->call_debug] continue=true<br>Dialplan: sofia/external/anonymous@anonymous.invalid Regex (FAIL) [call_debug] ${call_debug}(false) =~ /^true$/ break=never<br>Dialplan: sofia/external/anonymous@anonymous.invalid parsing [public->public_extensions] continue=false<br>Dialplan: sofia/external/anonymous@anonymous.invalid Regex (FAIL) [public_extensions] destination_number(opensips) =~ /^(10[01][0-9])$/ break=on-false<br>Dialplan: sofia/external/anonymous@anonymous.invalid parsing [public->public_did] continue=false<br>Dialplan: sofia/external/anonymous@anonymous.invalid Regex (PASS) [public_did] ${sip_to_user}(0972550428) =~ /(972550428)$/ break=on-false<br>Dialplan: sofia/external/anonymous@anonymous.invalid Action set(group_confirm_file=javascript monScript.js)<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:286 (sofia/external/anonymous@anonymous.invalid) State Change CS_ROUTING -> CS_EXECUTE<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:602 (sofia/external/anonymous@anonymous.invalid) State ROUTING going to sleep<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:543 (sofia/external/anonymous@anonymous.invalid) Running State Change CS_EXECUTE<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:609 (sofia/external/anonymous@anonymous.invalid) State EXECUTE<br>2016-05-05 14:13:02.268768 [DEBUG] mod_sofia.c:197 sofia/external/anonymous@anonymous.invalid SOFIA EXECUTE<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:328 sofia/external/anonymous@anonymous.invalid Standard EXECUTE<br>EXECUTE sofia/external/anonymous@anonymous.invalid set(outside_call=true)<br>2016-05-05 14:13:02.268768 [DEBUG] mod_dptools.c:1519 SET sofia/external/anonymous@anonymous.invalid [outside_call]=[true]<br>EXECUTE sofia/external/anonymous@anonymous.invalid export(RFC2822_DATE=Thu, 05 May 2016 14:13:02 +0000)<br>2016-05-05 14:13:02.268768 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RFC2822_DATE]=[Thu, 05 May 2016 14:13:02 +0000]<br>EXECUTE sofia/external/anonymous@anonymous.invalid set(group_confirm_file=javascript monScript.js)<br>2016-05-05 14:13:02.268768 [DEBUG] mod_dptools.c:1519 SET sofia/external/anonymous@anonymous.invalid [group_confirm_file]=[javascript monScript.js]<br>2016-05-05 14:13:02.268768 [NOTICE] switch_core_state_machine.c:385 sofia/external/anonymous@anonymous.invalid has executed the last dialplan instruction, hanging up.<br>2016-05-05 14:13:02.268768 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/anonymous@anonymous.invalid [CS_EXECUTE] [NORMAL_CLEARING]<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:609 (sofia/external/anonymous@anonymous.invalid) State EXECUTE going to sleep<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:543 (sofia/external/anonymous@anonymous.invalid) Running State Change CS_HANGUP<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:809 (sofia/external/anonymous@anonymous.invalid) Callstate Change RINGING -> HANGUP<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:811 (sofia/external/anonymous@anonymous.invalid) State HANGUP<br>2016-05-05 14:13:02.268768 [DEBUG] mod_sofia.c:437 Channel sofia/external/anonymous@anonymous.invalid hanging up, cause: NORMAL_CLEARING<br>2016-05-05 14:13:02.268768 [DEBUG] mod_sofia.c:574 <strong><font style="background-color:rgb(255,0,0)">Responding to INVITE with: 480</font></strong><br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:60 sofia/external/anonymous@anonymous.invalid Standard HANGUP, cause: NORMAL_CLEARING<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:811 (sofia/external/anonymous@anonymous.invalid) State HANGUP going to sleep<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:578 (sofia/external/anonymous@anonymous.invalid) State Change CS_HANGUP -> CS_REPORTING<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:543 (sofia/external/anonymous@anonymous.invalid) Running State Change CS_REPORTING<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:897 (sofia/external/anonymous@anonymous.invalid) State REPORTING<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:174 sofia/external/anonymous@anonymous.invalid Standard REPORTING, cause: NORMAL_CLEARING<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:897 (sofia/external/anonymous@anonymous.invalid) State REPORTING going to sleep<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:569 (sofia/external/anonymous@anonymous.invalid) State Change CS_REPORTING -> CS_DESTROY<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_session.c:1646 Session 48 (sofia/external/anonymous@anonymous.invalid) Locked, Waiting on external entities<br>2016-05-05 14:13:02.268768 [NOTICE] switch_core_session.c:1664 Session 48 (sofia/external/anonymous@anonymous.invalid) Ended<br>2016-05-05 14:13:02.268768 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/anonymous@anonymous.invalid [CS_DESTROY]<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:700 (sofia/external/anonymous@anonymous.invalid) Running State Change CS_DESTROY<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:710 (sofia/external/anonymous@anonymous.invalid) State DESTROY<br>2016-05-05 14:13:02.268768 [DEBUG] mod_sofia.c:342 sofia/external/anonymous@anonymous.invalid SOFIA DESTROY<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:181 sofia/external/anonymous@anonymous.invalid Standard DESTROY<br>2016-05-05 14:13:02.268768 [DEBUG] switch_core_state_machine.c:710 (sofia/external/anonymous@anonymous.invalid) State DESTROY going to sleep<br>2016-05-05 14:13:03.108776 [WARNING] sofia.c:5912 Ping succeeded OpenSIPS-Front-2 with code 484 - count 1/1/1, state UP<br>2016-05-05 14:13:03.108776 [WARNING] sofia.c:5912 Ping succeeded OpenSIPS-Front-1 with code 484 - count 1/1/1, state UP<br>2016-05-05 14:13:05.148771 [NOTICE] switch_channel.c:1104 New Channel sofia/external/anonymous@anonymous.invalid [7c23a432-12cb-11e6-b694-75ea2a7b416e]<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:543 (sofia/external/anonymous@anonymous.invalid) Running State Change CS_NEW<br>2016-05-05 14:13:05.148771 [DEBUG] sofia.c:9376 sofia/external/anonymous@anonymous.invalid receiving invite from <a href="http://10.0.0.4:5060" target="_blank">10.0.0.4:5060</a> version: 1.7.0 git 6fc6efa 2016-05-03 02:03:34Z 64bit<br>2016-05-05 14:13:05.148771 [DEBUG] sofia.c:6858 Channel sofia/external/anonymous@anonymous.invalid entering state [received][100]<br>2016-05-05 14:13:05.148771 [DEBUG] sofia.c:6868 Remote SDP:<br>v=0<br>o=cp10 146245758681 146245758681 IN IP4 10.7.16.156<br>s=SIP Call<br>c=IN IP4 91.121.129.144<br>t=0 0<br>m=audio 35112 RTP/AVP 18 0 8 101<br>b=AS:21<br>a=rtpmap:18 G729/8000/1<br>a=fmtp:18 annexb=no<br>a=rtpmap:0 PCMU/8000/1<br>a=rtpmap:8 PCMA/8000/1<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-15<br>a=ptime:30</div><div>2016-05-05 14:13:05.148771 [DEBUG] sofia.c:7227 (sofia/external/anonymous@anonymous.invalid) State Change CS_NEW -> CS_INIT<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:562 (sofia/external/anonymous@anonymous.invalid) State NEW<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:543 (sofia/external/anonymous@anonymous.invalid) Running State Change CS_INIT<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:586 (sofia/external/anonymous@anonymous.invalid) State INIT<br>2016-05-05 14:13:05.148771 [DEBUG] mod_sofia.c:89 sofia/external/anonymous@anonymous.invalid SOFIA INIT<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:40 sofia/external/anonymous@anonymous.invalid Standard INIT<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:48 (sofia/external/anonymous@anonymous.invalid) State Change CS_INIT -> CS_ROUTING<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:586 (sofia/external/anonymous@anonymous.invalid) State INIT going to sleep<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:543 (sofia/external/anonymous@anonymous.invalid) Running State Change CS_ROUTING<br>2016-05-05 14:13:05.148771 [DEBUG] switch_channel.c:2249 (sofia/external/anonymous@anonymous.invalid) Callstate Change DOWN -> RINGING<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:602 (sofia/external/anonymous@anonymous.invalid) State ROUTING<br>2016-05-05 14:13:05.148771 [DEBUG] mod_sofia.c:142 sofia/external/anonymous@anonymous.invalid SOFIA ROUTING<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:236 sofia/external/anonymous@anonymous.invalid Standard ROUTING<br>2016-05-05 14:13:05.148771 [INFO] mod_dialplan_xml.c:637 Processing Anonymous <anonymous>->opensips in context public<br>Dialplan: sofia/external/anonymous@anonymous.invalid parsing [public->unloop] continue=false<br>Dialplan: sofia/external/anonymous@anonymous.invalid Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false<br>Dialplan: sofia/external/anonymous@anonymous.invalid Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false<br>Dialplan: sofia/external/anonymous@anonymous.invalid parsing [public->outside_call] continue=true<br>Dialplan: sofia/external/anonymous@anonymous.invalid Absolute Condition [outside_call]<br>Dialplan: sofia/external/anonymous@anonymous.invalid Action set(outside_call=true)<br>Dialplan: sofia/external/anonymous@anonymous.invalid Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})<br>Dialplan: sofia/external/anonymous@anonymous.invalid parsing [public->call_debug] continue=true<br>Dialplan: sofia/external/anonymous@anonymous.invalid Regex (FAIL) [call_debug] ${call_debug}(false) =~ /^true$/ break=never<br>Dialplan: sofia/external/anonymous@anonymous.invalid parsing [public->public_extensions] continue=false<br>Dialplan: sofia/external/anonymous@anonymous.invalid Regex (FAIL) [public_extensions] destination_number(opensips) =~ /^(10[01][0-9])$/ break=on-false<br>Dialplan: sofia/external/anonymous@anonymous.invalid parsing [public->public_did] continue=false<br>Dialplan: sofia/external/anonymous@anonymous.invalid Regex (PASS) [public_did] ${sip_to_user}(0972550428) =~ /(972550428)$/ break=on-false<br>Dialplan: sofia/external/anonymous@anonymous.invalid Action set(group_confirm_file=javascript monScript.js)<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:286 (sofia/external/anonymous@anonymous.invalid) State Change CS_ROUTING -> CS_EXECUTE<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:602 (sofia/external/anonymous@anonymous.invalid) State ROUTING going to sleep<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:543 (sofia/external/anonymous@anonymous.invalid) Running State Change CS_EXECUTE<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:609 (sofia/external/anonymous@anonymous.invalid) State EXECUTE<br>2016-05-05 14:13:05.148771 [DEBUG] mod_sofia.c:197 sofia/external/anonymous@anonymous.invalid SOFIA EXECUTE<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:328 sofia/external/anonymous@anonymous.invalid Standard EXECUTE<br>EXECUTE sofia/external/anonymous@anonymous.invalid set(outside_call=true)<br>2016-05-05 14:13:05.148771 [DEBUG] mod_dptools.c:1519 SET sofia/external/anonymous@anonymous.invalid [outside_call]=[true]<br>EXECUTE sofia/external/anonymous@anonymous.invalid export(RFC2822_DATE=Thu, 05 May 2016 14:13:05 +0000)<br>2016-05-05 14:13:05.148771 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RFC2822_DATE]=[Thu, 05 May 2016 14:13:05 +0000]<br>EXECUTE sofia/external/anonymous@anonymous.invalid set(group_confirm_file=javascript monScript.js)<br>2016-05-05 14:13:05.148771 [DEBUG] mod_dptools.c:1519 SET sofia/external/anonymous@anonymous.invalid [group_confirm_file]=[javascript monScript.js]<br>2016-05-05 14:13:05.148771 [NOTICE] switch_core_state_machine.c:385 sofia/external/anonymous@anonymous.invalid has executed the last dialplan instruction, hanging up.<br>2016-05-05 14:13:05.148771 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/anonymous@anonymous.invalid [CS_EXECUTE] [NORMAL_CLEARING]<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:609 (sofia/external/anonymous@anonymous.invalid) State EXECUTE going to sleep<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:543 (sofia/external/anonymous@anonymous.invalid) Running State Change CS_HANGUP<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:809 (sofia/external/anonymous@anonymous.invalid) Callstate Change RINGING -> HANGUP<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:811 (sofia/external/anonymous@anonymous.invalid) State HANGUP<br>2016-05-05 14:13:05.148771 [DEBUG] mod_sofia.c:437 Channel sofia/external/anonymous@anonymous.invalid hanging up, cause: NORMAL_CLEARING<br>2016-05-05 14:13:05.148771 [DEBUG] mod_sofia.c:574 <font style="background-color:rgb(255,0,0)"><strong>Responding to INVITE with: 480</strong></font><br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:60 sofia/external/anonymous@anonymous.invalid Standard HANGUP, cause: NORMAL_CLEARING<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:811 (sofia/external/anonymous@anonymous.invalid) State HANGUP going to sleep<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:578 (sofia/external/anonymous@anonymous.invalid) State Change CS_HANGUP -> CS_REPORTING<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:543 (sofia/external/anonymous@anonymous.invalid) Running State Change CS_REPORTING<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:897 (sofia/external/anonymous@anonymous.invalid) State REPORTING<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:174 sofia/external/anonymous@anonymous.invalid Standard REPORTING, cause: NORMAL_CLEARING<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:897 (sofia/external/anonymous@anonymous.invalid) State REPORTING going to sleep<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:569 (sofia/external/anonymous@anonymous.invalid) State Change CS_REPORTING -> CS_DESTROY<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_session.c:1646 Session 49 (sofia/external/anonymous@anonymous.invalid) Locked, Waiting on external entities<br>2016-05-05 14:13:05.148771 [NOTICE] switch_core_session.c:1664 Session 49 (sofia/external/anonymous@anonymous.invalid) Ended<br>2016-05-05 14:13:05.148771 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/anonymous@anonymous.invalid [CS_DESTROY]<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:700 (sofia/external/anonymous@anonymous.invalid) Running State Change CS_DESTROY<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:710 (sofia/external/anonymous@anonymous.invalid) State DESTROY<br>2016-05-05 14:13:05.148771 [DEBUG] mod_sofia.c:342 sofia/external/anonymous@anonymous.invalid SOFIA DESTROY<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:181 sofia/external/anonymous@anonymous.invalid Standard DESTROY<br>2016-05-05 14:13:05.148771 [DEBUG] switch_core_state_machine.c:710 (sofia/external/anonymous@anonymous.invalid) State DESTROY going to sleep<br>2016-05-05 14:13:07.828788 [NOTICE] switch_channel.c:1104 New Channel sofia/external/anonymous@anonymous.invalid [7db92498-12cb-11e6-b699-75ea2a7b416e]<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:543 (sofia/external/anonymous@anonymous.invalid) Running State Change CS_NEW<br>2016-05-05 14:13:07.828788 [DEBUG] sofia.c:9376 sofia/external/anonymous@anonymous.invalid receiving invite from <a href="http://10.0.0.4:5060" target="_blank">10.0.0.4:5060</a> version: 1.7.0 git 6fc6efa 2016-05-03 02:03:34Z 64bit<br>2016-05-05 14:13:07.828788 [DEBUG] sofia.c:6858 Channel sofia/external/anonymous@anonymous.invalid entering state [received][100]<br>2016-05-05 14:13:07.828788 [DEBUG] sofia.c:6868 Remote SDP:<br>v=0<br>o=cp10 146245758905 146245758905 IN IP4 10.7.1.121<br>s=SIP Call<br>c=IN IP4 91.121.129.155<br>t=0 0<br>m=audio 35684 RTP/AVP 18 4 0 8 125 111 101<br>b=AS:21<br>a=rtpmap:18 G729/8000/1<br>a=fmtp:18 annexb=no<br>a=rtpmap:4 G723/8000/1<br>a=fmtp:4 annexa=no<br>a=rtpmap:0 PCMU/8000/1<br>a=rtpmap:8 PCMA/8000/1<br>a=rtpmap:125 CLEARMODE/8000/1<br>a=rtpmap:111 iLBC/8000/1<br>a=fmtp:111 mode=30<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-15<br>a=ptime:30</div><div>2016-05-05 14:13:07.828788 [DEBUG] sofia.c:7227 (sofia/external/anonymous@anonymous.invalid) State Change CS_NEW -> CS_INIT<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:562 (sofia/external/anonymous@anonymous.invalid) State NEW<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:543 (sofia/external/anonymous@anonymous.invalid) Running State Change CS_INIT<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:586 (sofia/external/anonymous@anonymous.invalid) State INIT<br>2016-05-05 14:13:07.828788 [DEBUG] mod_sofia.c:89 sofia/external/anonymous@anonymous.invalid SOFIA INIT<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:40 sofia/external/anonymous@anonymous.invalid Standard INIT<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:48 (sofia/external/anonymous@anonymous.invalid) State Change CS_INIT -> CS_ROUTING<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:586 (sofia/external/anonymous@anonymous.invalid) State INIT going to sleep<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:543 (sofia/external/anonymous@anonymous.invalid) Running State Change CS_ROUTING<br>2016-05-05 14:13:07.828788 [DEBUG] switch_channel.c:2249 (sofia/external/anonymous@anonymous.invalid) Callstate Change DOWN -> RINGING<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:602 (sofia/external/anonymous@anonymous.invalid) State ROUTING<br>2016-05-05 14:13:07.828788 [DEBUG] mod_sofia.c:142 sofia/external/anonymous@anonymous.invalid SOFIA ROUTING<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:236 sofia/external/anonymous@anonymous.invalid Standard ROUTING<br>2016-05-05 14:13:07.828788 [INFO] mod_dialplan_xml.c:637 Processing Anonymous <anonymous>->opensips in context public<br>Dialplan: sofia/external/anonymous@anonymous.invalid parsing [public->unloop] continue=false<br>Dialplan: sofia/external/anonymous@anonymous.invalid Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false<br>Dialplan: sofia/external/anonymous@anonymous.invalid Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false<br>Dialplan: sofia/external/anonymous@anonymous.invalid parsing [public->outside_call] continue=true<br>Dialplan: sofia/external/anonymous@anonymous.invalid Absolute Condition [outside_call]<br>Dialplan: sofia/external/anonymous@anonymous.invalid Action set(outside_call=true)<br>Dialplan: sofia/external/anonymous@anonymous.invalid Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})<br>Dialplan: sofia/external/anonymous@anonymous.invalid parsing [public->call_debug] continue=true<br>Dialplan: sofia/external/anonymous@anonymous.invalid Regex (FAIL) [call_debug] ${call_debug}(false) =~ /^true$/ break=never<br>Dialplan: sofia/external/anonymous@anonymous.invalid parsing [public->public_extensions] continue=false<br>Dialplan: sofia/external/anonymous@anonymous.invalid Regex (FAIL) [public_extensions] destination_number(opensips) =~ /^(10[01][0-9])$/ break=on-false<br>Dialplan: sofia/external/anonymous@anonymous.invalid parsing [public->public_did] continue=false<br>Dialplan: sofia/external/anonymous@anonymous.invalid Regex (PASS) [public_did] ${sip_to_user}(0972550428) =~ /(972550428)$/ break=on-false<br>Dialplan: sofia/external/anonymous@anonymous.invalid Action set(group_confirm_file=javascript monScript.js)<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:286 (sofia/external/anonymous@anonymous.invalid) State Change CS_ROUTING -> CS_EXECUTE<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:602 (sofia/external/anonymous@anonymous.invalid) State ROUTING going to sleep<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:543 (sofia/external/anonymous@anonymous.invalid) Running State Change CS_EXECUTE<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:609 (sofia/external/anonymous@anonymous.invalid) State EXECUTE<br>2016-05-05 14:13:07.828788 [DEBUG] mod_sofia.c:197 sofia/external/anonymous@anonymous.invalid SOFIA EXECUTE<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:328 sofia/external/anonymous@anonymous.invalid Standard EXECUTE<br>EXECUTE sofia/external/anonymous@anonymous.invalid set(outside_call=true)<br>2016-05-05 14:13:07.828788 [DEBUG] mod_dptools.c:1519 SET sofia/external/anonymous@anonymous.invalid [outside_call]=[true]<br>EXECUTE sofia/external/anonymous@anonymous.invalid export(RFC2822_DATE=Thu, 05 May 2016 14:13:07 +0000)<br>2016-05-05 14:13:07.828788 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RFC2822_DATE]=[Thu, 05 May 2016 14:13:07 +0000]<br>EXECUTE sofia/external/anonymous@anonymous.invalid set(group_confirm_file=javascript monScript.js)<br>2016-05-05 14:13:07.828788 [DEBUG] mod_dptools.c:1519 SET sofia/external/anonymous@anonymous.invalid [group_confirm_file]=[javascript monScript.js]<br>2016-05-05 14:13:07.828788 [NOTICE] switch_core_state_machine.c:385 sofia/external/anonymous@anonymous.invalid has executed the last dialplan instruction, hanging up.<br>2016-05-05 14:13:07.828788 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/anonymous@anonymous.invalid [CS_EXECUTE] [NORMAL_CLEARING]<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:609 (sofia/external/anonymous@anonymous.invalid) State EXECUTE going to sleep<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:543 (sofia/external/anonymous@anonymous.invalid) Running State Change CS_HANGUP<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:809 (sofia/external/anonymous@anonymous.invalid) Callstate Change RINGING -> HANGUP<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:811 (sofia/external/anonymous@anonymous.invalid) State HANGUP<br>2016-05-05 14:13:07.828788 [DEBUG] mod_sofia.c:437 Channel sofia/external/anonymous@anonymous.invalid hanging up, cause: NORMAL_CLEARING<br>2016-05-05 14:13:07.828788 [DEBUG] mod_sofia.c:574 <strong><font style="background-color:rgb(255,0,0)">Responding to INVITE with: 480</font></strong><br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:60 sofia/external/anonymous@anonymous.invalid Standard HANGUP, cause: NORMAL_CLEARING<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:811 (sofia/external/anonymous@anonymous.invalid) State HANGUP going to sleep<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:578 (sofia/external/anonymous@anonymous.invalid) State Change CS_HANGUP -> CS_REPORTING<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:543 (sofia/external/anonymous@anonymous.invalid) Running State Change CS_REPORTING<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:897 (sofia/external/anonymous@anonymous.invalid) State REPORTING<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:174 sofia/external/anonymous@anonymous.invalid Standard REPORTING, cause: NORMAL_CLEARING<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:897 (sofia/external/anonymous@anonymous.invalid) State REPORTING going to sleep<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:569 (sofia/external/anonymous@anonymous.invalid) State Change CS_REPORTING -> CS_DESTROY<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_session.c:1646 Session 50 (sofia/external/anonymous@anonymous.invalid) Locked, Waiting on external entities<br>2016-05-05 14:13:07.828788 [NOTICE] switch_core_session.c:1664 Session 50 (sofia/external/anonymous@anonymous.invalid) Ended<br>2016-05-05 14:13:07.828788 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/anonymous@anonymous.invalid [CS_DESTROY]<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:700 (sofia/external/anonymous@anonymous.invalid) Running State Change CS_DESTROY<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:710 (sofia/external/anonymous@anonymous.invalid) State DESTROY<br>2016-05-05 14:13:07.828788 [DEBUG] mod_sofia.c:342 sofia/external/anonymous@anonymous.invalid SOFIA DESTROY<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:181 sofia/external/anonymous@anonymous.invalid Standard DESTROY<br>2016-05-05 14:13:07.828788 [DEBUG] switch_core_state_machine.c:710 (sofia/external/anonymous@anonymous.invalid) State DESTROY going to sleep<br>freeswitch@back-1><br></div><div><br></div><div><br>root@back-1:/usr/local/freeswitch/bin# ./fs_cl<br></div><div><br></div><div><br><br></div>
</div>
<br>
Haute École de Bruxelles<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>