search for: johns_phone

Displaying 1 result from an estimated 1 matches for "johns_phone".

2006 Dec 15
2
Trying to forward calls by using the Callee's context as the forward dial context
...but not for IAX or Zap Devices. I need some pointers on getting IAXPEER to work and how to handle getting the ZAP context info. If there's an easier way, I'm all ears. Thanks. ; #####################Set Some Variables#################### exten => s,1,Set(DEVICE=${ARG1}) ;i.e. SIP/johns_phone exten => s,n,Set(Protocol=${CUT(DEVICE,/,1)}) ;Parse out SIP exten => s,n,Set(Phone=${CUT(DEVICE,/,2)}) ;Parse out johns_phone ;Stuff omitted for some amout of brevity.... ; #####################Make Forward Calls###################### ; We only want people to be able to forward to numbers...