New FreePBX Installation
-
@aaronstuder In the middle of a game. I can when I get to a stopping point.
-
@eddiejennings Thanks!!!
-
Nothing special.
- I did not change any of the default port settings on FreePBX, so pjsip is bound to 5060.
- In the Twilio settings you'll need to set your origination URI to sip:yourhost.domain.tld or sip:ipAddress
- In FreePBX, you'll setup a PJSIP trunk using the credentials you created in authentication section of Elastic SIP trunking.
- Make sure you use one of the addresses from your termination URIs.
- In pjsip advanced settings set expiration to 120 (like what voip.ms says)
I, like Jared, do my dialing patterns on outbound routes rather than on trunks. You said you had termination working, so you've got the +1 setup correct.
-
@eddiejennings what version of FreeFBX? Asterisk?
-
@aaronstuder FreePBX 14 and Asterisk 13 I believe. Whatever the recommended thing was when I installed it.
-
@eddiejennings Thanks! I’ll have go try again in the morning.
-
@aaronstuder Assuming I have a stable Internet connection, I'll be checking ML throughout the day, so if you have problems, post here.
-
@eddiejennings Will do, Thanks
-
@aaronstuder said in New FreePBX Installation:
So I setup a fresh FreePBX 14 system.
Got Zoiper setup on Linux and iOS - Check
I am using Twilio so I got outgoing calling working - Check.
Incoming calling would not work...
Found this: http://hwdevelopment.com/blog/27-freepbx-13-asterisk-11-twilio-elastic-sip-trunk-setup
So I change the settings as referenced above and Twilio started to work for incoming calls.
However both Zoiper clients stopped working
So should I be using chan_pjsip or chan_sip for trunks? What about Phones, and Softphones? Both? On what port?
So should I be using chan_pjsip or chan_sip for trunks? What about Phones, and Softphones? Both? On what port?
I used AIX for everything, and didnt come close to any setting for SIP.
Just created AIX extension and used port 4569 I even changed that in the extension page to another port and it works, calls from LAN and calls from WAN.
In Zoiper there is an option to configure an IAX account, the reason I choose IAX cause it does everything in 1 port and options seemed more easier than SIP
But video didnt work, only audio + call recording .
-
@emad-r in my limited experience in VoIP, I've only used PJSIP. I don't know enough about IAX to give you an assessment of the two.
-
Trying again now...
-
@Emad-R It is IAX2 not AIX.
IAX2 is Inter-Asterisk Exchange and is not a standard for everything. Very little support can be found for IAX2 in general.
IAX2 is nice because it only uses one port (UDP 4569) for signaling and audio, but again, not a heavily used protocol.
The SIP protocol as implemented in Asterisk was showing its age and limiting options in the modern world. That is why Asterisk developers came up with PJSIP, to extend funcitonality while also retaining basic compatibility.
Asterisk (not FreePBX) recommends that you should be using PJSIP by default now.
-
@aaronstuder there is no significant difference between using SIP or PJSIP for a trunk connection. PJSIP attempts different signaling, but will still signal to match SIP if needed.
-
I pulled a @jaredbusch and justed used voip.ms