Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetDigits not getting digits #101

Open
floristlinks opened this issue Jun 6, 2013 · 1 comment
Open

GetDigits not getting digits #101

floristlinks opened this issue Jun 6, 2013 · 1 comment

Comments

@floristlinks
Copy link

Hey, I am having problems getting the digits even though FS is detecting them, here is the XML I am calling, for some reason it is not displaying here right:

57.mp3 Input not received. Bye bye!

Now when I call, I press 1 and then # or sometimes just 1 and FS does the same thing, it detects it then that's it:

2013-06-06 11:45:22.332020 [DEBUG] switch_rtp.c:2805 RTP RECV DTMF 1:800
2013-06-06 11:45:22.332020 [DEBUG] switch_ivr_play_say.c:1444 done playing file
2013-06-06 11:45:22.332020 [DEBUG] mod_shout.c:158 Waiting for stream to terminate: 57.mp3
2013-06-06 11:45:22.462006 [DEBUG] mod_shout.c:440 Read Thread Done
2013-06-06 11:45:34.309331 [DEBUG] switch_rtp.c:2805 RTP RECV DTMF #:800
2013-06-06 11:45:34.311332 [DEBUG] switch_ivr_play_say.c:1737 Test Regex [1][^(1|3|2|4|5)+ 20000]
2013-06-06 11:45:34.311332 [DEBUG] switch_ivr_play_say.c:1152 Codec Activated L16@8000hz 1 channels 20ms
2013-06-06 11:45:34.467079 [DEBUG] switch_ivr_play_say.c:1444 done playing file
2013-06-06 11:45:34.473229 [DEBUG] switch_core_session.c:860 Send signal sofia/external/[email protected] [BREAK]
2013-06-06 11:45:34.487115 [DEBUG] switch_ivr.c:551 sofia/external/[email protected] Command Execute speak(flite|slt|Input not received. Bye bye!)
EXECUTE sofia/external/[email protected] speak(flite|slt|Input not received. Bye bye!)
2013-06-06 11:45:34.487115 [DEBUG] switch_ivr_play_say.c:2119 OPEN TTS flite
2013-06-06 11:45:34.487115 [DEBUG] switch_ivr_play_say.c:2128 Raw Codec Activated
2013-06-06 11:45:34.581212 [DEBUG] switch_ivr_play_say.c:1837 Speaking text: Input not received. Bye bye!

Plivo logs:

2013-06-06 11:45:16,257 plivo-outbound[5480]: INFO: (2079) Processing Call
2013-06-06 11:45:16,257 plivo-outbound[5480]: INFO: (2079) Fetching RESTXML from plivo.php
2013-06-06 11:45:16,257 plivo-outbound[5480]: INFO: (2079) Fetching GET plivo.php with {'$
2013-06-06 11:45:16,371 plivo-outbound[5480]: INFO: (2079) Sent to GET plivo.php with {'T$
2013-06-06 11:45:16,371 plivo-outbound[5480]: INFO: (2079) Requested RESTXML to plivo.php
2013-06-06 11:45:16,372 plivo-outbound[5480]: ERROR: (2079) Cache Error !
2013-06-06 11:45:16,372 plivo-outbound[5480]: ERROR: (2079) Cache Error: <urlopen error [Errno 111] Connection refu$
2013-06-06 11:45:16,372 plivo-outbound[5480]: DEBUG: (2079) Answering because Element GetDigits need it
2013-06-06 11:45:16,372 plivo-outbound[5480]: DEBUG: (2079) Execute: answer args=, uuid='', lock=True, loops=1
2013-06-06 11:45:16,373 plivo-outbound[5480]: DEBUG: (2079) Response: <CommandResponse headers={'Content-Type': 'co$
2013-06-06 11:45:16,374 plivo-outbound[5480]: INFO: (2079) [GetDigits] {'finishOnKey': '#', 'retries': 1, 'timeout$
2013-06-06 11:45:16,374 plivo-outbound[5480]: INFO: (2079) GetDigits Started ['shout://57.mp3$
2013-06-06 11:45:16,374 plivo-outbound[5480]: DEBUG: (2079) Execute: set args=playback_delimiter=!, uuid='', lock=T$
2013-06-06 11:45:16,375 plivo-outbound[5480]: DEBUG: (2079) Response: <CommandResponse headers={'Content-Type': 'co$
2013-06-06 11:45:16,376 plivo-outbound[5480]: DEBUG: (2079) Execute: play_and_get_digits args=1 99 1 20000 '#' 'fil$
2013-06-06 11:45:16,377 plivo-outbound[5480]: DEBUG: (2079) Response: <CommandResponse headers={'Content-Type': 'co$
2013-06-06 11:45:16,377 plivo-outbound[5480]: DEBUG: (2079) wait for action start
2013-06-06 11:45:34,470 plivo-outbound[5480]: DEBUG: (2079) wait for action end <Event headers={'variable_sip_use_c$
2013-06-06 11:45:34,471 plivo-outbound[5480]: DEBUG: (2079) Execute: api args='uuid_getvar 186ec872-617b-4ae8-9ea1-$
2013-06-06 11:45:34,472 plivo-outbound[5480]: DEBUG: (2079) Response: <ApiResponse headers={'Content-Length': '7', $
2013-06-06 11:45:34,472 plivo-outbound[5480]: INFO: (2079) GetDigits, No Digits Received
2013-06-06 11:45:34,473 plivo-outbound[5480]: INFO: (2079) [GetDigits] Done
2013-06-06 11:45:34,473 plivo-outbound[5480]: INFO: (2079) [Speak] Input not received. Bye bye! {'engine': 'flite',$
2013-06-06 11:45:34,473 plivo-outbound[5480]: DEBUG: (2079) Execute: speak args=flite|slt|Input not received. Bye b$
2013-06-06 11:45:34,474 plivo-outbound[5480]: DEBUG: (2079) Response: <CommandResponse headers={'Content-Type': 'co$
2013-06-06 11:45:34,474 plivo-outbound[5480]: DEBUG: (2079) Speaking 1 times ...
2013-06-06 11:45:34,474 plivo-outbound[5480]: DEBUG: (2079) wait for action start
2013-06-06 11:45:37,159 plivo-outbound[5480]: DEBUG: (2079) wait for action end <Event headers={'variable_sip_use_c$
2013-06-06 11:45:37,159 plivo-outbound[5480]: DEBUG: (2079) Speak 1 times done (none)
2013-06-06 11:45:37,168 plivo-outbound[5480]: INFO: (2079) Speak Finished
2013-06-06 11:45:37,168 plivo-outbound[5480]: INFO: (2079) [Speak] Done
2013-06-06 11:45:37,168 plivo-outbound[5480]: WARNING: (2079) No more Elements !

@floristlinks
Copy link
Author

Problem finally solved! Had to update FS to the latest version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant