Displaying 1 result from an estimated 1 matches for "zapdev".
Did you mean:
eapdev
2006 Dec 15
2
Trying to forward calls by using the Callee's context as the forward dial context
...ly call
; We'll have to somehow get their dialing contexts from the channel conf
files.
exten => s,n(Forward),NoOp()
exten => s,n,GotoIf($["${Protocol}" = "SIP"]?SIPDev)
exten => s,n,GotoIf($["${Protocol}" = "IAX2"]?IAXDev)
exten => s,n,Goto(ZapDev)
;ok, they are an IAX device so use IAXPEER
exten =>
s,n(IAXDev),Set(CalledUsersContext=${IAXPEER(${Phone}:context)})
exten => s,n,Goto(dial_time)
;ok, they are an SIP device so use SIPPEER
exten =>
s,n(SIPDev),Set(CalledUsersContext=${SIPPEER(${Phone}:context)})
exten => s,n,Goto(d...