[Freeswitch-users] play_and_get_digits question

Madovsky infos at madovsky.org
Sun Feb 6 22:18:13 MSK 2011


sorry I think I really didn't undertand the play_and_get_digits concept.
is anyone can help ?

I just want to use this app to check a pin code, hangup if wrong and continue
dialplan if ok

Thanks
  ----- Original Message ----- 
  From: Madovsky 
  To: freeswitch-users at lists.freeswitch.org 
  Sent: Sunday, February 06, 2011 1:01 PM
  Subject: Re: play_and_get_digits question


  or maybe this channel var 
  read_result
  is the result of play_and_get_digits ?
    ----- Original Message ----- 
    From: Madovsky 
    To: freeswitch-users at lists.freeswitch.org 
    Sent: Sunday, February 06, 2011 12:43 PM
    Subject: Re: play_and_get_digits question


    Ok I think I misunderstood the concept of var where digits should be put in.
    it's with this var I need to ckeck after this application.

    self forum thank you ;)
      ----- Original Message ----- 
      From: Madovsky 
      To: freeswitch-users at lists.freeswitch.org 
      Sent: Sunday, February 06, 2011 12:29 PM
      Subject: play_and_get_digits question


      I have this lines in my dialplan

             <action application="play_and_get_digits" data="4 4 3 5000 # phrase:wait_foo phrase:bad_foo foo ${foo}"/>
             <action application="transfer" data="otherext XML features"/>

      if I don't press any DTMF, after 4 loops the dialplan continues,
      but I thought that it was automatically hangup in case of no digits bad digits...

      Did I forget something ?

      Thanks

      Franck

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110206/edc1b178/attachment.html 


More information about the FreeSWITCH-users mailing list