Displaying 1 result from an estimated 1 matches for "sm_press_one_to_hear_message".
2007 Aug 17
0
analog lines running agi on hangup question
...ss a digit
how do I run an agi on that event.
I tried an exten => h,1,agi(smvoice,-digium_failed) but that was never
called.
I am using 1.4.10
thanks,
Jerry
---------------------------
[smvoice-analog]
exten => s,1,Wait(1)
exten => s,2,Set(TIMEOUT(absolute)=30)
exten => s,3,Background(SM_PRESS_ONE_TO_HEAR_MESSAGE)
exten => s,4,Goto(s,3)
; Accept any digit to continue (turn off the timer)
exten => _X,1,Set(TIMEOUT(absolute)=0)
exten => _X,2,agi(smvoice,-digium_asterisk)
exten => i,1,agi(smvoice,-digium_failed)
exten => t,1,agi(smvoice,-digium_failed)
exten => T,1,agi(smvoice,-digium_fai...