[Freeswitch-users] new freeswitch/fusionpbx user

Carlo Dimaggio jaasmailing at gmail.com
Wed Jul 11 11:07:34 MSD 2012


Hi Terry,
what about calling directly ivr extension 5002?

I'm using ivr in fusionpbx without problems...



Il 11/07/12 01.19, Terry Barnum ha scritto:
> I'm starting to find my way around freeswitch via fusionpbx and have it running with a free DID, two X-Lite softphones and 3CXPhone on an iPhone. After creating a recording, an IVR menu and an inbound route to the IVR, a test call coming in on the DID complains it can't find the menu:
>
> 2012-07-08 11:28:36.451506 [NOTICE] switch_channel.c:926 New Channel sofia/external/<masked>@www.xxx.yyy.zzz [82327424-822d-44a4-9aa5-c20fdce2f356]
> 2012-07-08 11:28:36.451506 [INFO] mod_dialplan_xml.c:485 Processing<masked>  <<masked>>-><masked>  in context public
> 2012-07-08 11:28:36.471501 [NOTICE] switch_ivr.c:1729 Transfer sofia/extemernal/<masked>@www.xxx.yyy.zzz to XML[5002 at default]
> 2012-07-08 11:28:36.471501 [INFO] mod_dialplan_xml.c:485 Processing<masked>  <<masked>>->5002 in context default
> 2012-07-08 11:28:36.551572 [NOTICE] mod_dptools.c:1148 Channel [sofia/external/<masked>@www.xxx.yyy.zzz] has been answered
> 2012-07-08 11:28:37.571514 [ERR] mod_dptools.c:1775 Unable to find menu
> 2012-07-08 11:28:37.571514 [NOTICE] switch_core_state_machine.c:249 sofia/external/<masked>@www.xxx.yyy.zzz has executed the last dialplan instruction, hanging up.
> 2012-07-08 11:28:37.571514 [NOTICE] switch_core_state_machine.c:251 Hangup sofia/external/<masked>@www.xxx.yyy.zzz [CS_EXECUTE] [NORMAL_CLEARING]
> 2012-07-08 11:28:37.591511 [NOTICE] switch_core_session.c:1446 Session 1 (sofia/external/<masked>@www.xxx.yyy.zzz) Ended
> 2012-07-08 11:28:37.591511 [NOTICE] switch_core_session.c:1448 Close Channel sofia/external/<masked>@www.xxx.yyy.zzz [CS_DESTROY]
>
> I can see that the newly created choosevm ivr menu exists:
>
> $ sudo ls -l *.xml /usr/local/freeswitch/conf/ivr_menus/
> -rw-rw----  1 _www  _www  2878 Jun 20 00:08 demo_ivr.xml
> -rw-r--r--  1 _www  _www   632 Jul  8 11:08 v_choosevm.xml
>
> $ sudo cat /usr/local/freeswitch/conf/ivr_menus/v_choosevm.xml
> <include>
> 	<menu name="choosevm"
> 		greet-long="/usr/local/freeswitch/recordings/recording1.wav"
> 		greet-short="/usr/local/freeswitch/recordings/"
> 		invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav"
> 		exit-sound=""
> 		confirm-macro=""
> 		confirm-key=""
> 		tts-engine="flite"
> 		tts-voice="rms"
> 		confirm-attempts="3"
> 		timeout="3000"
> 		inter-digit-timeout="2000"
> 		max-failures="3"
> 		max-timeouts="3"
> 		digit-len="5">
> 		<entry action="menu-exec-app" digits="1" param="transfer 2002 XML default"/>
> 		<entry action="menu-exec-app" digits="2" param="transfer 2003 XML default"/>
> 	</menu>
> </include>
>
> $ sudo cat /usr/local/freeswitch/conf/dialplan/default/333_v_choosevm.xml
> <extension name="choosevm">
>    <condition field="destination_number" expression="^5002$">
>        <action application="answer" />
>        <action application="sleep" data="1000" />
>        <action application="set" data="hangup_after_bridge=true" />
>        <action application="ivr" data="choosevm" />
>    </condition>
> </extension>
>
> Is there something else necessary for the ivr menu to be found? I realize that I'm abstracted from freeswitch a bit by using fusionpbx as a front-end, but is this still the right place to ask?
>
> Thanks,
> -Terry
>
>
> _________________________________________________________________________
> 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
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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




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