Transferring data from P-Intrinsics to User to User Information

Last Updated : Sep 24, 2024 |

About this task

To transfer data from Avaya Experience Platform™ Public Cloud to an Avaya Aura® solution, the data must undergo conversion to the User to User Information (UUI) field. Avaya Experience Platform™ Public Cloud can copy data through the P-intrinsics field in the SIP headers. However, Avaya Aura® is unable to read the SIP header. Hence, you require a SigMa script to apply the data to the UUI field.

You can use a SigMa script that combines the SIP header P-intrinsics field into the UUI field. You must apply this script in Avaya Session Border Controller.

Before you begin

Ensure to connect to Avaya Session Border Controller as an account administrator.

Procedure

Copy and paste the following SigMa script into Avaya Session Border Controller:
within session "all"
{
  act on request where %DIRECTION="INBOUND" and %ENTRY_POINT ="AFTER_NETWORK" and %METHOD="INVITE"
      {
          if (exists(%HEADERS["P-Intrinsics"][1])) then
          {       
            %text = "04";
            %HEADERS["User-To-User"][1] = %text;
            %info = %HEADERS["P-Intrinsics"][1];
            append(%HEADERS["User-To-User"][1], %info);
          }
       }
}