Displaying 1 result from an estimated 1 matches for "calleduserscontext".
2006 Dec 15
2
Trying to forward calls by using the Callee's context as the forward dial context
...onf
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(dial_time)
;ok, they are an Zap device so use... Uhhhhh.
exten => s,n(ZapDev),NoOp( I have...