Displaying 1 result from an estimated 1 matches for "accept_reject".
2005 Jan 19
5
Call Screen Macro Not Exiting when call rejected
...=> s,4,GotoIf($[${ACCEPT} = 1]?6:5) ;1 = connect else return
exten => s,5,SetVar(MACRO_RESULT=CONTINUE)
exten => s,6,NOOP()
Output from Console --
-- Executing Wait("IAX2/1001/14", "0.2") in new stack
-- Executing Playback("IAX2/1001/14", "og-accept_reject") in new stack
-- Playing 'og-accept_reject' (language 'en')
-- Executing Read("IAX2/1001/14", "ACCEPT||1") in new stack
-- Accepting a maximum of 1 digits.
-- User entered '2'
-- Executing GotoIf("IAX2/1001/14", "0...