[Freeswitch-users] Problem menuselection not working with Play_and_get_digits Menuselection

Thomas Hoellriegel admin at blindi.net
Thu May 12 01:31:17 MSD 2011


  Hi all,
  i have create a menuselection via play_and_get_digits.
  Problem, this application ignore the digits 1 and 2.
  This is my dialplanextestnion:

  <extension name="callback_only_menuselection">
  <condition field="destination_number" expression="^callback_only_sel$"/>
     <condition field="${ivrlevel}" expression="^$" break="never">
       <action application="play_and_get_digits"
       data="0 1 1 5000 #
      $${base_dir}/sounds/callback/confirm-callback-press1.alaw
     $${base_dir}/sounds/callback/invalid.alaw  nr1 [1-2]"/>

     </condition>
     <condition field="${ivrlevel}-${nr1}" expression="^1$" >
  <action application="playback"
    data="$${base_dir}/sounds/callback/callback-send.alaw"/>
  <action application="system" data="$${base_dir}/scripts/callback.sh"/>
     </condition>
     <condition field="${ivrlevel}-${nr1}" expression="^2$">
  <action application="ivr" data="callback_only_ivr"/>
     </condition>
   </extension>

  I press 1 and 2 play_and_get_digits don.t execute these actions.
  What is wrong?
  Thanks.

---------------
Du kannst mich jederzeit kostenlos per Festnetz erreichen unter:
http://www.blindi.net/callback
homepage: http://www.blindi.net
blinde-misc mailingliste für blinde. anmeldung unter:
http://www.blindi.net/mailman/listinfo/blinde-misc


More information about the FreeSWITCH-users mailing list