Legacy Dev Forum Posts

 View Only

Sign Up

Genesys SIP Headers access

  • 1.  Genesys SIP Headers access

    Posted 06-05-2025 18:04

    Bhagyaraju_Pati | 2024-02-13 12:12:21 UTC | #1

    We are trying to pass the data using Genesys SIP headers using the below format. User-to-User: XX{{context.session.BotUserSession.conversationSessionId}};encoding=ascii.

    but When call connected we are unable to fetch the same data using below api await conversationsApi.getConversationsCall(currentConversationId);

    Kindly help us here


    Ebenezer_Osei | 2024-02-15 18:26:42 UTC | #2

    Hi,

    Can you add a short delay (1-3 seconds) before fetching the conversation data to see if that makes a difference? Based on the results, there is a feature toggle we can enable temporarily for you if you get a successful response. If not, you'd have to open a case with Care to investigate your issue further.

    Best


    Bhagyaraju_Pati | 2024-02-21 10:55:22 UTC | #3

    Hi Ebenezer,

    Thanks for the reply. I have tried tried giving a 5 seconds delay before accessing the api, still I am unable to get the headers.

    and for the reference I am attaching my architect flow screenshot.

    Regards, Bhagyaraju Pati


    Jerome.Saint-Marc | 2024-02-26 13:57:56 UTC | #4

    Hello,

    For clarification, are you literally using XX (the letters) in your UUI header value (XX{{context.session.BotUserSession.conversationSessionId}};encoding=ascii)? Or replacing them with digits instead of these (00, 01, 02, ...)?

    And is this for a SIP INVITE or a SIP REFER?

    Regards,


    Bhagyaraju_Pati | 2024-02-26 14:28:30 UTC | #5

    yes, XX will be replaced with 00 and we are using SIP REFER


    Jerome.Saint-Marc | 2024-02-26 14:39:40 UTC | #6

    On SIP REFER, UUI data is propagated via the Refer-To header See at the bottom of this page for the format of the value Or in this blog.

    You would have to have a header like this in your REFER: Refer-To: <sip:YOUR_DID_NUMBER@localhost?User-to-User=XX{{context.session.BotUserSession.conversationSessionId}};encoding=ascii>

    Regards,


    system | 2024-03-28 14:40:04 UTC | #7

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 24612