Created
May 28, 2009 21:35
-
-
Save wwalker/119594 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# we get a PIN, here's the last DTMF of the pin (#): | |
DEBUG agi: >>> WAIT FOR DIGIT 6000 | |
DEBUG agi: <<< 200 result=35 | |
DEBUG agi: >>> EXEC playback 247_messages/4 | |
DEBUG agi: <<< 200 result=0 | |
# pressed 1 | |
DEBUG agi: >>> EXEC BACKGROUND 247/are_you_able_to_respond | |
DEBUG agi: <<< 200 result=0 | |
# pressed 1 | |
DEBUG agi: >>> EXEC BACKGROUND 247/press_one_for_yes | |
DEBUG agi: <<< 200 result=0 | |
# pressed 1 | |
# pressed 1 | |
DEBUG agi: >>> EXEC BACKGROUND 247/press_two_for_no | |
DEBUG agi: <<< 200 result=0 | |
# pressed 1 | |
DEBUG agi: >>> EXEC BACKGROUND 247/press_three_to_hear_this_message_again | |
DEBUG agi: <<< 200 result=0 | |
# pressed 1 | |
DEBUG agi: >>> WAIT FOR DIGIT 6000 | |
DEBUG agi: <<< 200 result=0 | |
# None of the DTMF for this command show up: | |
# query = '247/are_you_able_to_respond' | |
response = input 1, | |
:timeout => DTMF_TIMEOUT_SECONDS, | |
:play => [ query, '247/press_one_for_yes', | |
'247/press_two_for_no', '247/press_three_to_hear_this_messa | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment