Loading...
 

SIP URI Calling TO FusionPBX and FS PBX


If you have relatives or business contacts in far away places, you may find it more cost-effective to contact them using a SIP URI for which there are no communications charges. For purposes of this tutorial, we will be using the free Zoiper5 application to make the SIP calls. If you are calling an extension or ring group associated with a FusionPBX or FS PBX server, here are the steps to configure the receiving server to accept the calls:

1. Create a new destination in Dialplan -> Destinations and then click SAVE:

Type: inbound
Destination: 701 (any extension will work because we're going to make it generic down the road)
Context: public
Actions: choose an extension from the pull-down list
Usage: voice
Order: 100
Enabled

2. Edit the route you just created in Dialplan -> Inbound Routes, make the following changes, and click SAVE:

Name: SIP_URI_incoming
Number: Leave as is
condition: destination_number ^(\d{3,4})$
action: transfer $1 XML fusionpbx.yourdomain.org

3. Allow the IP address of the calling party in Advanced -> Access Control -> providers

4. Click Reload ACL in Status -> SIP Status

Special Notes:

3,4 above means allow calls to any 3-digit or 4-digit extension.
fusionpbx.yourdomain.org is your actual FusionPBX or FS PBX domain.
Modify to meet your own requirements.

This will also allow incoming SIP URI calls to any other DID specified in your inbound routes and functions just as if you called that DID number, e.g. sip:4041234567@fusionpbx.yourdomain.org will connect just as if you dialed 4041234567. Some may wish to skip the extension setup and only allow SIP URI calls to the DIDs on your PBX which would process the calls just as if you called the number from a traditional phone… except the SIP URI call will be free.