Creating a custom header

Last Updated : Jan 28, 2020 |
Prolog information
  1. In thesession.connection.protocol.sip.unknownhdr session variable array, add a name and value pair.
To create a custom header with the name as new_header and value as mycustomheader, add the following to the session.connection.protocol.sip.unknownhdr array:
AVAYA_SIPHEADER.session.connection.protocol.sip.unknownhdr[0].name = "new_header" 
AVAYA_SIPHEADER.session.connection.protocol.sip.unknownhdr[0].value = "mycustomheader"