Jump to content

Twilio SIP Trunk


Cld007

Recommended Posts

  • 7 months later...
  • 4 weeks later...

Cld007,

 

As promised.

 

TWILIO SETUP

 

With in Twilio here is what I used to get going.

  1. Create Twilio Trunk, i.e friendly name "test-trunk"
  2. Set Termination URI, i.e "test-trunk.pstn.twilio.com"
  3. Set Authentication, IP Access Control, input IP of PBX.
  4. Set Origination URI, sip:domain.yourpbx.com (Domain of where you will be adding the trunk on the Vodia PBX)
  5. Add voice number, configure with 'SIP Trunking' ensure its set to route to to the sip trunk friendly name

 

PBX SETUP

 

With in Vodia PBX under domain.yourpbx.com, here is the trunk setup screens shot,

 

https://dl.dropboxusercontent.com/u/721515/twilio-1.png

https://dl.dropboxusercontent.com/u/721515/twilio-2.png

 

 

*Note - based on what Localized URIs you end up using you will need to make sure the Explicitly list addresses for inbound traffic: setting has these reflected, or you could leave it blank but I would advise not to for security purposes, maybe for initial testing you can and then once you are happy its working lock it down.

 

Use this url to locate the media IP's https://www.twilio.com/docs/api/sip-trunking/getting-started#whitelist I had to input them IP by IP with a space I don't think the PBX would let me to do xxx.xxx.xxx.xxx/26 for example.

 

When I tried that I could not get calls in. You will need to just spend a few minutes and find out all the IP in the subnet they list for media gateways and put them in.

 

 

EXTENSION SETUP

 

Twilio will send the full E164 number including + symbol in the request URI make sure you have the number against the extension or hunt group, what ever it is you are using.

 

Example

 

https://dl.dropboxusercontent.com/u/721515/extension.png

 

 

DIAL PLAN SETUP

 

Just make sure make your dial plans re-write the numbers to full E164 format including the + symbol or Twilio will not process them.

 

 

Let me know if you get stuck

Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...