Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Anrew Livingston on February 28, 2018, 08:40:45 PM

Title: Log custom sip header for incoming call in ICON
Post by: Anrew Livingston on February 28, 2018, 08:40:45 PM
How does one configure SIP server 8.1 to write specific sip headers to ICON?  I have a customer that is sending data in something other than the conventional UUI header and need to include it in some reporting. 
Title: Re: Log custom sip header for incoming call in ICON
Post by: hsujdik on March 01, 2018, 01:38:45 PM
On the Framework 8.1 SIP Server Deployment Guide - Chapter 5: SIP Server Feature Support, there is a section called "Mapping SIP Headers and SDP Messages". Take a look if that helps you. It explains how to copy data from SIP messages to T-Lib UserData (which can ben later configured on ICON to write to the database on the adata_spec.xml file)
Title: Re: Log custom sip header for incoming call in ICON
Post by: water235 on March 01, 2018, 02:32:27 PM
so, if you want to tap the header from INVITE - for example -
on the SIP SERVER - Options Tab - create a new section called "INVITE" - Inside that  define the KVP -
something like this -
Key = Value
userdata-1 =Call-ID(matching the Call-ID Parameter in Header)
userdata-2 =User-to-User
:
:

you would get something like this in the output - once you have set it up correctly :
                User-to-User' '00DE08199206515E980ED2;encoding=hex'
'Call-ID' 'BW1414579900103181867563641@'

and now this will get attached as user data in the logs, you can manipulate it -
if this is what you are looking out for.



Thanks,
Water,
Title: Re: Log custom sip header for incoming call in ICON
Post by: Anrew Livingston on March 07, 2018, 11:56:41 PM
Sorry for the delayed response, thank you for your kind assistance!  Much appreciated.