[Asterisk-Users] Paging HardPhones
Steve Langstaff
steve.langstaff at citel.com
Tue Jan 24 15:36:57 MST 2006
I have had some pretty good results using the following mechanism (with Asterisk at Home, 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
[page] ; Paging context
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/5301 at page <mailto:Local/5301 at page&Local/5302 at page&Local/5303 at page&Local/5304 at page&Local/5305 at page&Local/5306 at page&Local/5307 at page&Local/5308 at page&Local/5309 at page&Local/5310 at page&Local/5311 at page&Local/5312 at page> &Local/5302 at page&Local/5303 at page&Local/5304 at page&Local/5305 at page&Local/5306 at page&Local/5307 at page&Local/5308 at page&Local/5309 at page&Local/5310 at page&Local/5311 at page&Local/5312 at page|)
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com]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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060124/0f3e3158/attachment.htm
More information about the asterisk-users
mailing list