[Freeswitch-users] IVR EXTERNAL TIMEOUT BRIDGE PROBLEM

Nandy Dagondon nandy1925 at gmail.com
Wed May 29 13:13:55 MSD 2013


Hi,

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.

What should be the expected of Exit?

/nandy
On Fri, Apr 12, 2013 at 2:18 AM, Diego Mendieta <d_iego at msn.com> wrote:

>
>
> ------------------------------
> From: d_iego at msn.com
> To: freeswitch-users-owner at lists.freeswitch.org
> Subject: IVR EXTERNAL TIMEOUT BRIDGE PROBLEM
> Date: Thu, 11 Apr 2013 18:08:51 +0000
>
> Hello World!
>
> I've been trying to solve an issue with my freeswitch pbx, please help me.
>
> 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.
>
> I am using fusionpbx.  Below I paste the log for both cases:
>
> EXECUTE sofia/external/76xxxx99 at 200.119.223.228 sleep(2000)
> 2013-04-11 13:49:11.729600 [DEBUG] switch_core_session.c:875 Send signal
> sofia/external/76xxxx99 at 200.119.223.228 [BREAK]
> 2013-04-11 13:49:11.729600 [DEBUG] switch_core_session.c:875 Send signal
> sofia/external/76xxxx99 at 200.119.223.228 [BREAK]
> 2013-04-11 13:49:11.729600 [DEBUG] switch_core_session.c:875 Send signal
> sofia/external/76xxxx99 at 200.119.223.228 [BREAK]
> 2013-04-11 13:49:11.749600 [DEBUG] sofia.c:5431 Channel sofia/external/
> 76xxxx99 at 200.119.223.228 entering state [ready][200]
> EXECUTE sofia/external/76xxxx99 at 200.119.223.228 ivr(bienvenida)
> 2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:665
> switch_ivr_menu_stack_xml_add binding 'menu-exit'
> 2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:665
> switch_ivr_menu_stack_xml_add binding 'menu-sub'
> 2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:665
> switch_ivr_menu_stack_xml_add binding 'menu-exec-app'
> 2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:665
> switch_ivr_menu_stack_xml_add binding 'menu-play-sound'
> 2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:665
> switch_ivr_menu_stack_xml_add binding 'menu-back'
> 2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:665
> switch_ivr_menu_stack_xml_add binding 'menu-top'
> 2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:796 building menu
> 'bienvenida'
> 2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '1'
> 2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '2'
> 2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '3'
> 2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '8'
> 2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '9'
> 2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '8'
> 2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '9'
> 2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '8'
> 2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '9'
> 2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '8'
> 2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '9'
> 2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '/(^\d{3,6}$)/'
> 2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_menu.c:433 Executing IVR
> menu bienvenida
> 2013-04-11 13:49:13.509600 [DEBUG] switch_ivr_play_say.c:1302 Codec
> Activated L16 at 8000hz 1 channels 20ms
> 2013-04-11 13:49:13.549600 [DEBUG] switch_rtp.c:3204 Correct ip/port
> confirmed.
> 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
> 2013-04-11 13:49:29.749600 [DEBUG] switch_ivr_menu.c:348 waiting for 5/5
> digits t/o 2000
> 2013-04-11 13:49:29.769600 [DEBUG] switch_ivr_menu.c:395 digits ''
> 2013-04-11 13:49:29.769600 [DEBUG] switch_ivr_menu.c:446 Maximum timeouts
> 2013-04-11 13:49:29.769600 [DEBUG] switch_ivr_menu.c:599 exit-sound
> '(null)'
> 2013-04-11 13:49:29.769600 [NOTICE] switch_core_state_machine.c:226
> sofia/external/76xxxx99 at 200.119.223.228 has executed the last dialplan
> instruction, hanging up.
> 2013-04-11 13:49:29.769600 [DEBUG] switch_channel.c:2846 (sofia/external/
> 76xxxx99 at 200.119.223.228) Callstate Change ACTIVE -> HANGUP
>
> internal call:
> EXECUTE sofia/internal/101 at 192.168.0.26:5060 sleep(1000)
> EXECUTE sofia/internal/101 at 192.168.0.26:5060set(hangup_after_bridge=true)
> 2013-04-11 14:01:38.948600 [DEBUG] mod_dptools.c:1286 sofia/internal/
> 101 at 192.168.0.26:5060 SET [hangup_after_bridge]=[true]
> EXECUTE sofia/internal/101 at 192.168.0.26:5060 ivr(bienvenida)
> 2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:665
> switch_ivr_menu_stack_xml_add binding 'menu-exit'
> 2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:665
> switch_ivr_menu_stack_xml_add binding 'menu-sub'
> 2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:665
> switch_ivr_menu_stack_xml_add binding 'menu-exec-app'
> 2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:665
> switch_ivr_menu_stack_xml_add binding 'menu-play-sound'
> 2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:665
> switch_ivr_menu_stack_xml_add binding 'menu-back'
> 2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:665
> switch_ivr_menu_stack_xml_add binding 'menu-top'
> 2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:796 building menu
> 'bienvenida'
> 2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '1'
> 2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '2'
> 2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '3'
> 2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '8'
> 2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '9'
> 2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '8'
> 2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '9'
> 2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '8'
> 2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '9'
> 2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '8'
> 2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '9'
> 2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:857 binding menu
> action 'menu-exec-app' to '/(^\d{3,6}$)/'
> 2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_menu.c:433 Executing IVR
> menu bienvenida
> 2013-04-11 14:01:38.948600 [DEBUG] switch_ivr_play_say.c:1302 Codec
> Activated L16 at 8000hz 1 channels 20ms
> 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
> 2013-04-11 14:01:55.188600 [DEBUG] switch_ivr_menu.c:348 waiting for 5/5
> digits t/o 2000
> 2013-04-11 14:01:55.208600 [DEBUG] switch_ivr_menu.c:395 digits ''
> 2013-04-11 14:01:55.208600 [DEBUG] switch_ivr_menu.c:446 Maximum timeouts
> 2013-04-11 14:01:55.208600 [DEBUG] switch_ivr_menu.c:599 exit-sound
> '(null)'
> EXECUTE sofia/internal/101 at 192.168.0.26:5060 bridge(sofia/internal/
> 1001 at 192.168.0.26)
> 2013-04-11 14:01:55.208600 [DEBUG] switch_channel.c:1045 sofia/internal/
> 101 at 192.168.0.26:5060 EXPORTING[export_vars] [domain_name]=[192.168.0.26]
> to event
> 2013-04-11 14:01:55.208600 [DEBUG] switch_ivr_originate.c:1884 Parsing
> global variables
> 2013-04-11 14:01:55.208600 [NOTICE] switch_channel.c:924 New Channel
> sofia/internal/1001 at 192.168.0.26 [c5904e71-b9ab-4f60-a098-9c8280f38aa7]
>
> Below I paste my dial plan configuration:
>
> <extension name="bienvenida" >
>    <condition field="destination_number" expression="^7000$" >
>        <action application="answer" />
>        <action application="sleep" data="1000" />
>        <action application="set" data="hangup_after_bridge=true" />
>        <action application="ivr" data="bienvenida" />
> <action application="bridge" data="sofia/internal/1001 at 192.168.0.26"/>
> </condition>
> </extension>
>
>
> Please help me.
>
> thank you,
>
> Diego
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130529/4ce2df51/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list