tropo / tropo-agitate

Script for Tropo that emulates the Asterisk AGI
http://tropo.com
MIT License
20 stars 15 forks source link

input method does not recognize "*" as a valid digit #3

Closed bklang closed 13 years ago

bklang commented 13 years ago

Use "input" to collect a DTMF response. If the user enters "*" an empty string is returned to AGI. On the Tropo debugger the following is seen:

14563       7d0f    02:04:09 AM     Call[4044754841->3108959449]->prompt event: NO_MATCH
14564       7d0f    02:04:09 AM     Call[4044754841->3108959449] : ====> Method not supported by Tropo AGI: : nil <====
14565       7d0f    02:04:09 AM     Call[4044754841->3108959449] : ====> Tropo AGI ACTION ERROR - Start <====
14566       7d0f    02:04:09 AM     Call[4044754841->3108959449] : ====> Error: Unable to execute the 200 result=-1 request. call_active?: true <====
14567       7d0f    02:04:09 AM     Call[4044754841->3108959449] : ====> Error output:: #<NoMethodError: undefined method `[]' for nil:NilClass> <====
14568       7d0f    02:04:09 AM     Call[4044754841->3108959449] : ====> Tropo AGI ACTION ERROR - End <====
jsgoecke commented 13 years ago

Fixed with this commit:

http://github.com/tropo/tropo-agitate/commit/03638eea90d2ff092e7839ab7c7de35562aba1bc