[Asterisk-Users] transfer?
Jeremy Jones
jjones at westcomllc.com
Wed Mar 24 09:47:02 MST 2004
Ok I give up!
What do I have to do to my extensions to implement transfer? I've seen
mention of tacking a t or a T on the end of the dial string... So
here's a macro that I use for extensions:
[macro-stdexten]
;
; Standard extension macro (with call forwarding):
; ${ARG1} - Extension(we could have used ${MACRO_EXTEN} here as well
; ${ARG2} - Device(s) to ring
;
exten=s,1,DBget(temp=CFIM/${ARG1}) ; Get CFIM key, if not existing, goto
102
exten=s,2,Dial(${SIPTRUNK}/${EXTEN}) ; Unconditional forward
exten=s,3,Dial(${ARG2},20,T) ; 20sec timeout
exten=s,4,DBget(temp=CFBS/${ARG1}) ; Get CFBS key, if not existing,
goto 105
exten=s,5,Dial(${SIPTRUNK}/${EXTEN}) ; Forward on busy or unavailable
; No CFIM key
exten=s,102,Goto(s,3)
; No CFBS key - voicemail ?
exten=s,105,Voicemail(u${ARG1}@${MACRO_CONTEXT})
exten=s,106,Hangup
exten=s,107,Voicemail(b${ARG1}@${MACRO_CONTEXT})
exten=s,108,Hangup
Is this all wrong? Please tell me where... I have sip-speaking
Grandstream HandyTone-286 ATAs. What's the standard transfer sequence?
Flash-5<number> or something like that?
Thanks,
Jeremy Jones
More information about the asterisk-users
mailing list