Displaying 1 result from an estimated 1 matches for "dtmfinput".
2013 Aug 28
3
Dedicated hangup extension h
...ion to perform a CURL action whenever the user hangs up. The problem is that once I've registered a h extension, it is executed for all extensions in the incoming context.
exten => _X.,1,Playback(invalid)
exten => _X.,n,Hangup
exten => 1000,1,Playback(welcome)
exten => 1000,n,Read(dtmfinput,,,,,15)
exten => 1000,n,Hangup
exten => h,1,Set(response=${CURL(http://sample.company.local/PostHandler.ashx,var1=${dtmfinput}&var2=1000)}<http://sample.company.local/PostHandler.ashx,var1=$%7bdtmfinput%7d&var2=1000)%7d>)
Is it possible to give each extension its own h extensi...