What headers you are trying to preserve, its possible that the headers your are try to save are mandatory headers necessary for B2BUA function, which will get duplicated if you try to preserve then from leg 1 to leg 2. See custom_headers documentation for more info.<div>
<br></div><div>Thank you.</div><div><br><br><div class="gmail_quote">On Thu, Nov 22, 2012 at 5:25 PM, Jorge Henrique Pinho <span dir="ltr">&lt;<a href="mailto:jorge-h-pinho@ext.ptinovacao.pt" target="_blank">jorge-h-pinho@ext.ptinovacao.pt</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
I have installed opensips-1.7.2-2.el5 and I am using b2b module.<br>
I need to preserve some headers that b2b module changes. I was using avp and textops modules in local_route to accomplish that. But this lead to unexpected behaviours by opensips.<br>
So i define the custom_headers variable in my configuration (<a href="http://www.opensips.org/html/docs/modules/1.7.x/b2b_logic.html#id250020" target="_blank">http://www.opensips.org/html/docs/modules/1.7.x/b2b_logic.html#id250020</a>), and the message that b2b passes to the other side of the dialog has the preserve headers repeated. One header with the original value and other with the new value generated by b2b module.<br>

Is this the correct behaviour? How do i solve this?<br>
<br>
Thanks in advance,<br>
<br>
Jorge Pinho<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br></div>