X

How To Setup FreePBX SIP Trunk Configuration For Voipfone SIP Provider

I want to show how to setup FreePBX sip trunk using Voipfone sip provider. Voipfone is sip trunk provider. This guide is supported Asterisk 11, 12 and 13.

How To Install FreePBX 15 on CentOS 8

How To Install FreePBX 15 On Ubuntu 18.04

Step #01: Setup sip trunk on FreePBX server.

After login your FreePBX web gui then go to Connectivity / Trunks then click Add Trunk+ now open dropdown box. Then click +Add SIP (chan_sip) Trunk.

See trunk name as like below image.

Step #02: Go to Dial Number Manipulation Rules.

These rules can manipulate the dialed number before sending it out this trunk. If no rule applies, the number is not changed. The original dialed number is passed down from the route where some manipulation may have already occurred. This trunk has the option to further manipulate the number. If the number matches the combined values in the prefix plus the match pattern boxes, the rule will be applied and all subsequent rules ignored.
Upon a match, the prefix, if defined, will be stripped. Next the prepend will be inserted in front of the match pattern and the resulting number will be sent to the trunk. All fields are optional.

Rules:
X   matches any digit from 0-9
Z   matches any digit from 1-9
N   matches any digit from 2-9
[1237-9] matches any digit or letter in the brackets (in this example, 1,2,3,7,8,9)
.   wildcard, matches one or more characters (not allowed before a | or +)

My config as like below image.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Step #03: Go to third tap for sip settings.

It have two option one outgoing and two incoming.

Outgoing as like below image.

And incoming as like below image.

Then click Submit from footer, and then click Apply Config from top right corner for save all config.

Step #04: Setup outbound routes for FreePBX.

Go to Connectivity / Outbound Routes then click +Add Outbound Route. Type any Route Name and select your trunk previously created located from Optional Destination on Congestion.

Now select Trunk from dropdown menu and then see your trunk name voipfone (sip).

As like below image.

Step #05: Setup incoming route on FreePBX.

Go to Connectivity / Inbound Routes then click +Add Inbound Route.  Type any name and select Set Destination as Extensions. Then you can create new extension or you can select previously created extension. See as like below image.

Then click Submit from footer, and then click Apply Config from top right corner for save all config.

Please see my YouTube video for more details if any error.

0 0 votes
Article Rating
Admin: I am system administrator as Windows and Linux platform. I have 4 years skilled from the professional period. I have to configure Linux based system such as an Asterisk VOIP system, Network monitoring tools (ZABBIX), Virtualization (XEN Server), Cloud computing (Apache CloudStack) etc. Now share my professional skill each interested person. Thanks to all.
Leave a Comment