VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
svap at devnull.ru Guest
|
Posted: Tue Oct 14, 2008 12:19 am Post subject: [Freeswitch-users] ivr and start_dtmf |
|
|
hi guys,
here is ivr i'm trying to use. but i've got a problem that first dtmf digit detected twice.
maybe i'm doing something wrong? as a workaround i just added same digit to make it work.
<menu name="rostov_aa"
greet-long="/opt/freeswitch/sounds/aa/greeting.wav"
timeout="10000"
inter-digit-timeout="2000"
max-failures="3"
digit-len="5">
<entry action="menu-exec-app" digits="00" param="transfer 6007 XML default"/>
<entry action="menu-exec-app" digits="11" param="transfer 6003 XML default"/>
<entry action="menu-exec-app" digits="/^6(60[0123456][0-9]|6070)$/" param="transfer $1 XML default"/>
</menu>
<extension name="did_2688950">
<condition field="destination_number" expression="^(2688950)$">
<action application="answer"/>
<action application="sleep" data="2000"/>
<action application="start_dtmf" data="true"/>
<action application="ivr" data="rostov_aa"/>
<action application="set" data="call_timeout=60"/>
<action application="set" data="ringback=$${us-ring}"/>
<action application="bridge" data="sofia/internal/6002%$${domain}"/>
</condition>
</extension>
2008-10-14 09:03:24 [DEBUG] switch_ivr_menu.c:755 switch_ivr_menu_stack_xml_build() binding menu action 'menu-exec-app' to '00'
2008-10-14 09:03:24 [DEBUG] switch_ivr_menu.c:755 switch_ivr_menu_stack_xml_build() binding menu action 'menu-exec-app' to '11'
2008-10-14 09:03:24 [DEBUG] switch_ivr_menu.c:755 switch_ivr_menu_stack_xml_build() binding menu action 'menu-exec-app' to '/^6(60[0123456][0-9]|6070)$/'
2008-10-14 09:03:24 [DEBUG] switch_ivr_menu.c:374 switch_ivr_menu_execute() Executing IVR menu rostov_aa
2008-10-14 09:03:24 [DEBUG] switch_ivr_play_say.c:917 switch_ivr_play_file() Codec Activated L16@8000hz 1 channels 20ms
2008-10-14 09:03:24 [DEBUG] switch_core_session.c:435 switch_core_session_receive_message() Kill sofia/internal/4992711421@172.23.0.1 [BREAK]
2008-10-14 09:03:27 [DEBUG] switch_ivr_async.c:887 inband_dtmf_callback() DTMF DETECTED: [6]
2008-10-14 09:03:27 [DEBUG] switch_ivr_play_say.c:1207 switch_ivr_play_file() done playing file
2008-10-14 09:03:27 [DEBUG] switch_ivr_menu.c:296 play_and_collect() waiting for 4/5 digits t/o 2000
2008-10-14 09:03:27 [DEBUG] switch_core_session.c:435 switch_core_session_receive_message() Kill sofia/internal/4992711421@172.23.0.1 [BREAK]
2008-10-14 09:03:27 [DEBUG] switch_ivr_async.c:887 inband_dtmf_callback() DTMF DETECTED: [6]
2008-10-14 09:03:28 [DEBUG] switch_ivr_async.c:887 inband_dtmf_callback() DTMF DETECTED: [0]
2008-10-14 09:03:28 [DEBUG] switch_ivr_async.c:887 inband_dtmf_callback() DTMF DETECTED: [7]
2008-10-14 09:03:28 [DEBUG] switch_ivr_async.c:887 inband_dtmf_callback() DTMF DETECTED: [0]
2008-10-14 09:03:28 [DEBUG] switch_ivr_menu.c:341 play_and_collect() digits '66070'
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Tue Oct 14, 2008 10:28 am Post subject: [Freeswitch-users] ivr and start_dtmf |
|
|
can you record the audio and see if there is a gap in the middle of
the 6 digit?
Mike
On Oct 14, 2008, at 1:10 AM, Alex Vostrikov wrote:
Quote: | hi guys,
here is ivr i'm trying to use. but i've got a problem that first
dtmf digit detected twice.
maybe i'm doing something wrong? as a workaround i just added same
digit to make it work.
<menu name="rostov_aa"
greet-long="/opt/freeswitch/sounds/aa/greeting.wav"
timeout="10000"
inter-digit-timeout="2000"
max-failures="3"
digit-len="5">
<entry action="menu-exec-app" digits="00" param="transfer
6007 XML default"/>
<entry action="menu-exec-app" digits="11" param="transfer
6003 XML default"/>
<entry action="menu-exec-app" digits="/^6(60[0123456][0-9]|
6070)$/" param="transfer $1 XML default"/>
</menu>
<extension name="did_2688950">
<condition field="destination_number" expression="^(2688950)$">
<action application="answer"/>
<action application="sleep" data="2000"/>
<action application="start_dtmf" data="true"/>
<action application="ivr" data="rostov_aa"/>
<action application="set" data="call_timeout=60"/>
<action application="set" data="ringback=$${us-ring}"/>
<action application="bridge" data="sofia/internal/6002%$$
{domain}"/>
</condition>
</extension>
2008-10-14 09:03:24 [DEBUG] switch_ivr_menu.c:755
switch_ivr_menu_stack_xml_build() binding menu action 'menu-exec-
app' to '00'
2008-10-14 09:03:24 [DEBUG] switch_ivr_menu.c:755
switch_ivr_menu_stack_xml_build() binding menu action 'menu-exec-
app' to '11'
2008-10-14 09:03:24 [DEBUG] switch_ivr_menu.c:755
switch_ivr_menu_stack_xml_build() binding menu action 'menu-exec-
app' to '/^6(60[0123456][0-9]|6070)$/'
2008-10-14 09:03:24 [DEBUG] switch_ivr_menu.c:374
switch_ivr_menu_execute() Executing IVR menu rostov_aa
2008-10-14 09:03:24 [DEBUG] switch_ivr_play_say.c:917
switch_ivr_play_file() Codec Activated L16@8000hz 1 channels 20ms
2008-10-14 09:03:24 [DEBUG] switch_core_session.c:435
switch_core_session_receive_message() Kill sofia/internal/4992711421@172.23.0.1
[BREAK]
2008-10-14 09:03:27 [DEBUG] switch_ivr_async.c:887
inband_dtmf_callback() DTMF DETECTED: [6]
2008-10-14 09:03:27 [DEBUG] switch_ivr_play_say.c:1207
switch_ivr_play_file() done playing file
2008-10-14 09:03:27 [DEBUG] switch_ivr_menu.c:296 play_and_collect()
waiting for 4/5 digits t/o 2000
2008-10-14 09:03:27 [DEBUG] switch_core_session.c:435
switch_core_session_receive_message() Kill sofia/internal/4992711421@172.23.0.1
[BREAK]
2008-10-14 09:03:27 [DEBUG] switch_ivr_async.c:887
inband_dtmf_callback() DTMF DETECTED: [6]
2008-10-14 09:03:28 [DEBUG] switch_ivr_async.c:887
inband_dtmf_callback() DTMF DETECTED: [0]
2008-10-14 09:03:28 [DEBUG] switch_ivr_async.c:887
inband_dtmf_callback() DTMF DETECTED: [7]
2008-10-14 09:03:28 [DEBUG] switch_ivr_async.c:887
inband_dtmf_callback() DTMF DETECTED: [0]
2008-10-14 09:03:28 [DEBUG] switch_ivr_menu.c:341 play_and_collect()
digits '66070'
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|