SCCP Cisco Phone Paging & Intercom


(Matt Hosman) #1

HI all,

Im new to this forum!

I have set up a home FreePBX system with 5 Cisco 7945G IP sets. Everything is working, dialing outbound, inbound, calling between sets, voicemail and I even managed to get the PhoneBook workaround going with the two XML files. phonebook.xml and directory.xml. My question is has anyone figured out a way to get the paging/intercom working on these phones? I have seen solutions for all the SIP based configurations but nothing that I can get to work on the chan_sccp_b setup. I set up a paging group in the GUI with all the sets and when I page all the sending set beeps and the receiving sets ring twice and hang up. I cant seem to find any config examples for the chan_sccp_b setups. I can send log files and existing conf files if needed. I did not look at the var logs as I’m not sure exactly what to look for in regards to paging logs.


(Dave Burgess) #2

The installation instructions I wrote for Chan-SCCP-B Included Under-chin paging. Have you tried those?

Also, Dietrich provides some really good information on using Multi-cast paging in Chan-SCCP-B at https://github.com/chan-sccp/chan-sccp/wiki/Multicast-Paging


(Matt Hosman) #3

Thanks!

I will try both those solutions when I gat home from work. The chan_sccp_b works really well on the Cisco 7945 phones and I am very pleased with everything. If I don’t get the paging/intercom working its not the end of the world. My wife wants it so she can page the kids when its dinner time. It would be cool to have a solution as I feel with last component that solved it would a great alternative and inexpensive solution I could provide to some friends who have small businesses near me.


(Dave Burgess) #4

I wrote a super-short custom context for underchin paging for the 79xx phones a long time ago and included it in the Chan-SCCP-B Wiki. It’s been years ago, but IIRC it just connects into the standard paging extension, so if you don’t need a lot of power behind the page, the simple context would be the way I’d go.


(Matt Hosman) #5

I did try this solution but no joy, I did not try the Multicasting option as I ran out of time and my eyes were crossed at that point.

{Im not entirely sure if the dial plan entry is correct}

I had set up a page group in FreePBX with extension 222 so when I dial 222 it rings all phones twice and hangs up. The added text below is the template example given from the GitHub / Diederik de Groot.

I tried both options here. Same result.

if you still have a copy of the working script (maybe its on the WiKi) i would appreciate any help!!


FreePBX_Intercom HowTo

Diederik de Groot edited this page Sep 29, 2020 · [ 7 revisions ](file:///C:/chan-sccp/chan-sccp/wiki/FreePBX_Intercom-HowTo/_history)

Please note, this is not my work, credit goes to Diederik de Groot and Bob Brown I believe

Initial version published here by p_lindheimer:

1. Configure your paging group in FreePBX Note - Add a single phone to test with and add as system resources allow – paging is VERY system resource intense so paging 100 phones all at once can have bad results.

2a. Add the following to /etc/asterisk/extensions_custom.conf:

[macro-1way-paging]
 
exten => s,1(check),ChanIsAvail(SCCP/${ARG1},sj)
exten => s,n,Set(ALERT_INFO=Off)          ; Needed to suppress any ringing (optional)
exten => s,n,Dial(SCCP/${ARG1}/aa=1wb,5,A(beep))
exten => s,n(end),Busy(20)
exten => s,n,Macro(hangupcall,)
exten => s,check+101,Busy(20)
exten => s,n,Macro(hangupcall,)

In CLI… add the paging group in the database (replacing <Paging Group> with your group ext):

database put DEVICE/**<Paging Group\>**/autoanswer macro 1way-paging

To remove the paging group in the database:

database del DEVICE/**<Paging Group\>**/autoanswer macro

2b. If you want 2 way paging use: (not suggested for multiple phones)

[macro-2way-paging]
 
exten => s,1(check),ChanIsAvail(SCCP/${ARG1},sj)
exten => s,n,Set(ALERT_INFO=Off)          ; Needed to suppress any ringing (optional)
exten => s,n,Dial(SCCP/${ARG1}/aa=2wb,5,A(beep))
exten => s,n(end),Busy(20)
exten => s,n,Macro(hangupcall,)
exten => s,check+101,Busy(20)
exten => s,n,Macro(hangupcall,)

In CLI… add the paging group in the database (replacing <Paging Group> with your group ext):

database put DEVICE/<Paging Group\>/autoanswer macro 2way-paging

To remove the paging group in the database:

database del DEVICE/<Paging Group\>/autoanswer macro

**Then be sure to CLI> dialplan reload **

Different Solution (Using the Multicasting & XML-push instead)

Add a multicast transmission extension to the dialplan:

exten => 500,n,Page(MulticastRTP/basic/239.0.0.1:1234);

Push an XML Message to the phones that want to start listening:

<CiscoIPPhoneExecute\>
<ExecuteItem Priority="0" URL="RTPMRx:239.0.0.1:1234:50"/\>
</CiscoIPPhoneExecute\>

Dial extension 500


(Matt Hosman) #6

Side note…

In the Multicasting example Im not clear about the instruction “Push the XML Message to the phones that want to start listening”. I can add the new dial plan entry or create a new sub entry in the “extensions.custom.conf” called [paging] and add it there??

Do I add that XML snippet to the each phones individual SEP{macaddress}.cnf.xml file or the Default SEP one?