QUESTION Callcentric inbound

jd01

Member
Joined
Oct 14, 2008
Messages
43
Reaction score
1
So I was left a little "unsure" after reading through this thread Re: inbound calls getting rejected as "unknown sip connection"s.
http://pbxinaflash.com/community/index.php?threads/using-callcentric-with-piaf.14121/

Ward and others posted some additions to /etc/asterisk/extensions_override_freepbx.conf which would specifically handle CC inward DID calls, but later in the thread Ward mentions perhaps it's not a great idea after all to solve the issue this way due to a potential security hole it opens up with spoofing a 1777 inbound call.
http://pbxinaflash.com/community/index.php?threads/using-callcentric-with-piaf.14121/#post-90355

Ward then mentions setting up a trunk for each of the CC servers as a better alternative.
http://pbxinaflash.com/community/in...callcentric-with-piaf.14121/page-2#post-90540

I did just that, and now my inbound CC calls work fine.

My questions are:

What is the current wisdom on successfully using CC inbound and am I correct in all of my above understanding? Specifically that the script should NOT be used?

Isn't it possible that CC could add to or otherwise change the servers I got form the dig command, and I could thereby end up having the inbound issue again when that happens?

Thanks

*system linking seems not to work here, had to add them explicitly.
 
Joined
Feb 13, 2011
Messages
330
Reaction score
12
Hi jd01:


Within your Callcentric trunk please replace “context=from-pstn” with “context=from-pstn-toheader”.

For the Trunk Name, please use “callcentric” (without quotes, case-sensitive).

Remove “/1777XXXXXX” from the end of your Register String.

Please add the following within your sip_custom_post.conf file:

[callcentric1](callcentric);
host=alpha1.callcentric.com

[callcentric2](callcentric);
host=alpha2.callcentric.com

[callcentric3](callcentric);
host=alpha3.callcentric.com

[callcentric4](callcentric);
host=alpha4.callcentric.com

[callcentric5](callcentric);
host=alpha5.callcentric.com

[callcentric6](callcentric);
host=alpha6.callcentric.com

[callcentric7](callcentric);
host=alpha7.callcentric.com

[callcentric8](callcentric);
host=alpha8.callcentric.com

[callcentric9](callcentric);
host=alpha9.callcentric.com

[callcentric10](callcentric);
host=alpha10.callcentric.com

[callcentric10](callcentric);
host=alpha11.callcentric.com

[callcentric11](callcentric);
host=alpha11.callcentric.com

[callcentric12](callcentric);
host=alpha12.callcentric.com

[callcentric13](callcentric);
host=alpha13.callcentric.com

[callcentric14](callcentric);
host=alpha14.callcentric.com

[callcentric15](callcentric);
host=alpha15.callcentric.com

[callcentric16](callcentric);
host=alpha16.callcentric.com

[callcentric17](callcentric);
host=alpha17.callcentric.com

[callcentric18](callcentric);
host=alpha18.callcentric.com

[callcentric19](callcentric);
host=alpha19.callcentric.com

[callcentric20](callcentric);
host=alpha20.callcentric.com

[callcentricA](callcentric);
host=doll3.callcentric.com

[callcentricB](callcentric);
host=doll4.callcentric.com

[callcentricC](callcentric);
host=doll5.callcentric.com

If you have added the lines above into your sip_custom_post.conf file, you will need to restart the entire Asterisk process in order for the changes to take into effect.
 

jd01

Member
Joined
Oct 14, 2008
Messages
43
Reaction score
1
Thanks for the advice.

Can you explain with a little more depth what is going on in your solution?
 
Joined
Feb 13, 2011
Messages
330
Reaction score
12
Hi

Its not my solution , its what the people of Callcentric told me to do to fix the problem, I'm not sure exactly whats going on behind this but it works perfectly.

Thanks
 

billsimon

Well-Known Member
Joined
Jan 2, 2011
Messages
1,534
Reaction score
727
This does just as has been written about before. It duplicates the CallCentric peer (trunk) for every one of CallCentric's proxies. And yes, if the list of proxies changes you will have to update your list too.
 

jd01

Member
Joined
Oct 14, 2008
Messages
43
Reaction score
1
Ahh, OK.

So in my instance, I used the dig command which returned (only) seven servers, ranging from alpha1 to alpha 19 (IIRC). Obviously, many "alphas' were "missing", or otherwise not deployed/online ATM.

I just created seven trunks in FPBX, one for each of the dig results. I suppose what grillovillegas posted creates ALL the "alpha" trunks (plus a few others) by the manual editing of sip_custom_post.conf

Question:

Does that manual editing of sip_custom_post.conf cause any type of issue for FreePBX? As it is supposed to "manage" any changes to config files?
 

jd01

Member
Joined
Oct 14, 2008
Messages
43
Reaction score
1
...can't answer your ques., but it does work that way.
 
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top