Setting up the "Paging" function
Paging through phones, i.e. transmitting a voice message through several phones via speakerphone. For example, a manager can quickly call a meeting.
Go to the "System file customization" section

Open the file "/var/spool/cron/crontabs/root" for editing

Add the following code to the end of the file:
*/1 * * * * /bin/touch /etc/asterisk/confbridge.conf > /dev/null 2> /dev/null

Proceed to editing the "modules.conf" file

Add the following code to the end of the file:
load => bridge_softmix.so
load => app_confbridge.so
load => app_page.so

Go to editing the file "extensions.conf"

Add the following code to the end of the "extensions.conf" file
[paging-users]
exten => _X!,1,Set(dС=${PJSIP_DIAL_CONTACTS(${EXTEN})})
same => n,ExecIf($["${dС}x" != "x"]?Dial(${dС},,b(paging_create_chan,s,1)))
[paging_create_chan]
exten => s,1,Set(PJSIP_HEADER(add,Call-Info)=\;answer-after=0)
same => n,return

Go to the "Dialplan Applications" section, create a new dialplan

Assign an internal number, for example 2200110. Set the code type: "Asterisk Dialplan"

Go to the "Programme Code" tab, insert the following code:
1,Page(Local/202@paging-users&Local/203@paging-users)

In the application code, describe the contacts to whom you should call. Contacts are listed with a & separator.
Last updated
Was this helpful?