[Freeswitch-users] Changed mod_xml_cdr

Gregor Nanger gregor at infomedia.si
Mon May 23 17:45:34 UTC 2022


Something changed in XML that mod_xml_cdr produce with version 1.10.7.

When transfer inbound call to extension caller_id_number variable is now
extension number instead of  number that call inbound.

Here is example:
*Before 1.10.7*
<cdr core-uuid="4649fdb9-37f3-4930-a358-2e04837eb596"
switchname="WORK-GREGZ">
  <channel_data>
    <state>CS_REPORTING</state>
    <direction>outbound</direction>
    <state_number>11</state_number>

<flags>0=1;2=1;22=1;40=1;42=1;91=1;96=1;110=1;112=1;113=1;114=1;115=1</flags>
    <caps>2=1;4=1;5=1;7=1</caps>
  </channel_data>
  <call-stats />
  <variables>
*    <caller_id_number>16006554321</caller_id_number>*

*Version 1.10.7*
<cdr core-uuid="6733f6e5-2d81-453c-a8c4-e2220df4755b"
switchname="WORK-GREGZ">
  <channel_data>
    <state>CS_REPORTING</state>
    <direction>outbound</direction>
    <state_number>11</state_number>

<flags>0=1;2=1;22=1;40=1;42=1;92=1;97=1;112=1;114=1;115=1;116=1;117=1</flags>
    <caps>2=1;4=1;5=1;7=1</caps>
  </channel_data>
  <call-stats />
  <variables>
*    <caller_id_number>003</caller_id_number>*

This kind of change breaks CDR import logic. I am asking if someone else
noticed this? Is there some kind of bug or feature request that changed
this?

BR, Gregor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20220523/01b250c7/attachment.html>


More information about the FreeSWITCH-users mailing list