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

Offline AK

  • Full Member
  • ***
  • Posts: 127
  • Karma: 0
Twilio Integration with Genesys
« on: January 05, 2017, 08:09:52 PM »
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: 115
  • Karma: 1
Re: Twilio Integration with Genesys
« Reply #1 on: January 06, 2017, 05:10:33 PM »
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 AK

  • Full Member
  • ***
  • Posts: 127
  • Karma: 0
Re: Twilio Integration with Genesys
« Reply #2 on: January 07, 2017, 12:50:06 AM »
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: 391
  • Karma: 8
Re: Twilio Integration with Genesys
« Reply #3 on: January 19, 2017, 07:08:17 AM »
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.
if len(description) < enough:
    from troubleshooting.skills import psychic

Offline AK

  • Full Member
  • ***
  • Posts: 127
  • Karma: 0
Re: Twilio Integration with Genesys
« Reply #4 on: February 14, 2017, 02:45:40 AM »
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, 09: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: 6961
  • Karma: 56331
Re: Twilio Integration with Genesys
« Reply #6 on: July 20, 2017, 09: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: 391
  • Karma: 8
Re: Twilio Integration with Genesys
« Reply #7 on: July 21, 2017, 01:32:44 AM »
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.
if len(description) < enough:
    from troubleshooting.skills import psychic

Offline AK

  • Full Member
  • ***
  • Posts: 127
  • Karma: 0
Re: Twilio Integration with Genesys
« Reply #8 on: July 26, 2017, 01:54:30 PM »
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 23, 2019, 04:03:28 AM »
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: 6961
  • Karma: 56331
Re: Twilio Integration with Genesys
« Reply #10 on: March 23, 2019, 01:23:35 PM »
 ??? ??? 
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 26, 2019, 01:24:33 AM »
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: 6961
  • Karma: 56331
Re: Twilio Integration with Genesys
« Reply #12 on: March 26, 2019, 01:36:44 AM »
Sir, your architecture and components with configuration can be similar but will never be the same.
Logs

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 6961
  • Karma: 56331
Re: Twilio Integration with Genesys
« Reply #13 on: March 26, 2019, 06:29:27 AM »
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 26, 2019, 07:48:23 AM »
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?