Hello,
I am managing the IT at a school and we recently got some Ubiquiti AC Edu APs that have a built in speaker and can register to a sip server using baresip. I am not too experienced with VoIP but have got FreePBX 15 and Asterisk 16.11.1 running with 46 of these APs registered as chan_sip endpoints in order to run the bells. The bells seem to work 80% of the time, but sometimes they don’t ring any APs at all. I am trying to figure out whether the issue is with the Ubiquiti devices or with the PBX. I was originally using FreePBX in a VM I spun up in Azure but just today decided to move to an on prem server to see if that would help. I installed FreePBX on a server and restored from a config backup I took from the Azure PBX. So far it seems to be doing the same thing as on the Azure FreePBX, in fact on the new one I haven’t managed to get a working bell at all yet. One other odd thing that seemed to carry over as well is not being able to register any endpoints using pjsip on port 5060, endpoints will only register to chan_sip. I doubt that has anything to do with this issue however.
When I check CDR logs on the on prem PBX for a bell that doesn’t work I see the following (small excerpt):
The only thing different for the working bells in CDR is the duration, which it shows 7 seconds for (at least it did on the Azure PBX when it was working). Does a duration of 0 mean that the APs are answering and then ending the call? They are set up to automatically answer calls and if I directly dial the extension I am able to speak into my phone and it will broadcast from the speaker.
Here is a call event log of an extension for one of the bells that did not work as well:
Time | Event Type | UniqueID | LinkedID | Cid num | Extension | Context | Channel Name |
---|---|---|---|---|---|---|---|
Fri, Oct 30, 2020 8:40 AM | BRIDGE_EXIT | 1604065201.807 | 1604065201.807 | 9 | PAGE9 | app-paging | Local/[email protected];1 |
Fri, Oct 30, 2020 8:40 AM | APP_END | 1604065201.807 | 1604065201.807 | 9 | PAGE9 | app-paging | Local/[email protected];1 |
Fri, Oct 30, 2020 8:40 AM | HANGUP | 1604065201.807 | 1604065201.807 | 9 | PAGE9 | app-paging | Local/[email protected];1 |
Fri, Oct 30, 2020 8:40 AM | CHAN_END | 1604065201.807 | 1604065201.807 | 9 | PAGE9 | app-paging | Local/[email protected];1 |
Fri, Oct 30, 2020 8:40 AM | BRIDGE_EXIT | 1604065201.808 | 1604065201.807 | 98 | PAGE9 | app-paging | Local/[email protected];2 |
Fri, Oct 30, 2020 8:40 AM | HANGUP | 1604065201.808 | 1604065201.807 | 98 | PAGE9 | app-paging | Local/[email protected];2 |
Fri, Oct 30, 2020 8:40 AM | CHAN_END | 1604065201.808 | 1604065201.807 | 98 | PAGE9 | app-paging | Local/[email protected];2 |
Fri, Oct 30, 2020 8:40 AM | BRIDGE_EXIT | 1604065202.872 | 1604065201.807 | 9 | from-internal | SIP/9-000000f8 | |
Fri, Oct 30, 2020 8:40 AM | HANGUP | 1604065202.872 | 1604065201.807 | 9 | from-internal | SIP/9-000000f8 | |
Fri, Oct 30, 2020 8:40 AM | CHAN_END | 1604065202.872 | 1604065201.807 | 9 | from-internal | SIP/9-000000f8 | |
Fri, Oct 30, 2020 8:40 AM | LINKEDID_END | 1604065202.872 | 1604065201.807 | 9 | from-internal | SIP/9-000000f8 | |
Fri, Oct 30, 2020 8:40 AM | CHAN_START | 1604065202.872 | 1604065201.807 | 9 | s | from-internal | SIP/9-000000f8 |
Fri, Oct 30, 2020 8:40 AM | ANSWER | 1604065202.872 | 1604065201.807 | 9 | PAGE9 | from-internal | SIP/9-000000f8 |
Fri, Oct 30, 2020 8:40 AM | ANSWER | 1604065201.808 | 1604065201.807 | 98 | PAGE9 | app-paging | Local/[email protected];2 |
Fri, Oct 30, 2020 8:40 AM | ANSWER | 1604065201.807 | 1604065201.807 | 9 | PAGE9 | app-paging | Local/[email protected];1 |
Fri, Oct 30, 2020 8:40 AM | APP_START | 1604065201.807 | 1604065201.807 | 9 | PAGE9 | app-paging | Local/[email protected];1 |
Fri, Oct 30, 2020 8:40 AM | BRIDGE_ENTER | 1604065201.807 | 1604065201.807 | 9 | PAGE9 | app-paging | Local/[email protected];1 |
Fri, Oct 30, 2020 8:40 AM | BRIDGE_ENTER | 1604065202.872 | 1604065201.807 | 9 | from-internal | SIP/9-000000f8 | |
Fri, Oct 30, 2020 8:40 AM | BRIDGE_ENTER | 1604065201.808 | 1604065201.807 | 98 | PAGE9 | app-paging | Local/[email protected];2 |
Fri, Oct 30, 2020 8:40 AM | CHAN_START | 1604065201.807 | 1604065201.807 | PAGE9 | app-paging | Local/[email protected];1 | |
Fri, Oct 30, 2020 8:40 AM | CHAN_START | 1604065201.808 | 1604065201.807 | PAGE9 | app-paging | Local/[email protected];2 |
From here it looks like the extension is answering the page and then hanging up as well, but I am not sure if I am reading it correctly.
Thanks for any help.