<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Verdana","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-family:"Verdana","sans-serif"'>How do I create two (2) unique, P-Asserted-Identity headers?&nbsp; As required by <b><a href="http://www.ietf.org/rfc/rfc3325.txt">RFC 3325</a></b>:<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:388.35pt;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;text-align:justify'><span style='font-family:Consolas'>A P-Asserted-Identity header field value MUST consist of exactly one name-addr or addr-spec.&nbsp; There may be one or two P-Asserted-Identity values.&nbsp; If there is one value, it MUST be a sip, sips, or tel URI.&nbsp;&nbsp; If there are two values, one value MUST be a sip or sips URI and the &nbsp;other MUST be a tel URI.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif"'>A valid, multiple P-Asserted-Identity headers example, taken from RFC 3325:<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp; INVITE sip:+14085551212@proxy.pstn.net SIP/2.0<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp; Via: SIP/2.0/TCP useragent.cisco.com;branch=z9hG4bK-124<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp; Via: SIP/2.0/TCP proxy.cisco.com;branch=z9hG4bK-abc<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp; To: &lt;sip:+14085551212@cisco.com&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp; From: &quot;Anonymous&quot; &lt;sip:anonymous@anonymous.invalid&gt;;tag=9802748<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp; Call-ID: 245780247857024504<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp; CSeq: 2 INVITE<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp; Max-Forwards: 69<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp; <span style='color:red'>P-Asserted-Identity: &quot;Cullen Jennings&quot; &lt;sip:fluffy@cisco.com&gt;</span><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp; <span style='color:red'>P-Asserted-Identity: tel:+14085264000</span><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp; Privacy: id<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif"'>When I use the following two (2) statements in a Freeswitch dialplan, the second &#8220;set,&#8221; of course, overwrites the data stored by the first &#8220;set.&#8221;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;sip_h_P-Asserted-ID=tel:+1404XXXXXXX&quot;/&gt;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;sip_h_P-Asserted-ID=&amp;quot;George F Phelps&amp;quot; &lt;sip:1404XXXXXXX@YY.YY.YYY.YYY&gt;&quot;/&gt;</span><span style='font-family:"Verdana","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif"'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif"'>George<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>