Paging Script for alarm to all poeples


I’m new in the world on asterisk.
i’m trying make a script for page few numbers and let’s play an audio file, like a alarm or something.

I Use yealink T32g on client side, and they support the page function, and the function is enabled.

I would like to record what’s happen on the device witch made the alarm and to mute this device. That Device must not play the audiofile, is in case an aggression on workplace, i want make a system like a silent alarm.

I already try something like this, but without succes

exten => 1234,1,Goto(alarm,s,1)
exten => s,1,Answer
exten => s,2,Page(SIP/408@SIP/409,qr)
exten => s,3,Playback(audioalarm)
exten => s,4,WaitExten(99)

Thanks a lot :smiley: