[Asterisk-Users] loggedoff extension - why does * say "is on the
phone"
Robert Rozman
rozman at fri.uni-lj.si
Tue Oct 5 18:23:48 MST 2004
Hi,
I have following one-line macro extension:
------------------------
[macro-oneline]
;
; Standard extension macro (with call forwarding):
; ${ARG1} - Device(s) to ring
;
#exten => s,1,AGI(misterhouse.agi,"CallerID")
exten => s,1,NoOp
exten => s,2,DBget(temp=CFIM/${MACRO_EXTEN}) ; Get CFIM key, if not
existing, goto 103
exten => s,3,Dial(Local/${temp}@default/n) ; Unconditional forward
exten => s,4,Dial(${ARG1},20,tr) ; 20sec timeout
exten => s,5,NoOp
exten => s,6,DBget(temp=CFBS/${MACRO_EXTEN}) ; Get CFBS key, if not
existing, goto 106
exten => s,7,Dial(Local/${temp}@default/n) ; Forward on busy or unavailable
; No CFIM key
exten => s,103,Goto(s,4)
; No CFBS key - voicemail ?
exten => s,105,Voicemail(b${MACRO_EXTEN})
exten => s,106,Hangup
exten => s,107,Voicemail(u${MACRO_EXTEN})
exten => s,108,Hangup
------------------------
Is it normal that system says "is on the phone" even if extension is not
logged in at all ?
Regards,
Robert.
More information about the asterisk-users
mailing list