Jump to content


Photo

Twilio SIP Trunk


  • Please log in to reply
7 replies to this topic

#1 Cld007

Cld007

    Advanced Member

  • Members
  • PipPipPip
  • 58 posts

Posted 27 October 2015 - 04:43 PM

Has anyone had any success with configuring a Twilio SIP trunk?

 

Nothing seems to be working. Appreciate your assistance in advance.



#2 Vodia PBX

Vodia PBX

    Advanced Member

  • Administrators
  • PipPipPip
  • 8,988 posts
  • Gender:Male

Posted 27 October 2015 - 08:30 PM

Looks very interesting what they are doing there. Seems they favor WebRTC against SIP and SIP is more like an afterthought! But this definitely very interesting. We don't have it in the drop-down (yet). If they more or less support SIP it should be possible to get it working. 



#3 Cld007

Cld007

    Advanced Member

  • Members
  • PipPipPip
  • 58 posts

Posted 27 October 2015 - 09:05 PM

Thanks for the reply. 

 

We are trying to test their Elastic SIP trunk though haven't been able to get it working after hours of testing.



#4 Vodia PBX

Vodia PBX

    Advanced Member

  • Administrators
  • PipPipPip
  • 8,988 posts
  • Gender:Male

Posted 28 October 2015 - 08:58 AM

I did not even find the link to the documentation....



#5 Scott1234

Scott1234

    Member

  • Members
  • PipPip
  • 22 posts

Posted 23 June 2016 - 03:52 AM

We did some testing with the services a few months ago. Took me a while to get it going.

 

I will try make a quick doco for you.



#6 Cld007

Cld007

    Advanced Member

  • Members
  • PipPipPip
  • 58 posts

Posted 24 June 2016 - 06:25 PM

That would be excellent, thank you very much Scott. 

 

We never ended up getting it working despite a lot of trying.



#7 Scott1234

Scott1234

    Member

  • Members
  • PipPip
  • 22 posts

Posted 20 July 2016 - 03:13 AM

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.dropboxus...15/twilio-1.png

https://dl.dropboxus...15/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.c...arted#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.dropboxus...5/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



#8 elembemedia

elembemedia

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 26 July 2017 - 05:46 PM

This was just the topic I needed. Any chance you still have those screenshots? Looks like the Dropbox links have expired.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users