User:Roy/Sandbox
From VoIP.ms Wiki
Creating a trunk
To create a new VoIP.ms trunk head to Extension/Trunk>> VoIP trunks, from the left panel. You can choose to add a SIP or an IAX trunk.
SIP Trunk
To create a SIP trunk you only need to fill some basic information.
- Type: Choose "Register SIP trunk" from the dropdown menu
- Provider Name: Type VoIP.ms, if not listed
- Keep trunk CID: Enable it, if you want the trunk to send its own CID number or disable it if your extensions are going to send their own CID number
- Username: Type your account's number or if you're using a sub-account type its name.
- Password: Type your SIP password for this account
When done, just click on "Save" button, changes won't be applied until you click on "Apply changes" but we won't do it until we finish the configuration.
If you get a pop-up window letting you know about the SIP port number, just click "Ok"
Once your basic SIP trunk has been created we will proceed to improve some settings on it, click on the edit icon for your trunk.
New settings will show up, in order to send your SIP headers as we require, please make sure the "fromuser" field has your account or sub-account name in it. In short, username and fromuser fields should contain the same information.
Now click at "Advanced Settings" and at "Codec Preference" use only the supported codecs by VoIP.ms. At the right column choose only G.729, PCMU, GSM in this order.
If your trunk is going to send its own CID number you can use PAI (P-Asserted-Identity) header. You only need to enable "Send PAI Header" and type the caller ID name and Caller ID number your trunk will be sent by using the following format: YourName<YourPhoneNumber>