[asterisk-users] Attempt to setup paging and intercom

Larry Alkoff labradley at mindspring.com
Thu Aug 24 15:04:45 MST 2006


This is my first attempt to setup intercom and paging for some Grandview 
sip phones per instructions from Grandview.

I put the lines below in extensions.conf and did the CLI reload command.

When I issue
**1 or **2 from a phone I get a 404 error.
Shouldn't that be ringing the 3 phones on my list?

The instructions are a little vague (to a newbie like me) and may well 
be wrong.

Here is what I put in extensions.conf:

------  Stop reading here if not interested   ------------

; from: FAQ_Asterisk_Paging_for_GXP-2000.pdf

; Paging and Intercom:
; ====================
; Grandstream Phone Configuration:
;       Allow Auto Answer by Call-Info:         Yes
;       Turn off speaker on remote disconnect:  Yes

; Note: Above configuration will allow GXP-2000 to auto answer a call
; when the call contains:
;  SIP header "Call-Info: answer-after=0"
; And when the call hung up by the remote party,
; the phone will automatically on hook without alerting user with
; disconnect busy tones.

; Asterisk Configuration:
; =======================
; Then you can set up Asterisk with following functions:

; 1) One to One Intercom
; ======================

; You will first define a Macro and then use it in the one to one 
intercom context:
[macro-pageext]
exten => s,1,ChanIsAvail(${ARG1}|js) ; j is for dump and s is for ANY call
exten => s,2,SIPAddHeader(Call-Info: answer-after=0)
exten => s,3,Dial(${ARG1})
exten => s,4,NoOp() ; Add others here
exten => s,5, Hangup
exten => s,102,Hangup

[INTERCOM_GROUP]
exten => _*1XX,1,Macro(pageext,SIP/${EXTEN:1}) ;Page each extension
exten => _*1XX,2,Hangup
; Note: Above configuration will allow user intercom with any extension
; (using 1XX) by dialing *1XX.

; 2) One to Many Paging
; =====================

[One_Way_Page_GROUP]
exten => _**1,1,SIPAddHeader(Call-Info: answer-after=0)
exten => _**1,2,Page(${One_Way_Paging_List}|)
exten => _**1,3, Hangup
; Note: Above configuration will allow user to one way page(broadcast)
; to all
; the extensions defined in variable "One_Way_Paging_list"
; which can be define as following:

One_Way_Paging_List => SIP/120&SIP/122/&SIP/100

; 3) One to Many Intercom
; =======================

[Two_Way_Intercom_GROUP]
exten => _**2,1,SIPAddHeader(Call-Info: answer-after=0)
exten => _**2,2,Page(${Two_Way_Intercom_List}|d)
exten => _**2,3, Hangup
; Note: Above configuration will allow user to do two way intercom to 
all the
; extensions defined in variable "Two_Way_Intercom_List" which can be
; define as following:

Two_Way_Intercom_List => SIP/120&SIP/122/&SIP/100

-- 
Larry Alkoff N2LA - Austin TX
Using Thunderbird on Linux



More information about the asterisk-users mailing list