1) Create Trunk:
Trunk name: Callcentric
context=from-pstn-toheader
fromdomain=callcentric.com
fromuser=1777XXXXXXX
host=callcentric.com
insecure=port,invite
secret=SECRET
type=peer
defaultuser=1777XXXXXXX
disallowed_methods=UPDATE
directmedia=no
videosupport=no
disallow=all
allow=ulaw
Register String:
1777XXXXXXX:SECRET@callcentric.com
2) Create Outboud Routes:
9_outside
Router CD: Phone number to show in called ID
Check Override Extension
Dial Patters that will use this Route:
|Prepend|Prefix|Match pattern|
|1 | 9 | . |
Trunk Sequence for Matched Routes:
0: callcentric
3) Inbound Routes:
Create an Inbound Routes for the DID assigned for callcentric and for each number:
Name In_route:
DID Number: 1777XXXXXXX
Destination:
Ext: --------
Name In_route:
DID Number: 1305XXXXXXX
Destination:
Ext: -----------------
4) Open a terminal and put this in /etc/asterisk/sip_general_custom.conf
srvlookup=yes
session-timers=refuse
context=callcentric-custom
sendrpid=pai
trustrpid=no
allowguest=no
And this in /etc/asterisk/sip_custom_post.conf
callcentric1;
host=alpha1.callcentric.com
callcentric2;
host=alpha2.callcentric.com
callcentric3;
host=alpha3.callcentric.com
callcentric4;
host=alpha4.callcentric.com
callcentric5;
host=alpha5.callcentric.com
callcentric6;
host=alpha6.callcentric.com
callcentric7;
host=alpha7.callcentric.com
callcentric8;
host=alpha8.callcentric.com
callcentric9;
host=alpha9.callcentric.com
callcentric10;
host=alpha10.callcentric.com
callcentric10;
host=alpha11.callcentric.com
callcentric11;
host=alpha11.callcentric.com
callcentric12;
host=alpha12.callcentric.com
callcentric13;
host=alpha13.callcentric.com
callcentric14;
host=alpha14.callcentric.com
callcentric15;
host=alpha15.callcentric.com
callcentric16;
host=alpha16.callcentric.com
callcentric17;
host=alpha17.callcentric.com
callcentric18;
host=alpha18.callcentric.com
callcentric19;
host=alpha19.callcentric.com
callcentric20;
host=alpha20.callcentric.com
callcentricA;
host=doll3.callcentric.com
callcentricB;
host=doll4.callcentric.com
callcentricC;
host=doll5.callcentric.com
6) Important if you want to disable the (blind transfer) is the transfer when you press the pound(#) key
In the Trunk section you have to remove the "Tt" parameters in "Asterisk Trunk Dial Options" to do this just check Override
Read the use of the parameter "Tt"
Please see below for a breakdown of what the “Tt” setting refers to:
t - Allow the called party to transfer the calling party by using the In-Call Asterisk Blind Transfer code (default value is ##)
T - Allow the calling party to transfer the called party by using the In-Call Asterisk Blind Transfer code (default value is ##)
Define the following within your dnsmgr.conf file:
[general]
enable=yes
refreshinterval=3600
After applying the changes above, please restart the entire Asterisk process for the changes to take into effect. Please let us know if you still come across this issue with the change to dnsmgr.conf, without any changes to allowguest.
I Hope this Guide Help