Our school district currently uses a cloud-based VoIP provider. While it works most of the time, sometimes the provider goes down, leaving us not only without phones, but without intercoms, which is a serious safety issue. We have a SIP trunk with our provider that connects to a local SynApps paging server, which controls paging at most of our school sites.
I am working on a project where we will set up a FreePBX instance to have a set of internal phones. I’ve actually already set up the FreePBX and I have two phones successfully registered.
The next step is trying to figure out how to get the FreePBX to “talk” to the SynApps server so that paging can happen. What happens with our cloud provider is that we dial an extension, say 1960, which then rings a trunk extension 1999. That trunk talks to our paging server, which sees the dialed extension 1960, and activates multicast paging on that specific set of speakers. We have 8 different sites on there right now.
I’m waiting to get the SIP Credentials for our paging server, but once I do have that, can somebody give me an idea of how this could be set up in FreePBX?
The 500 error indicates that the SynApps couldn’t process the INVITE from the PBX, but it doesn’t say what was wrong.
There are several possibilities. First, confirm that the Prepend field of your Outbound Route has whatever number the SynApps expects as a destination (your first post used 1999 as an example).
Next, the SynApps might be fussy about codecs. Try adding disallow=all allow=ulaw
to your PEER settings.
Conceivably, you’re running afoul of some security setting (it will only accept requests from your cloud provider), though the proper response for that should be 403 Forbidden, not the 500 you’re getting.
If no luck, at the Asterisk command prompt type sip set debug on
and make a failing call. Possibly, the SynApps will give some detail about the error in its 500 response. Or, you might be able to spot something wrong with the INVITE.
If still no luck, one approach is to see what your cloud provider sends and make your PBX do the same. You could either capture their traffic to/from the SynApps (port monitor/mirroring on a managed switch, packet capture in router, etc.), or you could ask the provider for a SIP trace. Or, perhaps SynApps documentation or support will help.
@Stewart1 That seems to have helped! Dialing the extension now triggers the trunk and the paging is working. I hear the announce tone and my own voice on the IP speakers at the school site I’m paging to.
The only thing that isn’t working is that I’m not getting the confirmation tone back on the phone (the solid tone that basically says, “you’re live, start talking”). But if a person were on campus dialing this, they would know when they could talk because the hear the announce tone over the speakers anyways.
This could be a NAT one-way audio problem (unless your last problem was solved by a Codec change). You can watch your network traffic for the RTP response from the paging system and make sure it’s getting set up correctly.