Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Has anyone integrated Genesys Cloud with Salesforce Agentforce Voice Bot via SIP Trunking?

    Posted 20 days ago

    Hi,

    We are currently working on a POC integration between Genesys Cloud and Salesforce Agentforce Voice Bot using SIP trunking via Salesforce Service Cloud Voice, and wanted to check if anyone in the community has implemented or attempted a similar setup.

    Our scenario:

    1. We are on Genesys Cloud Voice (managed telephony)
    2. Calls land on a specific DID in Genesys Cloud
    3. That DID needs to be routed to a Salesforce Agentforce Voice Bot over SIP
    4. If the bot cannot resolve the query, the call should escalate back to a live agent on Genesys CX Cloud

    What we have done so far:

    • Raised a Genesys Support case - Support confirmed there is no specific documentation on the Genesys Resource Center for this integration pattern and recommended engaging Professional Services
    • Reviewed the Salesforce developer documentation: Configure SIP Trunking for Agentforce Voice
    • Identified that on the Genesys side we need to configure: a dedicated Site, a BYOC PBX External Trunk, DID assignment, and an Architect Inbound Call Flow with DNIS-based routing

    Key questions we have:

    • Has anyone configured a BYOC PBX trunk from Genesys Cloud to Salesforce Service Cloud Voice (SBC endpoint)? If yes, what SIP transport and codec settings worked for you?
    • How did you handle the escalation return leg - when Salesforce sends the call back to Genesys for live agent routing?
    • We are on Genesys Cloud Voice - did adding a BYOC Cloud trunk require any additional subscription/licence changes or incur extra cost?
    • Did adding a new Site and BYOC trunk cause any impact to your existing working Genesys Cloud Voice setup?
    • Is there any community blueprint or reference architecture for this specific Genesys ↔ Agentforce SIP pattern?

    Any guidance, lessons learned, or reference configs from anyone who has done this would be extremely helpful.


    #Integrations

    ------------------------------
    Prasoon Pandey
    NA
    ------------------------------


  • 2.  RE: Has anyone integrated Genesys Cloud with Salesforce Agentforce Voice Bot via SIP Trunking?

    Posted 20 days ago

    Interesting topic, definitelly following this thread. Even though I haven't tried this Agentforce Voice SIP / Genesys integration yet, I'm very curious about the architecture and will probably have to use something similar in the near future, would love to hear from anyone who already validated it in production. 



    ------------------------------
    Leonardo Teixeira
    NA
    ------------------------------



  • 3.  RE: Has anyone integrated Genesys Cloud with Salesforce Agentforce Voice Bot via SIP Trunking?

    Posted 19 days ago

    Hi @Prasoon Pandey,

    Interesting use case - you're definitely following the right approach.

    A few quick insights based on similar SIP integrations with Genesys Cloud:

    • BYOC PBX → Salesforce SBC:
      Use TCP/TLS if possible, and G.711 (PCMU) as primary codec. Keep configs simple at first and ensure proper E.164 formatting and SIP headers.

    • 🔁 Escalation back to Genesys:
      Easiest way is using a dedicated DID for the return leg and routing via Architect. Trying to reuse the same flow based on headers adds complexity early on.

    • 💰 Licensing/costs:
      BYOC PBX can coexist with Genesys Cloud Voice without major license changes, but expect additional call routing costs depending on the flow.

    • ⚠️ Impact:
      No impact to current setup if you isolate everything in a new Site and trunk (which you're already doing).

    • 🧩 Blueprint:
      No official reference yet, but your architecture aligns with standard SIP handoff + return patterns.

    Biggest advice: keep routing simple and traceable, and capture SIP traces from day one.

    Would be great to hear how your POC evolves!



    ------------------------------
    Cesar Padilla
    INDRA COLOMBIA
    ------------------------------



  • 4.  RE: Has anyone integrated Genesys Cloud with Salesforce Agentforce Voice Bot via SIP Trunking?

    Posted 18 days ago

    With the complications of getting calls to and from Salesforce and the lack of escalation information with context, It will be a challenge.  With a price of $2 per conversation and upwards of $125 per user per month for the agent assist portion, it is VERY expensive proposition.  



    ------------------------------
    Robert Wakefield-Carl
    ttec Digital
    Sr. Director - Innovation Architects
    Robert.WC@ttecdigital.com
    https://www.ttecDigital.com
    https://RobertWC.Blogspot.com
    ------------------------------



  • 5.  RE: Has anyone integrated Genesys Cloud with Salesforce Agentforce Voice Bot via SIP Trunking?

    Posted 18 days ago

    Posting to follow this conversation. We are starting on the same path soon and I'm eager to see how Agentforce can integrate with Genesys!



    ------------------------------
    April Melheim
    ------------------------------



  • 6.  RE: Has anyone integrated Genesys Cloud with Salesforce Agentforce Voice Bot via SIP Trunking?

    Posted 18 days ago

    Hi Prasoon,

    We evaluated a very similar architecture recently and one important thing we learned early is that this integration behaves much more like a SIP federation scenario than a native Genesys ↔ Salesforce integration.

    From the Genesys side, your understanding is correct:
    typically you end up introducing:

    a dedicated Site
    a BYOC PBX trunk
    DNIS-based routing in Architect
    and controlled call handoff logic
    One important clarification:
    Genesys Cloud Voice and BYOC PBX can coexist without breaking the existing managed telephony setup, because the routing domain is isolated by Site/Trunk configuration. So operationally the risk is usually low if you keep the new SIP routing segregated properly.

    That said, we strongly recommend creating:

    dedicated trunks
    dedicated sites
    dedicated DIDs/test numbers
    during the POC phase to avoid accidental routing overlap with production voice traffic.

    For SIP transport, we had the most stable behavior using:

    TLS
    SRTP
    G.711 μ-law
    with conservative codec negotiation enabled.

    Some SBCs advertised additional codecs that caused intermittent negotiation failures during transfers/re-invites, especially when the bot escalated back to a human queue.

    One hidden complexity is actually the return escalation leg.

    The cleanest pattern we found was:
    Genesys → Salesforce Bot → return to dedicated Genesys ingress DNIS

    instead of trying to "resume" the original SIP dialog directly.

    In practice, treating the escalation as a controlled re-entry into Genesys routing logic produced much more predictable behavior operationally.

    That allowed Architect to:

    reattach routing logic
    set participant data
    perform queue selection
    restore context
    apply reporting logic
    without relying on fragile SIP transfer assumptions.

    Another important consideration:
    preserving context across the handoff becomes critical.

    Because once the bot escalates back, Genesys does not automatically inherit all conversational metadata unless you explicitly persist and restore it.

    The implementations we saw working best usually persisted:

    original ANI
    bot outcome
    intent detected
    authentication state
    collected entities
    conversation correlation IDs
    either via SIP headers, external context store, or Salesforce-side APIs before returning to Genesys.

    One thing I would validate very early:
    how Salesforce Agentforce handles SIP REFER versus new INVITE escalation behavior.

    That distinction can impact:

    call recording continuity
    conversation IDs
    transcription continuity
    reporting attribution
    agent leg visibility
    transfer metrics
    quite significantly.

    Regarding licensing/costs:
    typically BYOC PBX itself does not replace Genesys Cloud Voice, but introducing external SIP connectivity may introduce:

    carrier/SBC costs
    external routing costs
    Professional Services involvement
    possibly additional telephony architecture requirements
    depending on the environment.

    The biggest operational risk we observed was not telephony itself, but troubleshooting ownership.

    Once calls traverse:
    Genesys → Salesforce → external SBC → back to Genesys

    isolating failures becomes much harder unless you already have:

    SIP tracing
    call correlation IDs
    centralized logging
    clear SIP ladder visibility
    end-to-end observability
    in place.

    Architecturally, the pattern is definitely possible, but I would strongly recommend designing it as:

    loosely coupled SIP orchestration
    with explicit context persistence
    rather than trying to make both platforms behave like a single native voice stack.

    That usually scales and debugs much better in production.



    ------------------------------
    Gabriel Garcia
    NA
    ------------------------------