Following from this previous post I managed to get a new install completed on the box.
With the new install I now have pjsip as the option and I’m struggling a bit to get connected to Callcentric. I actually got the box connected to callcentric and a phone connected to the PBX, but I’m not able to get an outbound and inbound call.
I have my provided 1777XXX number from Callcentric, but also a temporary DID which is in place until I port our office number over.
It doesn’t seem the Callcentric guides are updated with the latest FreePBX. They provide some entries for the conf files, but when I apply those, and update with my settings, Asterisk doesn’t want to run.
It seems I am missing a key piece to get a call to flow in and out of the system, curious if there are any suggestions on what to check.
Can’t seem to reply to any post… so limiting…
Ugh… “We appreciate your enthusiasm, keep it up! That said, for the safety of our community, you’ve reached the maximum number of replies a new user can create on their first day. Please wait 14 hours and you’ll be able to create more replies.”
Thank you, sir! It was a bit frustrating at first.
The best thing I have to go off of from Callcentric is this:
but they seem to assume you’d edit the files. I think this is just with Asterisk. I’ve managed to piece out of this what I need to plug into the GUI, but I think I’m missing something that bridges inbound and outbound calls together and I just can’t seem to find those missing pieces.
Here are my pjsip trunk settings for Callcentric. Everything not mentioned should be left at default. Replace 1777xxxxxxx with your Callcentric 1777 number.
Trunk Name: (as desired)
Outbound CallerID: 1777xxxxxxx (or a DID you have with Callcentric)
Secret: (your SIP password set at Callcentric)
SIP Server: sip.callcentric.net
Contact User: 1777xxxxxxx
From Domain: sip.callcentric.net
From User: 1777xxxxxxx
Match (Permit): 126.96.36.199/21,188.8.131.52/22
Send RPID/PAI: Both
Outbound Route should send 11-digit domestic numbers to CC. If your system allows other dialing formats, they should be converted to 11-digit format. 911 should be sent unmodified. You may need other entries for international, voicemail, special features, etc.
Inbound Route can use the 1777 number as DID Number, or see
Outbound calls: It appears that the Outbound Route is not being matched. Temporarily change it to
Prepend: (leave blank)
Prefix: (leave blank)
Match pattern: X.
Then call (for example) 18004377950 to test. If no luck, at the Asterisk command prompt type pjsip set logger on
make a failing call, paste the Asterisk log for the call at pastebin.freepbx.org and post the link here.
Inbound calls: If anything appears in the Asterisk log for an attempted call, paste the log (including pjsip logger) as above. If nothing logged, is your trunk registered? If not, paste the log for a register attempt. If yes, post details about router/firewall, ISP, etc.
There is still no match for the Outbound Route. For testing, just make an entry with match pattern ‘X.’ (without the quotes) and with prepend and prefix left blank. Enter the CC trunk in the trunk list.
"What appears to be occurring is that the call is being made internally, instead of being sent to your Callcentric trunk. To confirm, are you adding “9” as the prefix in your Outbound call attempts as defined within your Asterisk’s dial plan? "
I didn’t realize that required a 9. Upon dialing 9 - and then the number, all was good.
I assume I should be able to plug the 9 into the dial pattern in the prepend box? If yes, I’ve tried that but it fails. I’m doing some more reading on where this goes in FreePBX.
I have outbound calls working just fine from my single phone here. Will need to test with multiple phones once I have the chance.
As for inbound, I’m a bit sheepish to say that I still had call treatments and IVR enabled on the callCentric side (facepalm). Per CallCentric, I’ve disabled all of those, and with a couple of other pjsip setting changes, I now have inbound calls working as well.
Thank you Stewart and Richard for the really great, and timely feedback, I really appreciate it!
I’ll post some updates as I finish getting it setup and then migrated.