Displaying 1 result from an estimated 1 matches for "src_ext".
Did you mean:
r_ext
2004 Jul 15
1
"Reverse Hold" feature prototype...
...--------------
;This is used in case you manually set the callerid
;in your extensions.conf, ie: Nufone
;It saves the originating EXT for use later on.
;I tried getting the src channel, and just dialing it back,
;but it didn't work out so well.
[macro-set-callerid]
exten => s,1,setGlobalVar(SRC_EXT=${CALLERIDNUM})
exten => s,2,SetCallerID(${ARG1})
exten => s,3,SetCIDName(${ARG2})
[reverse-hold]
exten => s,1,GotoIf($["${SRC_EXT}" = ""]?99:2)
exten => s,2,NoOp(Reverse Hold from: ${SRC_EXT})
exten => s,3,AbsoluteTimeout,600 ;10 mins, then force a callback to...