Incorrect logs for outcoming calls


#1

Hi all!
I’ve got a problem with logging of outcoming calls.
My cdr_custom.conf looks like:

[mappings]
Master.csv => “${CDR(clid)}”,"${CDR(src)}","${CDR(dst)}","${CDR(dcontext)}","${CDR(channel)}","${CDR(dstchannel)}","${CDR(lastapp)}","${CDR(lastdata)}","${CDR
(start)}","${CDR(answer)}","${CDR(end)}","${CDR(duration)}","${CDR(billsec)}","${CDR(disposition)}","${CDR(amaflags)}","${CDR(accountcode)}","${CDR(uniqueid)}
","${CDR(userfield)}"

And piece of log looks like:

“”,“1401”,“h”,“pbx”,""“User #1"” <1401>",“SIP/1401-39c1”,“Local/99@apps-edb9,1”,“NoOp”,"",“2006-02-14 15:49:08”,“2006-02-14 15:49:08”,“2006-02-14 1
5:49:10”,2,2,“ANSWERED”,“DOCUMENTATION”

“CDR(src)” is correct (“1401”), but “CDR(dst)” I have “h”.

How I can to fix this error? I’ve got this trouble from begining of 1.2.X version.
Anyway, thanx for helping.


#2

What card do you have?

Is it possible we have the same issue?

Look here: forums.digium.com/viewtopic.php? … master+csv