Robert Rozman
2004-Oct-05 18:23 UTC
[Asterisk-Users] loggedoff extension - why does * say "is on the phone"
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.
Henry Devito
2004-Oct-05 18:31 UTC
[Asterisk-Users] loggedoff extension - why does * say "is on thephone"
I've noticed this too, I think it returns a "busy" state.
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Robert Rozman
Sent: Tuesday, October 05, 2004 8:24 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] loggedoff extension - why does * say "is on
thephone"
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.
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users