In SAIL PBX, we 1st need to create a new Carrier.
So select Carriers > New Carrier.
Enter the following in the "Add or Modify a Carrier, Sibling or Gateway" window.
Technology: SIP
Carrier type: VOIP
MD5 Encryption: NO
Carrier Name: BudgetPhone
Description: Dutch Carrier
Host URL: sip.budgetphone.nl
Registration Template (Optional): username@budgetphone.nl:password:username@sip.budgetphone.nl/username
Now click Save.
Once created, open the just created carrier (BudgetPhone), and add the following to the [peer] box.
fromdomain=budgetphone.nl
The content shown in the peer box should now look like this
[peer]
type=peer
host=
qualify=3000
canreinvite=no
username=
fromuser=
secret=
fromdomain=budgetphone.nl
Click Save again, and than Commit.
Now we need to create the Trunk.
Click on Trunklines, and select New Trunk, and as Carrier the just created Carrier (in my case Budgetphone)
In the DID Number or IP Name, you enter your Budgetphone nr.
REMEMBER. the 31 needs to be added. (example: 31307123456)
Leave the Peer Stanza Label empty, The hostname or IP address should show sip.budgetphone.nl
In the user name enter your Budgetphone nr. Again. Make sure its with the 31 in front. (example: 31307123456)
Enter you Budgetphone password (it's not the same as the forum or login password for the website)
Once created, select the edit option for the Trunk, as you will need to set some things here.
Select the LAN phone nr. that you would like to use for this account. This can be done in the "Open Inbound Route"
As "Transformation Mask" I have the following: 00: 0:31 :00
For me the "Closed Inbound Route" is set to the same LAN phone nr as the "Open Inbound Route"
The "Cluster" is set to default.
The registration string (and this is important) should look like this:
31307123456@budgetphone.nl:2gHd7YtF:31307123456@sip.budgetphone.nl/31307123456
Note:
The 31307123456 should be your number.
The 2gHd7YtF should be your password.
The [31307123456] (again this should be your Budgetphone nr. should look like this)
type=peer
host=sip.budgetphone.nl
qualify=3000
canreinvite=no
username=31307123456
fromuser=31307123456
secret=2gHd7YtF
fromdomain=budgetphone.nl
disallow=all
allow=gsm
allow=alaw
insecure=very
I've done some other tweaks to my SAIL setup, but can not really remember what.
Let me know if you get stuck, and I will try to help you more.