cdr.c: Fix setting dnid, callingsubaddr, and calledsubaddr
authorRichard Mudgett <rmudgett@digium.com>
Thu, 5 Oct 2017 23:03:11 +0000 (18:03 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 13 Oct 2017 00:12:07 +0000 (19:12 -0500)
commitc80c8f2ab968e9cf4de1db1fccfece990318671e
tree5f59b8c67655ee6624e88638cc297123296b6538
parentacf686e6a56fdddfe0921913302aa55d23feead3
cdr.c: Fix setting dnid, callingsubaddr, and calledsubaddr

The string comparisons for setting these CDR variables was inverted.  We
were repeatedly setting these CDR variables only if the channel snapshots
had the same value.

ASTERISK-27335

Change-Id: I9482073524411e7ea6c03805b16de200cb1669ea
main/cdr.c