Freepbx tts page

i made a open sorce tts page that letts you broadcast tts messages with any piper voice and can be installed with one commadn on github url is GitHub - thebottlekids/freepbx-ttspage · GitHub

Have you actually tested this? I can’t see how it works based on what is available. I don’t even see how it attempts to page anything.

Oh I found it buried as a one liner but still questioning this.

This is the context that is used once the called endpoint answers the call therefore the PJSIP headers being set here are never used for the actual call. These need to be set per outbound channel when the outbound channel is created. These headers are never added to the proper channel.

[broadcast-announce] 
exten => s,1,NoOp(Starting broadcast) 
exten => s,n,Set(PJSIP_HEADER(Alert-Info)=http://www.notused.com;info=alert-autoanswer;delay=0) 
exten => s,n,Set(PJSIP_HEADER(Call-Info)=http://www.notused.com;answer-after=0) 
exten => s,n,Wait(2) 
exten => s,n,Playback(${AUDIO_FILE}) 
exten => s,n,Hangup()

Also since ; is a comment marker in Asterisk Dialplan, unless you escape it the dialplan will treat anything after the ; as a comment and not use it. So the dialplan will ignore crucial parts of the header.

You also set the ALERT_INFO variable in the callfile and then never use it as the Alert Info is then hard coded in the dialplan.

By first glance I can’t see how this performs as expected but I won’t have time to jump deeper into it until after the long weekend here.

are you able to fix the signiture warnings because thats something you need to do with freepbx buut its ok if no

i’m sorry but on my freepbx system it broke if anyone else has this problom let me know and ill take this down untill i fix it or some thing if you know why please tell me thank you

Are you going to provide details or answer my previous questions?

I am trying I’ll try to hopefully answer them by the end of the day hopefully I am kind of busy right now

it will take me a wile i will work on it this weekend

i am working on it at this very monent

i have fixed it i think i added a install from module admin realese can you check i will keep updating it but it will be paused for the rest of the day

I mean this works but I’m not sure it’s working the way you intended. Is this supposed to be a way to extend the existing Paging/Paging Pro/OpenPage modules? If so, this module wouldn’t behave in the expected ways the Paging modules would.

Is the logic behind this “We page and they must get the page” or “We page and if they don’t get it, that’s fine too”? Because right now the logic is the latter. Since you’re just doing intercoming to an extension, if they have Intercom turned off…they never get the page because it’s not a page call it’s an intercom call.

can i change the name to TTS Intercom so its more clear

or i can full on make it work with paging not just intercom

What is the goal here? Is this for intercoming or paging?

paging i will make it accualy page ok