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);
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.
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, ...)?
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>