[Freeswitch-users] CDR not populating when b leg logging enabled

Bipin Patel bipin at xbipin.com
Fri Jan 20 13:52:54 MSK 2017


hi,

ok i figured this out, if i log cdr for b leg only then to get some data 
of the a leg i need to use aleg_caller_id_name and then it populates it 
fine.

one other issue now im facing is suppose if the call failed with cause 
incompatible_destination which is due to codec mismatch then in CDR it 
logs both legs even though i told it to log b leg only, any way to get 
around this so FS obeys whats set in cdr_csv.conf.xml only?

Regards,
Bipin


------------------------------------------------------------------------

-------- Original Message  --------
Subject: Re: [Freeswitch-users] CDR not populating when b leg logging 
enabled
From: Bipin Patel <bipin at xbipin.com>
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Date: 1/20/2017, 1:06:00 PM

> hi,
>
> with the debug enabled i saw the bleg_caller_id_name variable showing
> the a leg data so i though i can get that but it doesnt print in CDR so
> then why does it show in the debug?
>
> Regards,
> Bipin
>
>
>
> ------------------------------------------------------------------------
>
> -------- Original Message  --------
> Subject: Re: [Freeswitch-users] CDR not populating when b leg logging
> enabled
> From: Mimiko <vbvbrj at gmail.com>
> To: freeswitch-users at lists.freeswitch.org
> Date: 1/20/2017, 12:41:35 PM
>
>> How bleg_caller_id_name be present in a bleg?
>>
>> Use sip_from_uri.
>>
>> On 20.01.2017 10:24, Bipin Patel wrote:
>>>
>>> any help, what im trying to do is enable cdr for b leg only and then in cdr template print the source caller id name/number of a as well as b leg both
>>> so we can know what changes happened through FS. if i enable cdr for ab then i get 2 entries which im trying to avoid
>>>
>>>
>>> Regards,
>>> Bipin
>>>
>>>
>>> ------------------------------------------------------------------------------------------------------------------------------------------------------
>>> -------- Original Message --------
>>> Subject: [Freeswitch-users] CDR not populating when b leg logging enabled
>>> From: Bipin Patel <bipin at xbipin.com>
>>> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
>>> Date: 1/19/2017, 7:13:50 PM
>>>> hi,
>>>>
>>>> im using cdr_csv and suppose if i log cdr for a leg then bleg_caller_id_name and caller_id_name are written to cdr but if i log cdr for b leg then
>>>> bleg_caller_id_name doesnt populate, only caller_id_name does, why is this so?
>>>>
>>>> when i put cdr_csv in debug mode i see both variables getting populated in cli
>>>>
>>
>>
>
>
> _________________________________________________________________________
> 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
>




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