<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: d_iego@msn.com<br>To: freeswitch-users-owner@lists.freeswitch.org<br>Subject: IVR EXTERNAL TIMEOUT BRIDGE PROBLEM<br>Date: Thu, 11 Apr 2013 18:08:51 +0000<br><br>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<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/76xxxx99@200.119.223.228 sleep(2000) </div><div>2013-04-11 13:49:11.729600 [DEBUG] switch_core_session.c:875 Send signal sofia/external/76xxxx99@200.119.223.228 [BREAK] </div><div>2013-04-11 13:49:11.729600 [DEBUG] switch_core_session.c:875 Send signal sofia/external/76xxxx99@200.119.223.228 [BREAK] </div><div>2013-04-11 13:49:11.729600 [DEBUG] switch_core_session.c:875 Send signal sofia/external/76xxxx99@200.119.223.228 [BREAK] </div><div>2013-04-11 13:49:11.749600 [DEBUG] sofia.c:5431 Channel sofia/external/76xxxx99@200.119.223.228 entering state [ready][200] </div><div>EXECUTE sofia/external/76xxxx99@200.119.223.228 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/76xxxx99@200.119.223.228 has executed the last dialplan instruction, hanging up. </div><div>2013-04-11 13:49:29.769600 [DEBUG] switch_channel.c:2846 (sofia/external/76xxxx99@200.119.223.228) Callstate Change ACTIVE -> HANGUP </div><div><br></div><div>internal call:</div><div>EXECUTE sofia/internal/101@192.168.0.26:5060 sleep(1000) </div><div>EXECUTE sofia/internal/101@192.168.0.26:5060 set(hangup_after_bridge=true) </div><div>2013-04-11 14:01:38.948600 [DEBUG] mod_dptools.c:1286 sofia/internal/101@192.168.0.26:5060 SET [hangup_after_bridge]=[true] </div><div>EXECUTE sofia/internal/101@192.168.0.26:5060 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/101@192.168.0.26:5060 bridge(sofia/internal/1001@192.168.0.26) </div><div>2013-04-11 14:01:55.208600 [DEBUG] switch_channel.c:1045 sofia/internal/101@192.168.0.26:5060 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/1001@192.168.0.26 [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/1001@192.168.0.26"/> </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></body>
</html>