#pjsip — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #pjsip, aggregated by home.social.
-
Now the other two are ported - all the #analogue #trunks are ceased and all traffic to and from the #PSTN from this #PBX is now #VOIP (using #PJSIP trunks on #FreePBX )
I disconnected all the analogue lines as #Openreach leave battery on them, that way they show as RED alarm on #Asterisk and won't be selected for any calls (worst case is they return a busy trunk status and the route will go to the next trunk, but I've taken away all the analogue circuits from every PSTN route)
-
As an experiment, I asked #MS365 #Copilot to explain how to set up #SIP trunk on #FreePBX using #PJSIP (consider that I have already successfully set up several of these, to external providers and an inter-PBX line between two servers).
Results it returned were horribly mangled and mixed up from various providers sites, if you followed them the trunk likely won't work at all, and even if it did it would end up in completely wrong context/dialplan.
It didn't mention such things as fromuser and took a few prompts to point out potential firewall issues.
You need to know (or learn) the basics of #telephony before starting, or else it will all go tits up very quickly - #AI is still no substitute for "boots on the ground" who have put in research for what they are trying to achieve..
-
Had to open 5060 inbound to get one providers trunk to signal inbound calls (either #STUN isn't working there or some #NAT issues), with predictable results..
Got older version of #fail2ban on this box to yeet all blighters trying to get in - by turning on security logging in /etc/asterisk/logfiles_custom.conf (add entry security_log => security), updating regexes in /etc/fail2ban/filter.d and pointing failt2ban jail to check /var/log/asterisk/security_log (main Asterisk log is in wrong format and I don't know enough regex to fix that)
Also registered a #Voipfone virtual PBX extension to use as an extra trunk (needs contact-user and from-user set in #PJSIP config)
The picture @alex drew a few months back sums up exactly what dealing with these #VOIP #trunks is like