<div dir="ltr"><div>Hi,</div><div><br></div>It looks the IVR timeout and it executes transfer to extension 1001 as expected in your dialplan. There's no exit sound file played though. <div><br></div><div>What should be the expected of Exit? </div>
<div class="gmail_extra"><br></div><div class="gmail_extra">/nandy<br clear="all"><div>On Fri, Apr 12, 2013 at 2:18 AM, Diego Mendieta <span dir="ltr"><<a href="mailto:d_iego@msn.com" target="_blank">d_iego@msn.com</a>></span> wrote:<br>
</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr"><br><br><div><div></div><hr>From: <a href="mailto:d_iego@msn.com" target="_blank">d_iego@msn.com</a><br>To: <a href="mailto:freeswitch-users-owner@lists.freeswitch.org" target="_blank">freeswitch-users-owner@lists.freeswitch.org</a><br>
Subject: IVR EXTERNAL TIMEOUT BRIDGE PROBLEM<br>Date: Thu, 11 Apr 2013 18:08:51 +0000<br><br>
<div dir="ltr">Hello World!<div><br></div><div>I've been trying to solve an issue with my freeswitch pbx, please help me.</div><div><br></div><div>I have set up a Welcome IVR for all incoming calls. Its seems to work perfectley when dialed from internal extentions. The problems is that when I dial from an external phone the Exit Action is not executed, instead the phone call is terminated.</div>
<div><br></div><div>I am using fusionpbx. Below I paste the log for both cases:</div><div><br></div><div><div>EXECUTE sofia/external/<a href="mailto:76xxxx99@200.119.223.228" target="_blank">76xxxx99@200.119.223.228</a> sleep(2000) </div>
<div>2013-04-11 13:49:11.729600 [DEBUG] switch_core_session.c:875 Send signal sofia/external/<a href="mailto:76xxxx99@200.119.223.228" target="_blank">76xxxx99@200.119.223.228</a> [BREAK] </div><div>2013-04-11 13:49:11.729600 [DEBUG] switch_core_session.c:875 Send signal sofia/external/<a href="mailto:76xxxx99@200.119.223.228" target="_blank">76xxxx99@200.119.223.228</a> [BREAK] </div>
<div>2013-04-11 13:49:11.729600 [DEBUG] switch_core_session.c:875 Send signal sofia/external/<a href="mailto:76xxxx99@200.119.223.228" target="_blank">76xxxx99@200.119.223.228</a> [BREAK] </div><div>2013-04-11 13:49:11.749600 [DEBUG] sofia.c:5431 Channel sofia/external/<a href="mailto:76xxxx99@200.119.223.228" target="_blank">76xxxx99@200.119.223.228</a> entering state [ready][200] </div>
<div>EXECUTE sofia/external/<a href="mailto:76xxxx99@200.119.223.228" target="_blank">76xxxx99@200.119.223.228</a> ivr(bienvenida) </div><div>2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:665 switch_ivr_menu_stack_xml_add binding 'menu-exit' </div>
<div>2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:665 switch_ivr_menu_stack_xml_add binding 'menu-sub' </div><div>2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:665 switch_ivr_menu_stack_xml_add binding 'menu-exec-app' </div>
<div>2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:665 switch_ivr_menu_stack_xml_add binding 'menu-play-sound' </div><div>2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:665 switch_ivr_menu_stack_xml_add binding 'menu-back' </div>
<div>2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:665 switch_ivr_menu_stack_xml_add binding 'menu-top' </div><div>2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:796 building menu 'bienvenida' </div>
<div>2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '1' </div><div>2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '2' </div>
<div>2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '3' </div><div>2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '8' </div>
<div>2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '9' </div><div>2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '8' </div>
<div>2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '9' </div><div>2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '8' </div>
<div>2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '9' </div><div>2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '8' </div>
<div>2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '9' </div><div>2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '/(^\d{3,6}$)/' </div>
<div>2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:433 Executing IVR menu bienvenida </div><div>2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_play_say.c:1302 Codec Activated L16@8000hz 1 channels 20ms </div><div>2013-04-11 13:49:13.549600 [DEBUG] switch_rtp.c:3204 Correct ip/port confirmed. </div>
<div>2013-04-11 13:49:29.749600 [DEBUG] switch_ivr_play_say.c:1672 done playing file C:\Program Files\FusionPBX\sounds/es/mx/maria/ivr/bienvenida.wav </div><div>2013-04-11 13:49:29.749600 [DEBUG] switch_ivr_menu.c:348 waiting for 5/5 digits t/o 2000 </div>
<div>2013-04-11 13:49:29.769600 [DEBUG] switch_ivr_menu.c:395 digits '' </div><div>2013-04-11 13:49:29.769600 [DEBUG] switch_ivr_menu.c:446 Maximum timeouts </div><div>2013-04-11 13:49:29.769600 [DEBUG] switch_ivr_menu.c:599 exit-sound '(null)' </div>
<div>2013-04-11 13:49:29.769600 [NOTICE] switch_core_state_machine.c:226 sofia/external/<a href="mailto:76xxxx99@200.119.223.228" target="_blank">76xxxx99@200.119.223.228</a> has executed the last dialplan instruction, hanging up. </div>
<div>2013-04-11 13:49:29.769600 [DEBUG] switch_channel.c:2846 (sofia/external/<a href="mailto:76xxxx99@200.119.223.228" target="_blank">76xxxx99@200.119.223.228</a>) Callstate Change ACTIVE -> HANGUP </div><div><br></div>
<div>internal call:</div><div>EXECUTE sofia/internal/<a href="http://101@192.168.0.26:5060" target="_blank">101@192.168.0.26:5060</a> sleep(1000) </div><div>EXECUTE sofia/internal/<a href="http://101@192.168.0.26:5060" target="_blank">101@192.168.0.26:5060</a> set(hangup_after_bridge=true) </div>
<div>2013-04-11 14:01:38.948600 [DEBUG] mod_dptools.c:1286 sofia/internal/<a href="http://101@192.168.0.26:5060" target="_blank">101@192.168.0.26:5060</a> SET [hangup_after_bridge]=[true] </div><div>EXECUTE sofia/internal/<a href="http://101@192.168.0.26:5060" target="_blank">101@192.168.0.26:5060</a> ivr(bienvenida) </div>
<div>2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:665 switch_ivr_menu_stack_xml_add binding 'menu-exit' </div><div>2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:665 switch_ivr_menu_stack_xml_add binding 'menu-sub' </div>
<div>2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:665 switch_ivr_menu_stack_xml_add binding 'menu-exec-app' </div><div>2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:665 switch_ivr_menu_stack_xml_add binding 'menu-play-sound' </div>
<div>2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:665 switch_ivr_menu_stack_xml_add binding 'menu-back' </div><div>2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:665 switch_ivr_menu_stack_xml_add binding 'menu-top' </div>
<div>2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:796 building menu 'bienvenida' </div><div>2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '1' </div>
<div>2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '2' </div><div>2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '3' </div>
<div>2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '8' </div><div>2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '9' </div>
<div>2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '8' </div><div>2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '9' </div>
<div>2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '8' </div><div>2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '9' </div>
<div>2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '8' </div><div>2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '9' </div>
<div>2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu action 'menu-exec-app' to '/(^\d{3,6}$)/' </div><div>2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:433 Executing IVR menu bienvenida </div>
<div>2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_play_say.c:1302 Codec Activated L16@8000hz 1 channels 20ms </div><div>2013-04-11 14:01:55.188600 [DEBUG] switch_ivr_play_say.c:1672 done playing file C:\Program Files\FusionPBX\sounds/es/mx/maria/ivr/bienvenida.wav </div>
<div>2013-04-11 14:01:55.188600 [DEBUG] switch_ivr_menu.c:348 waiting for 5/5 digits t/o 2000 </div><div>2013-04-11 14:01:55.208600 [DEBUG] switch_ivr_menu.c:395 digits '' </div><div>2013-04-11 14:01:55.208600 [DEBUG] switch_ivr_menu.c:446 Maximum timeouts </div>
<div>2013-04-11 14:01:55.208600 [DEBUG] switch_ivr_menu.c:599 exit-sound '(null)' </div><div>EXECUTE sofia/internal/<a href="http://101@192.168.0.26:5060" target="_blank">101@192.168.0.26:5060</a> bridge(sofia/internal/<a href="mailto:1001@192.168.0.26" target="_blank">1001@192.168.0.26</a>) </div>
<div>2013-04-11 14:01:55.208600 [DEBUG] switch_channel.c:1045 sofia/internal/<a href="http://101@192.168.0.26:5060" target="_blank">101@192.168.0.26:5060</a> EXPORTING[export_vars] [domain_name]=[192.168.0.26] to event </div>
<div>2013-04-11 14:01:55.208600 [DEBUG] switch_ivr_originate.c:1884 Parsing global variables </div><div>2013-04-11 14:01:55.208600 [NOTICE] switch_channel.c:924 New Channel sofia/internal/<a href="mailto:1001@192.168.0.26" target="_blank">1001@192.168.0.26</a> [c5904e71-b9ab-4f60-a098-9c8280f38aa7] </div>
</div><div><br></div><div>Below I paste my dial plan configuration:</div><div><br></div><div><div><extension name="bienvenida" ></div><div> <condition field="destination_number" expression="^7000$" ></div>
<div> <action application="answer" /></div><div> <action application="sleep" data="1000" /></div><div> <action application="set" data="hangup_after_bridge=true" /></div>
<div> <action application="ivr" data="bienvenida" /></div><div><action application="bridge" data="sofia/internal/<a href="mailto:1001@192.168.0.26" target="_blank">1001@192.168.0.26</a>"/> </condition></div>
<div></extension></div></div><div><br></div><div><br></div><div>Please help me.</div><div><br></div><div>thank you,</div><div><br></div><div>Diego</div><div><br></div><div><br></div>                                            </div></div>                                            </div>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">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">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>