In this section:

Moving the Number from the X-Genesys-CTIKey into the Calling Number

In this instance, the implementation called for setting the Calling Number on a REFER-initiated INVITE to the number contained in the X-Genesys-CTIKey. To perform this function:

  • The contents of the X-Genesys-CTIKey header are copied to generic IE, SG User Value 1, using the SMM function.
  • A translation table copies the value from SG User Value 1 to the Calling Number IE.

Target REFER Message

REFER sip:6363575933@172.16.16.9:5060;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 172.16.78.171.22:5060;branch=z9hG4bK0cBde579611ace4c4c0
From: <sip:2522103487@172.16.171.22:5060;user=phone>;tag=gK0cf2c42e
To: <sip:6363575933@172.16.16.9:5060;user=phone>;tag=ac151009-4898
Call-ID: call-39889D00-0000-0010-0C13-48@172.16.16.9
CSeq: 346182208 REFER
Max-Forwards: 70
Allow: INVITE,ACK,CANCEL,BYE,REGISTER,REFER,INFO,SUBSCRIBE,NOTIFY,PRACK,UPDATE,OPTIONS,MESSAGE,PUBLISH
Accept: application/sdp, application/isup, application/dtmf, application/dtmf-relay, multipart/mixed
Contact: <sip:2522103487@172.16.171.22:5060>
Refer-To: <sip:5811111@172.16.16.9:5060>
Referred-By: sip:4910131@172.16.16.9:5060
X-Genesys-CallUUID: 01V9PK7IFK8BP1IR95LHQ2LAES05D0QH
X-Genesys-CTIKey: 2144380553
X-Genesys-GVP-Session-ID: B2565000-5300-8BFC-585A-C62BB00F862D;gvp.rm.datdes=2|1;gvp.rm.tenant-id=1.101.107_Refer_POC
Supported: 100rel
Content-Length: 0

Configuring the SIP Message Manipulation

  1. Select a new Message Manipulation Table. Configure the Message Selection to Refer. The SMM Table will only effect REFER messages.

    Create Message Rule Table

  2. Add an entry to the table. As the X-Genesys-CTIKey header is not a pre-programmed Header Name, you must manually enter the header name.

    The entry below searches for the SIP header X-Genesys-CTIKey and copies the value of the header into the token SG User Value 1.
    Use the Header Value Add/Edit button to set the token value (not shown).

    Add Header Entry

  3. Add the new Message Manipulation to the Outbound Message Manipulation Table

  4. Add a translation in the appropriate Translation Table to copy the value from SG User Value 1 into the Calling Number.
     

Important Notes

The SIP Header feature cannot generate a new SIP packet. Only arriving or leaving SIP packets changed via the SIP Header function.

  • No labels