" /> Twilio Integration with Genesys - Genesys CTI User Forum

Author Topic: Twilio Integration with Genesys  (Read 6353 times)

Offline gen_den

  • Full Member
  • ***
  • Posts: 176
  • Karma: 0
Twilio Integration with Genesys
« on: January 05, 2017, 11:09:52 AM »
Advertisement
Hi experts,

I am looking for information if Genesys can directly Integrate with Twilio? or it's mandatory to have Asterisk or any other switch in between>
can our Genesys SIP server directly integrate with any VOIP providers and send and receive calls without any switch/PBX in between?

Thanks
Ankush

Offline jamesmurphyau

  • Full Member
  • ***
  • Posts: 123
  • Karma: 2
Re: Twilio Integration with Genesys
« Reply #1 on: January 06, 2017, 08:10:33 AM »
I've set up Twilio as a SIP trunk into SIP Server.. I'll have to have a look see if I can find the config.

You don't need anything other than SIP Server to get it to work.

Offline gen_den

  • Full Member
  • ***
  • Posts: 176
  • Karma: 0
Re: Twilio Integration with Genesys
« Reply #2 on: January 06, 2017, 03:50:06 PM »
Thanks a lot for your reply , it would be great if you could provide the configuration for Twilio with SIP server please.

Offline Dionysis

  • Sr. Member
  • ****
  • Posts: 408
  • Karma: 8
Re: Twilio Integration with Genesys
« Reply #3 on: January 18, 2017, 10:08:17 PM »
I've done it direct to SIP Server and via an SBC (strongly recommend using an SBC), it's essentially the same as connecting SIP Server to any external call source, eg. create a trunk DN and you're done.

Offline gen_den

  • Full Member
  • ***
  • Posts: 176
  • Karma: 0
Re: Twilio Integration with Genesys
« Reply #4 on: February 13, 2017, 05:45:40 PM »
Thanks, I have also deployed using direct SIP server. Created a SIP trunk and directed the call from provider to my trunk and it worked :)
As far as I know SIP server is capable of performing all the function a switch can do , however SBC  i guess good for security

Offline manasia

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: Twilio Integration with Genesys
« Reply #5 on: July 20, 2017, 12:04:53 PM »
Hello can someone post this configuration? I have the inbound Twilio setup but my outbound is not working at all.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Twilio Integration with Genesys
« Reply #6 on: July 20, 2017, 12:36:40 PM »
Yeah....magic balls and deamon spells are out...so logs will have to do this time. Sorry for the inconvenience

Offline Dionysis

  • Sr. Member
  • ****
  • Posts: 408
  • Karma: 8
Re: Twilio Integration with Genesys
« Reply #7 on: July 20, 2017, 04:32:44 PM »
SBC is for both security, and topology hiding.  Meaning it will deal with the fact that your SIP Server uses an internal IP address and be the single point of contact for your SIP traffic to get into your network.

Offline gen_den

  • Full Member
  • ***
  • Posts: 176
  • Karma: 0
Re: Twilio Integration with Genesys
« Reply #8 on: July 26, 2017, 04:54:30 AM »
Hi there,

I have this integration working perfectly for both Inbound and Outbound calls. It depends what kind of error you are getting from Twilio when your infra send INVITe to Twilio.

However for me i faced an error where Twilio could not authenticate my request, so you need to make sure for OUtbound calls.

---> You have created entry of your IP in ACL in Twilio page/account. So that Twilio trust the Request when it get from your Infrastructure.
---> The number which is allocated to you by Twilio send that number to Twilio in your INVITE , you can do it by adding an option "cpn" in your Trunk under TServer section.

Please post the logs with the error Error from Twilio or from the point it;s failing , hope it help :)

Thanks

Offline KRS

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Twilio Integration with Genesys
« Reply #9 on: March 22, 2019, 07:03:28 PM »
I'm trying to connect directly to SIP Server as well, using Twilio's SIP Trunk.

Calls make it in, however there is no audio.

It seems that SIP Server is sending Twilio local ips.

How did you overcome that?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Twilio Integration with Genesys
« Reply #10 on: March 23, 2019, 04:23:35 AM »
??? ??? 
Logs please and you configuration...
Are you using a SBC? without knowing your architecture is quite impossible to help

Offline KRS

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Twilio Integration with Genesys
« Reply #11 on: March 25, 2019, 04:24:33 PM »
Trying to do what the others in this thread have done, directly using SIPServer without a SBC.

In the logs SIPServer is sending a 200 OK with a private IP in the Contact, so Twilio can't return the ACK, and the call times out after ~30 seconds.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Twilio Integration with Genesys
« Reply #12 on: March 25, 2019, 04:36:44 PM »
Sir, your architecture and components with configuration can be similar but will never be the same.
Logs

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Twilio Integration with Genesys
« Reply #13 on: March 25, 2019, 09:29:27 PM »
So your SIP Server has a direct public IP?

Offline KRS

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Twilio Integration with Genesys
« Reply #14 on: March 25, 2019, 10:48:23 PM »
Twilio needs an IP address that is publicly addressable to send the call/s to.

How would the others setup a trunk directly to SIP Server without one?