Genesys SIP Headers access

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

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

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

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,

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

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,

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