M4 PAI And RPID Header Generation
From Kolmisoft Wiki
M4 can generate P-Asserted-Identity (PAI) and Remote-Party-ID (RPID) headers
Usage
Go to Users -> Connection Points, click EDIT on Connection Point. PAI/RPID Transformations are located under Termination Point Signaling Settings.
Generation can happen under Generate if missing and Overwrite tabs.
Generation format
Generation string should be either:
- a static string (the value of the RPID/PAI header)
- a string mixed with Kamailio variables
Examples
<sip:3701234567@myhost.sip> - simple static generation. <sip:anonymous@anonymous.invalid> - simple static generation. <sip:$fU@myhost.sip> - using Kamailio variable $fU to generate a header with the original value from SIP FROM header