Open gitliuyf opened 4 years ago
I think the page you refer to is just wrong. The variable name is call_uuid. It is supposed to be the same in aleg and bleg CDRs according to this page: https://freeswitch.org/confluence/display/FREESWITCH/originating_leg_uuid (It doesn't seem to have a page for itself.)
I have FreeSWITCH Version 1.6.20 in debain 8. And I use mod_odbc_cdr to save CDRs to mysql database, refers to https://freeswitch.org/confluence/display/FREESWITCH/mod_odbc_cdr . But in table cdr_table_both, the chan-var-name="Caller-Unique-ID" hasn't saved, the filed is null. When I change Caller-Unique-ID to Channel-Call-UUID, it is null too. When I change Caller-Unique-ID to call_uuid, if caller hangup , it is same as bleg's uuid;if callee hang up, it is same as aleg's uuid. But Why? Is there any channel variables always indicate the same phone call, whether it's a leg or b leg?