[Freeswitch-users] Adding X-CID custom header for sipcapture integration

Juan Antonio Ibañez Santorum juanito1982 at gmail.com
Thu Jan 8 00:28:27 MSK 2015


Good solution Christopher!

Thank you

Regards

2015-01-07 19:49 GMT+01:00 Christopher Rienzo <cmrienzo at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150107/155754ed/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list