How do I create two (2) unique, P-Asserted-Identity headers?  As required by RFC 3325:

 

A P-Asserted-Identity header field value MUST consist of exactly one name-addr or addr-spec.  There may be one or two P-Asserted-Identity values.  If there is one value, it MUST be a sip, sips, or tel URI.   If there are two values, one value MUST be a sip or sips URI and the  other MUST be a tel URI.

 

A valid, multiple P-Asserted-Identity headers example, taken from RFC 3325:

 

   INVITE sip:+14085551212@proxy.pstn.net SIP/2.0

   Via: SIP/2.0/TCP useragent.cisco.com;branch=z9hG4bK-124

   Via: SIP/2.0/TCP proxy.cisco.com;branch=z9hG4bK-abc

   To: <sip:+14085551212@cisco.com>

   From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=9802748

   Call-ID: 245780247857024504

   CSeq: 2 INVITE

   Max-Forwards: 69

   P-Asserted-Identity: "Cullen Jennings" <sip:fluffy@cisco.com>

   P-Asserted-Identity: tel:+14085264000

   Privacy: id

 

When I use the following two (2) statements in a Freeswitch dialplan, the second “set,” of course, overwrites the data stored by the first “set.”

 

    <action application="set" data="sip_h_P-Asserted-ID=tel:+1404XXXXXXX"/>

    <action application="set" data="sip_h_P-Asserted-ID=&quot;George F Phelps&quot; <sip:1404XXXXXXX@YY.YY.YYY.YYY>"/>

 

Thanks,

 

George