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.

This instruction is suitable for phones:

  • Linksys

  • Cisco

  • Telephone (Softphone)

  • Grandstream

  • microsip (Softphone)

  • Yealink

  • Fanvil

  • Snom

  1. Go to the "System file customization" section

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

  1. Add the following code to the end of the file:

*/1 * * * * /bin/touch /etc/asterisk/confbridge.conf > /dev/null 2> /dev/null
  1. Proceed to editing the "modules.conf" file

  1. Add the following code to the end of the file:

load => bridge_softmix.so
load => app_confbridge.so
load => app_page.so
  1. Go to editing the file "extensions.conf"

  1. Add the following code to the end of the "extensions.conf" file

[paging-users] 
exten => _X!,1,Set(=${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
  1. Go to the "Dialplan Applications" section, create a new dialplan

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

  1. 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