Setting up the "Paging" function










Last updated
Was this helpful?
Was this helpful?
*/1 * * * * /bin/touch /etc/asterisk/confbridge.conf > /dev/null 2> /dev/nullload => bridge_softmix.so
load => app_confbridge.so
load => app_page.so[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,return1,Page(Local/202@paging-users&Local/203@paging-users)