PureConnect

 View Only

Discussion Thread View
Expand all | Collapse all

SMS with Twilio

  • 1.  SMS with Twilio

    Posted 08-10-2017 14:48
    Has anyone worked with Twilio? We are changing brokers and they seem to be pretty good from a cost perspective but just wondering how their platform and support rate. Thanks, Bill


  • 2.  RE: SMS with Twilio

    Posted 08-10-2017 15:36
    I've done some testing with them and am currently integrating them for a PureConnect/CIC solution. I've been impressed so far with their support, configuration options, and pricing.


  • 3.  RE: SMS with Twilio

    Posted 08-10-2017 15:40
    Originally posted by dcurrier;35627
    I've done some testing with them and am currently integrating them for a PureConnect/CIC solution. I've been impressed so far with their support, configuration options, and pricing.
    Were you able to integrate with them using an XML mapping file in the i3sms folder?


  • 4.  RE: SMS with Twilio

    Posted 08-10-2017 15:48
    The first time I did testing with Twilio, I had to manually create a new SMS Broker config (xml file, etc.). But in current versions of PureConnect/CIC, Twilio already has a Broker in place that just needs to be configured in Administrator. The most frustrating part of using SMS with CIC at the moment, is that there isn't a top-level media type for SMS yet. Well, there is IF you're just sending a one-off SMS message from the client. But if it is an inbound ACD SMS conversation, it's a sub-type of Chat and differs slightly based on how the inbound routing is configured.


  • 5.  RE: SMS with Twilio

    Posted 08-17-2017 16:08
    We ended up getting the file from Genesys support and after a few tweaks we were able to get it working with our version. How would you say the experience has been working with Twilio?


  • 6.  RE: SMS with Twilio

    Posted 08-17-2017 16:14
    Excellent.


  • 7.  RE: SMS with Twilio

    Posted 08-18-2017 11:59
    Hi, I just ran into this thread. As a matter of fact I have been trying to setup the Twilio broker with our test environment to test SMS conversations with customers. For inbound SMS no problem, but when I reply from within the interaction the SMS is not being sent back to Twilio. I have changed the MT URL to https and I have toggled between a basic and secure encryption. The logs show the following message HTTPS URI requested on an unsecure broker connection. I am stuck at this moment, so hopefully you guys have some tips I can try. Rgds, 200_OK


  • 8.  RE: SMS with Twilio

    Posted 08-18-2017 12:39
    I believe this message shows up when HTTPS is not enabled on the broker, but the outbound address is HTTPS. Twilio requires HTTPS for all API connections so it must be used. Due to how CIC handles certificates (and switchover), a reverse proxy server is needed at the edge of the environment to handle the connection to Twilio. See the SMS technical reference for details.


  • 9.  RE: SMS with Twilio

    Posted 10-27-2017 19:30
    Originally posted by dcurrier;35656
    I believe this message shows up when HTTPS is not enabled on the broker, but the outbound address is HTTPS. Twilio requires HTTPS for all API connections so it must be used. Due to how CIC handles certificates (and switchover), a reverse proxy server is needed at the edge of the environment to handle the connection to Twilio. See the SMS technical reference for details.
    We are currently in the testing phase with Twilio. I like the service. I'm having problems sending/receiving to anything except the default. Does anyone use this for purposes other than call center? Thanks!


  • 10.  RE: SMS with Twilio

    Posted 10-29-2017 19:37
    The target for an inbound SMS message is determined by the routing rules. What are you trying to do?


  • 11.  RE: SMS with Twilio

    Posted 10-30-2017 15:22
    Originally posted by dcurrier;36159
    The target for an inbound SMS message is determined by the routing rules. What are you trying to do?
    I am trying to route to a user based on the DNIS. I have two text capable numbers, but it always follows the default. Doesn't matter which number I send an SMS to. It's probably something simple, but I haven't figured it out yet.


  • 12.  RE: SMS with Twilio

    Posted 10-30-2017 15:45
    There are a couple of options for inbound routing to a user and a couple important considerations for routing. To configure SMS inbound routing:
    • Open Interaction Administrator, browse to System Configuration > SMS > Configuration > Inbound Routing tab
    • Click the Add... button to create a new routing entry
    • For simple routing, select DNIS from the Type dropdown
    • Enter the regular expression to match the full number to which the text is sent - Example: \+13172222222 (the backslash at the beginning of the regular expression allows the literal + character to be matched)
    • Select either Queue or Chat as the Destination - If Queue, then select the user queue to which the message should be delivered
    • If Chat, click OK to close the SMS configuration dialogs, then browse to System Configuration > Phone Numbers > Configuration > DID/DNIS tab
    • Click the Add... button to create a new DID/DNIS routing entry
    • Enter the full E.164 DNIS in the Simple Mapping field - Example: +13172222222
    • Select the appropriate user on the right side as the destination and click OK to save/close


  • 13.  RE: SMS with Twilio

    Posted 10-30-2017 16:27
    Originally posted by dcurrier;36163
    There are a couple of options for inbound routing to a user and a couple important considerations for routing. To configure SMS inbound routing:
    • Open Interaction Administrator, browse to System Configuration > SMS > Configuration > Inbound Routing tab
    • Click the Add... button to create a new routing entry
    • For simple routing, select DNIS from the Type dropdown
    • Enter the regular expression to match the full number to which the text is sent - Example: \+13172222222 (the backslash at the beginning of the regular expression allows the literal + character to be matched)
    • Select either Queue or Chat as the Destination - If Queue, then select the user queue to which the message should be delivered
    • If Chat, click OK to close the SMS configuration dialogs, then browse to System Configuration > Phone Numbers > Configuration > DID/DNIS tab
    • Click the Add... button to create a new DID/DNIS routing entry
    • Enter the full E.164 DNIS in the Simple Mapping field - Example: +13172222222
    • Select the appropriate user on the right side as the destination and click OK to save/close
    Thank you for the help! Each time I've gotten hung up on an SMS problem, I've been missing the '\'. All fixed!


Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources