<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? 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> </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. 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.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif"'><o:p> </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> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> INVITE sip:+14085551212@proxy.pstn.net SIP/2.0<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> 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'> 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'> To: <sip:+14085551212@cisco.com><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=9802748<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> Call-ID: 245780247857024504<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> CSeq: 2 INVITE<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> Max-Forwards: 69<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> <span style='color:red'>P-Asserted-Identity: "Cullen Jennings" <sip:fluffy@cisco.com></span><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> <span style='color:red'>P-Asserted-Identity: tel:+14085264000</span><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> Privacy: id<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif"'><o:p> </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 “set,” of course, overwrites the data stored by the first “set.”<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> <action application="set" data="sip_h_P-Asserted-ID=tel:+1404XXXXXXX"/><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:Consolas'> <action application="set" data="sip_h_P-Asserted-ID=&quot;George F Phelps&quot; <sip:1404XXXXXXX@YY.YY.YYY.YYY>"/></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> </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> </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> </o:p></p></div></body></html>