How do I use my Irish VoIP PAYG number with FreePBX?

By following the steps below you will be able to make and receive calls using your Irish VoIP number from your FreePBX (CHAN_SIP) server with automatic failover from our Primary to Secondary server in case of an outage.

Step 1

Add a CHAN_SIP trunk called IrishVoIP-Outbound-Primary.?

In SIP Settings -> Outgoing tab set Trunk Name to IrishVoIP-Outbound-Primary with Peer Details as below replacing your YOURNUMBER and YOURPASSWORD.?

YOURNUMBER is in format similar to 35311234567 as received on signup

type=peer
qualify=4000
username=YOURNUMBER
fromuser=YOURNUMBER
secret=YOURPASSWORD
host=primary.irishvoip.com
port=5099
disallow=all
allow=ulaw&alaw

In SIP Settings -> Incoming tab set Register String as below (User Details and User Context should be blank)

YOURNUMBER:YOURPASSWORD@primary.irishvoip.com:5099/YOURNUMBER

Step 2

Add another CHAN_SIP trunk called IrishVoIP-Outbound-Secondary.??

In SIP Settings -> Outgoing tab set Trunk Name to IrishVoIP-Outbound-Secondary with Peer Details as

type=peer
qualify=4000
username=YOURNUMBER
fromuser=YOURNUMBER
secret=YOURPASSWORD
host=secondary.irishvoip.com
port=5099
disallow=all
allow=ulaw&alaw

In SIP Settings -> Incoming tab set Register String as below?(User Details and User Context should be blank)

YOURNUMBER:YOURPASSWORD@secondary.irishvoip.com:5099/YOURNUMBER

Step 3

Create an Inbound Route with no settings except a name, DID = YOURNUMBER and destination (your chosen extension, ring group, IVR etc).?

Ensure Allow SIP Guests is Disabled in Asterisk SIP settings to avoid abuse of the inbound route.

Step 4

Create an Outbound Route with the settings you wish to access for outbound calls?

For Example

To make people dial 9 for outbound include 9 in prefix and X. in dial pattern. This will route everything entered after 9 over Irish Voip e.g 9011234567 will ring 011234567 over Irish VoIP.

Choose both Irish VoIP trunks with the IrishVoIP-Primary first, name the route and save.

Step 5

Log into the server terminal using Putty or similar tool and edit the file /etc/asterisk/sip_custom.conf using vi or nano and add the text below to allow inbound traffic to reach your server.

[IrishVoIP-Inbound-Primary]
host=primary.irishvoip.com
port=5099
type=peer
context=from-sip-external
allow=all
qualify=4000

[IrishVoIP-Inbound-Secondary]
host=secondary.irishvoip.com
port=5099
type=peer
context=from-sip-external
allow=all
qualify=4000

Save the file and reload the configuration by typing fwconsole restart and hit return.

You can check all is OK by going to Reports->Asterisk Info->Chan_Sip Info on the Freepbx GUI. You should see the two registrations for inbound under Registry (will say registered if OK), the two trunks for outbound and the two trunk for inbound under Peers

That's it!

You can now make and receive calls from your PBX using your Irish VoIP PAYG number

NOTE: Caller ID will always be your registered number when using this route and trunk even if changed in Freepbx.

Remember to keep your account topped up. Check your balance at any time by dialing 172

?

  • 767 Users Found This Useful
Was this answer helpful?

Related Articles

FreePBX Feature List

  Caller ID Call Transfer Call Parking Call Forwarding Call Recording Call...

Can I receive calls on more than one device with the same number?

Yes, for our Irish VoIP accounts you can setup multiple devices using the same supplied settings....

How to dial Irish Numbers?

You are required to dial the full regional prefix for all numbers.For Example, if the number you...

How do I check my PAYG balance?

Dial 172 from your phone or SIP client You can also check your balance from the client area and...

What is a SIP Proxy

A? SIP Proxy is a special node or piece of software that manages SIP communications between the...