<div dir="ltr"><div>Hi list,<br></div>have you an idea ?<br><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/28 Mickael Hubert <span dir="ltr">&lt;<a href="mailto:m.hubert@hexanet.fr" target="_blank">m.hubert@hexanet.fr</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>hi list,<br></div>I want copy all sip headers between two legs, but I don&#39;t obtain a good result.<br>

<br></div>example:<br></div>P-Asserted-identity, P-Preferred-Identity, Diversion, etc ... aren&#39;t copied for leg B.<br>
<br></div>I have found &quot;sip_copy_custom_headers=true&quot; but it&#39;s just for X-Header.<br><br><br></div><div>Actually, I use this code below, but it is not easy :(<br><br></div><div><div><div><div><div><div><i>&lt;condition field=&quot;${sip_P-Asserted-Identity}&quot; expression=&quot;\+(\d+)&quot; break=&quot;never&quot;&gt;<br>


                                &lt;action application=&quot;log&quot; data=&quot;LOG Modifying PAI sip:+33xxxxxxxxx@DOMAIN&quot; /&gt;<br>                                &lt;action application=&quot;export&quot; data=&quot;sip_h_P-Asserted-Identity=&lt;sip:+$<a href="mailto:1@3008LI.hexavoip.fr" target="_blank">1@3008LI.hexavoip.fr</a>&gt;&quot; /&gt;</i><br>


<br><br></div><div>Have you an idea for me ?<br><br></div><div>Thanks in advance<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br>-- <br><div dir="ltr">

Cordialement<br><br>HUBERT Mickaël<br>Ingénieur VOIP - Hexanet<br></div>
</div></font></span></div></div></div></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Cordialement<br><br>HUBERT Mickaël<br>Ingénieur VOIP - Hexanet<br></div>
</div></div></div></div>

<br>
<img src="http://www.hexanet.fr/sites/files/hexanet/files/20130205_signature_hexanet.gif">