<div dir="ltr"><div>It should work the same way. You can either set that value in the dialstring or export the variable. If you can't make it work with X-CID there is:<br><br>modparam("sipcapture", "callid_aleg_header ", "X-CID")<br><br></div>in your kamailio sipcapture config.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 7, 2015 at 1:02 PM, Juan Antonio Ibañez Santorum <span dir="ltr"><<a href="mailto:juanito1982@gmail.com" target="_blank">juanito1982@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div> I am trying to add custom X-CID header to copy call id from a-leg to b-leg in order to make work call flow in sipcapture. I set channel variable sip_h_X-CID to add it to b-leg, I can see it is setted up but outgoing b-leg request does not contain the header. If I set up sip_h_B-CID it works but sip_h_X-CID not.</div><div><br></div><div> Do you know why? Any other way to add the header?</div><div><br></div><div>Regards</div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>