<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"><<a href="mailto:m.hubert@hexanet.fr" target="_blank">m.hubert@hexanet.fr</a>></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't obtain a good result.<br>
<br></div>example:<br></div>P-Asserted-identity, P-Preferred-Identity, Diversion, etc ... aren't copied for leg B.<br>
<br></div>I have found "sip_copy_custom_headers=true" but it'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><condition field="${sip_P-Asserted-Identity}" expression="\+(\d+)" break="never"><br>
<action application="log" data="LOG Modifying PAI sip:+33xxxxxxxxx@DOMAIN" /><br> <action application="export" data="sip_h_P-Asserted-Identity=<sip:+$<a href="mailto:1@3008LI.hexavoip.fr" target="_blank">1@3008LI.hexavoip.fr</a>>" /></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">