Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  Bypass AWS for WebRTC in LDM EDGE scenario

    Posted 09-23-2019 06:29
    Hi,

    Is there a way to have RTP traffic flow directly between a WebRTC agent and our LDM Edges when agent is on the Internet ?
    At the moment RTP traffic is pinned to AWS like this : Agent <-> AWS <-> Edge. 

    Our Edges are hidden behind NAT but they do not have to be if this is the issue. 
    Can I have my own TURN server ?

    I would like to avoid adding >60ms to the voice path.
    #SIP/VolP

    ------------------------------
    Paweł,
    Cludo
    ------------------------------


  • 2.  RE: Bypass AWS for WebRTC in LDM EDGE scenario

    Posted 09-24-2019 01:50
    RTP will flow via LAN ( Direct ) if WebRTC clients can negotiate for the host connections during ICE discovery. You can verify this from chrome://webrtc-internals/ page when there is an active WebRTC call in progress. TURN will be used only when direct connection cannot be negotiated.

    ------------------------------
    Gomathi Vasagam
    ------------------------------



  • 3.  RE: Bypass AWS for WebRTC in LDM EDGE scenario

    Posted 09-24-2019 02:11
    I know I can get direct communication when agents are on LAN. :)
    My question was how do I assure direct with agents on the Internet.

    Is is enough to assign public IP to edge directly ?


    ------------------------------
    Paweł,
    @Cludo
    ------------------------------



  • 4.  RE: Bypass AWS for WebRTC in LDM EDGE scenario

    GENESYS
    Posted 09-24-2019 10:00
    STUN and TURN are implemented in the cloud for WebRTC to make it more reliable, so you cannot set up your own TURN server:
    https://help.mypurecloud.com/faq/can-implement-stunturn-server-proxy-connections-purecloud/

    https://help.mypurecloud.com/articles/trickle-ice-for-webrtc-overview/

    ------------------------------
    George Ganahl GCP (PureCloud) ICCE CCXP
    Principal Technology Consultant
    Genesys
    ------------------------------



  • 5.  RE: Bypass AWS for WebRTC in LDM EDGE scenario

    Posted 09-24-2019 10:09
    So anyone with an answer to my original question ?

    Can I have direct RTP stream between my Edges and Agents on the Internet or not ? :)


    ------------------------------
    Paweł,
    @Cludo
    ------------------------------



  • 6.  RE: Bypass AWS for WebRTC in LDM EDGE scenario
    Best Answer

    GENESYS
    Posted 09-25-2019 07:11
    There is no way to force the RTP stream to go directly between Edges and Agents. STUN will determine all possible paths and use the optimal path. As there may be multiple varied paths, especially for us to get to an agent with an Internet connection it is not possible for us to determine which paths may be preferred or all this to be configured because it can be dynamic based upon a customer's topology.

    ------------------------------
    Don Huovinen
    Genesys - Employees
    ------------------------------



  • 7.  RE: Bypass AWS for WebRTC in LDM EDGE scenario

    Posted 09-25-2019 07:19
    OK, so it is possible. I just have to make it the optimal path.
    Will provision my edges directly with public IP addresses and try :)

    Thanks,

    ------------------------------
    Paweł,
    @Cludo
    ------------------------------



Need Help finding something?

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