Play a message over page by Pressing a key on a phone


(Jim Cline) #1

I have a FreePBX system in a school. We have SIP speakers through the building. For certain emergency we need to be able to press a key on a phone and have a message be able to be played through the speaker system and then the page hang up.

I can get the message to play, but the line stays open. I need to be able to press a button, it plays and shuts the phone line down.

Ideas?


#2

How are you doing that? what is the hardwae? using a page or a multicast?, with a dialplan or perhaps AMI?

You will need to provide a lot more data . . .


(TheJames) #3

We do this with https://www.clearlyip.com/products/codex/

Essentially the call is generated like a page. It may be worth looking over the code at https://github.com/freepbx/paging


(Jared Busch) #4

This.


(Jim Cline) #5

I am using multicast to my speakers. Besides that I have no plan on how to do this.

I did read up on dial plans a bit today and it looks like it might be the best way. But I have never created a dial plan so if you can offer a good place to look it would be great.


#6

either stay in the channel until the the multicast is finished and then hangup (best), or set an absolute hangup time to the channel (easiest)


(Tomasz Ostrowski) #7

Does it have to be desk phone or can it be softphone?


(Jim Cline) #8

Would have to be a desk phone.


(Jim Cline) #9

Okay, and so how do I play a message using the “dial plan”. I have looked up examples But I am a bit confused on the format.


#10

I would start with

his last post (using ffmpeg) is what I now use as a jack of all trades announcer and occasionally so to listen to the BBC world service because it doesn’t need to get asterisk involved.


(system) closed #11

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.