<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi all,<div class=""><br class=""></div><div class="">I¡¯m trying to manage cdr in pgsql by mod_cdr_pg_csv, and I hope to record a call uuid to manage multiple recorded channels in one call.</div><div class=""><br class=""></div><div class="">A channel variable ¡°variable_call_uuid¡± seems good to record, and I confirmed it is the correct call uuid in fs_cli by:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><div class="">freeswitch@TEST-FS> uuid_getvar 67534e60-fc91-4e6b-b64e-868d5f3d8b16 call_uuid</div></div><div class=""><div class="">67534e60-fc91-4e6b-b64e-868d5f3d8b16</div></div><div class=""><div class=""><br class=""></div></div><div class=""><div class="">freeswitch@TEST-FS> uuid_getvar 2ab39a17-2f8d-4ac1-81de-b32a990e55c1 call_uuid</div></div><div class=""><div class="">67534e60-fc91-4e6b-b64e-868d5f3d8b16</div></div><div class=""><br class=""></div></blockquote>However, when I tried to record this variable into pgsql, it turned into channels uuid in pgsql.<div class="">The followings had added into cdr_pg_csv.conf.xml:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class="">    <field var="call_uuid¡±/></div></blockquote><div class=""><br class=""></div><div class="">But pgsql record showed:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class="">SELECT call_uuid FROM cdr where uuid = '67534e60-fc91-4e6b-b64e-868d5f3d8b16¡¯;</div><div class="">> 67534e60-fc91-4e6b-b64e-868d5f3d8b16</div><div class=""><br class=""></div><div class="">SELECT call_uuid FROM cdr where uuid = '2ab39a17-2f8d-4ac1-81de-b32a990e55c1¡¯;</div><div class="">> <font color="#ff2600" class="">2ab39a17-2f8d-4ac1-81de-b32a990e55c1</font><span class="Apple-tab-span" style="white-space:pre">               </span># Which should be 67534e60-fc91-4e6b-b64e-868d5f3d8b16</div><div class=""><br class=""></div></blockquote>Any idea or advice on this issue?<div class=""><br class=""></div><div class="">Regards.</div></body></html>