Documente Academic
Documente Profesional
Documente Cultură
In the context of this guide a trunk is used to route calls between your Asterisk PBX
and your desired VSP(Voice Service Provider), in this case Callcentric. In this section
we will configure a SIP trunk.
ogin to freePBX administrative interface
Click on c in top right of page
Click on in left side navigation
Click ! c in middle of page
Scroll to Ô
c
and enter into field
Copy and paste the following into the field:
2
2222
2222
2
2 ! ! "
#
Where 1777XXXXXXX is your Callcentric number and SUPERSECRET is the same password you create
when you sign up for you Callcentric account. Optionally you may change it in your preferences.
Scroll down to
Enter your registration string in this
format:$ ! ! "%2222 &
Where 1777XXXXXXX is your Callcentric number and SUPERSECRET is the same password you create
when you sign up for you Callcentric account. Optionally you may change it in your preferences.
Click on c
to add your new SIP trunk to your Asterisk server
Click on the red bar at the top of the screen to apply the changes you just made
View screenshot
ëow you will want to edit your sip_general_custom.conf file and enter, or modify,
the following lines:
2
'
#
()
*)
If using trixbox this will have to be done through the web interface to edit your
config files.
View screenshot
If using freePBX you will need to log in to your server and edit the &2&'&
2 file
manually, usually with an editor such as nano.
c
Ô
An outbound route sends calls which are dialed in a certain pattern to your desired
VSP, in this case Callcentric.
Click on Ô
to configure your Asterisk box to send calls to
Callcentric
Enter
into
field
Scroll to c and select the c trunk from the drop
down list
Click on c
to add your new route to your Asterisk server
Click on the red bar at the top of the screen to apply the changes you just made
View screenshot
c
!
"
# "
!
"
"$
!%
&"
""
!
$
Click on !
to add a new extension which will connect to your Asterisk
server
Choose c as the extension type
Enter 1000 for the extension number
åor now we will use a generic identifier for this extension. Enterå
!
for the " field. ater you may enter a unique identifier of
your choice
Enter your desired password in the c field. You will use this password when
configuring your desired UA later in order to connect to your Asterisk PBX
Click on c
to add your new extension to your Asterisk server
Click on the red bar at the top of the screen to apply the changes you just made
View screenshot
c
'
Inbound configuration can become extremely complex. With an inbound route you
are given the flexibility to send incoming calls to a whole range of destinations. åor
example you may route an incoming call to a specific extension, to a ring group or
to an IVR. In this section we are going to setup an inbound route which will handle
AëY incoming calls on AëY number, including emergency numbers, and simply route
those calls to a specific extension (1000). ater on you can configure more complex
routing schemes.
"
# "
!
"
""
!
'
($
Click on
to configure the routing of calls to your Callcentric
account
If there isn't a default inbound route called )))*+ " then click
on !
. You will first want to fill the field with
your ))) number. Make sure to leave the and ,
blank in order to match any incoming call. This is useful if you wish to
receive all calls
Scroll down to c
Choose å!
%---& from the
dropdown box
Click on c
to add your new inbound route to your Asterisk server
Click on the red bar at the top of the screen to apply the changes you just made
View screenshot
c
.
/!
Choose your desired UA.
Use the IP address or hostname for your Asterisk box along with 1000 (the
extension created earlier) and password for the 1000 extension to connect to your
Asterisk box
ëext you will want to try placing test calls to and from your Asterisk PBX using the
UA currently connected to your newly created extension (1000).
c
0
You can make a test call to 17771234567, or if you are signed up for one of
Callcentric's rate plans you can place a call to a traditional landline or mobile phone
by dialing either:
1
/c
Ô
-1
"
2
2
(
( (you
may also use 00 instead of 011).
To test inbound calls from Callcentric to your Asterisk installation, follow the
directions listed in this åAQ.