Original Message:
Sent: 10-31-2023 16:05
From: Muhammad Zubair Awan
Subject: Extract SIP Header details from inbound call.
Vaun, you are correct that those APIs are still listed under Preview. However I can see both in API Explorer

------------------------------
Cheers
Zubair
Original Message:
Sent: 10-31-2023 15:39
From: Vaun McCarthy
Subject: Extract SIP Header details from inbound call.
Hi Alan
I can run this now fine. I do note the endpoint is still listed in the preview Swagger UI not in GA. I also had the impression there were going to be two endpoints but I only see one related to this in API explorer.
------------------------------
Vaun McCarthy
Original Message:
Sent: 10-31-2023 09:42
From: Alan Lanteigne
Subject: Extract SIP Header details from inbound call.
Hello Vaun,
A few things to verify...
- This is a BYOC Cloud call, not GCV or prem Edge.
- The user invoking the API has the proper permissions:

- The conversation ID supplied in the API call matches a recent conversation in the Org as the user invoking the API call.
Can you verify all of those are true and repeat an API request?
------------------------------
Alan Lanteigne
Genesys - Employees
Original Message:
Sent: 10-29-2023 15:45
From: Vaun McCarthy
Subject: Extract SIP Header details from inbound call.
Okay I can use them but something odd is happening in that the variables I've assigned the output to I can't start to type and have them dynamically picked up, I have to go into the editor and select them from the variables list.
I also still can't get the API endpoints to return anything.
------------------------------
Vaun McCarthy
Original Message:
Sent: 10-27-2023 11:02
From: Jim Crespino
Subject: Extract SIP Header details from inbound call.
@Vaun McCarthy, I wonder if you did what I did and tried to get the SIP headers of a Genesys Cloud Voice call. It appears that SIP headers are only available for calls that come over a BYOC trunk. The first paragraph in the docs say specifically "BYOC Cloud":
Use the Get Raw SIP Headers action in inbound, in-queue, and secure call flows to get existing BYOC Cloud SIP headers in a string-type variable. From the Architect Toolbox, drag a Get Raw SIP Headers Data action into the appropriate location in the task editor.
------------------------------
Jim Crespino
Senior Director, Developer Evangelism
Genesys
https://developer.genesys.com
Original Message:
Sent: 10-27-2023 10:03
From: Jim Crespino
Subject: Extract SIP Header details from inbound call.
Apparently it was: https://help.mypurecloud.com/releasenote/october-25-2023/
I'll play around with it today and reply back if I find anything strange about how to use it.
------------------------------
Jim Crespino
Senior Director, Developer Evangelism
Genesys
https://developer.genesys.com
Original Message:
Sent: 10-26-2023 18:38
From: Vaun McCarthy
Subject: Extract SIP Header details from inbound call.
Hi Jim
Did this get released? I see the APIs are still only in the preview, and I just get no content when actually trying to get them out.
------------------------------
Vaun McCarthy
Original Message:
Sent: 10-24-2023 09:30
From: Jim Crespino
Subject: Extract SIP Header details from inbound call.
Vaun,
You are correct. Access to SIP headers should be released tomorrow (Oct 25).
There are two APIs, one to get the "raw" headers and one to get "parsed" headers:
https://developer.genesys.cloud/platform/preview-apis#get-api-v2-telephony-sipmessages-conversations--conversationId-
https://developer.genesys.cloud/platform/preview-apis#get-api-v2-telephony-sipmessages-conversations--conversationId--headers
There will also be corresponding blocks for each of those in Architect. The one that returns the "raw" headers will return all of the headers as a collection and you'll have to use Architect functions to find and get the header value you want. The one that returns "parsed" headers will return one or more specifically requested header values.
------------------------------
Jim Crespino
Senior Director, Developer Evangelism
Genesys
https://developer.genesys.com
Original Message:
Sent: 10-20-2023 02:03
From: Vaun McCarthy
Subject: Extract SIP Header details from inbound call.
Looks like the ability to get additional SIP headers is coming up in the next release. Does anybody have any details on what it can/can't do?
------------------------------
Vaun McCarthy
Original Message:
Sent: 04-03-2023 12:44
From: Jindeep KS
Subject: Extract SIP Header details from inbound call.
Hi Team,
Currently, we are in development to migrate a project to Genesys Cloud and we will be using Cisco BYOC Trunk to achieve the inbound calling.
We have achieved the call forwarding from Cisco to Genesys Cloud but we are unable to pull the SIP header details listed below in-order to use them in the call flow for routing and data to be displayed to the agent.
Is there anyone in the community who can help in figuring out a way to pull the below details from the SIP Header?
P.S. I have already tried using UUIData and it doesn't work.
#SIP/VolP
------------------------------
Jindeep KS
Accenture LLP
------------------------------