I have
had some pretty good results using the following mechanism (with [EMAIL PROTECTED], but you'll get the
idea):
This
example allows one to page the phones 5301..5312 by dialling 5399 - seems to
work OK.
The
SetVar(_ALERT_INFO=info=alert-autoanswer) line has to be tailored to the
specific hardphone type to force it off-hook and into speakerphone mode (after a
beep), as there doesn't seem to be a standard for this
header.
As an
aside, 'alert-autoanswer' works with Citel's (www.citel.com) handset gateways, allowing you to
reuse any Nortel phones you happen to have hanging around.
[macro-page]
; Paging macro:
; Check to see if SIP device is in use and DO NOT PAGE if they are
; ${ARG1} - Device to page
;
exten => s,1,ChanIsAvail(${ARG1}|js) ; j is for dump and s is for ANY call
exten => s,2,SetVar(_ALERT_INFO=info=alert-autoanswer)
exten => s,3,NoOp() ; Add others here
exten => s,4,NoOp() ; Add others here
exten => s,5,Dial(${ARG1}||)
exten => s,6,Hangup
exten => s,102,Hangup
; Paging macro:
; Check to see if SIP device is in use and DO NOT PAGE if they are
; ${ARG1} - Device to page
;
exten => s,1,ChanIsAvail(${ARG1}|js) ; j is for dump and s is for ANY call
exten => s,2,SetVar(_ALERT_INFO=info=alert-autoanswer)
exten => s,3,NoOp() ; Add others here
exten => s,4,NoOp() ; Add others here
exten => s,5,Dial(${ARG1}||)
exten => s,6,Hangup
exten => s,102,Hangup
[page]
; Paging context
exten => _X.,1,Macro(page,SIP/${EXTEN})
exten => _X.,1,Macro(page,SIP/${EXTEN})
[page-custom]
exten => 5399,1,Macro(user-callerid)
exten => 5399,2,Set(TIMEOUT(absolute)=60)
exten => 5399,3,Page(Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]|)
exten => 5399,1,Macro(user-callerid)
exten => 5399,2,Set(TIMEOUT(absolute)=60)
exten => 5399,3,Page(Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]&Local/[EMAIL PROTECTED]|)
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Forrest Beck
Sent: 24 January 2006 21:01
To: Asterisk Users List
Subject: [Asterisk-Users] Paging HardPhones
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Forrest Beck
Sent: 24 January 2006 21:01
To: Asterisk Users List
Subject: [Asterisk-Users] Paging HardPhones
I have been testing * with some Cisco 7912G's, in hope to trash our Nortel
system. One feature our Nortel system has that I will need to fiqure out
on the * system is paging.
Is it possible to page a group of phones (all phones) with
announcements?
We are a k-12 school and we use our current phone system to make
announcements on the phones monitor speaker.
Any direction I can be pointed in would be greatly appreciated.
Thanks!
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
