" /> Log custom sip header for incoming call in ICON - Genesys CTI User Forum

Author Topic: Log custom sip header for incoming call in ICON  (Read 1420 times)

Offline Anrew Livingston

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Log custom sip header for incoming call in ICON
« on: February 28, 2018, 08:40:45 PM »
Advertisement
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. 

Offline hsujdik

  • Hero Member
  • *****
  • Posts: 541
  • Karma: 30
Re: Log custom sip header for incoming call in ICON
« Reply #1 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)

Offline water235

  • Newbie
  • *
  • Posts: 47
  • Karma: 0
Re: Log custom sip header for incoming call in ICON
« Reply #2 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,

Offline Anrew Livingston

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: Log custom sip header for incoming call in ICON
« Reply #3 on: March 07, 2018, 11:56:41 PM »
Sorry for the delayed response, thank you for your kind assistance!  Much appreciated.