Good solution Christopher!

Thank you

Regards

2015-01-07 19:49 GMT+01:00 Christopher Rienzo <cmrienzo@gmail.com>:
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:

modparam("sipcapture", "callid_aleg_header ", "X-CID")

in your kamailio sipcapture config.


On Wed, Jan 7, 2015 at 1:02 PM, Juan Antonio Ibañez Santorum <juanito1982@gmail.com> wrote:
Hello,

   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.

   Do you know why? Any other way to add the header?

Regards

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org