[asterisk-dev] CDR fixes--- Wait a minute!! (LONG)

Stephen Davies stephen.l.davies at gmail.com
Tue Jun 12 12:54:00 MST 2007


Steve,

I've just updated my SVN trunk install to Revision: 67303

I was previously running SVN trunk Revision 62263.

Since the update, my CDR records have a nasty change:

Previously, my CDRs were:

"peer-pri-hetzner","0217130829","0216736730","from-peer-pri-hetzner","0217130829","Zap/8-1","IAX2/phonehome-1-64","Dial","IAX2/phonehome-1/0216736730|90","2007-06-11
13:39:17","2007-06-11 13:39:17","2007-06-11
13:53:30",853,853,"ANSWERED","DOCUMENTATION","1181561957.6207","SRC_CUST=^SRC_PEER=^ORIG_CID=0217130829^DST_TYPE=cust^DST_
CUST=phonehome^ACTION=dial:IAX2/phonehome-1/0216736730"

Now, I'm getting:

"peer-pri-hetzner","0217130829","s","macro-to-dest-customer","0217130829","Zap/6-1","IAX2/phonehome-1-28","Dial","IAX2/phonehome-1/0216736730|90","2007-06-12
21:15:29","2007-06-12 21:15:29","2007-06-12
21:38:57",1408,1408,"ANSWERED","DOCUMENTATION","1181675729.2830","SRC_CUST=^SRC_PEER=^ORIG_CID=0217130829^DST_TYPE=cust^DST_CUST=phonehome^ACTION=dial:IAX2/phonehome-1/0216736730"

So - previously the dst and dstcontext fields contained more or less
the first extension/context seen.  Now they seem to have the last.

In this case, the dst of "s" is very undesirable.  And this isn't
unlikely seeing that many people will end up sending calls into a
macro for the Dial() out.

Please - what caused this change and how do I revert it?

Thanks,
Steve Davies


More information about the asterisk-dev mailing list