[asterisk-users] AMAFlags always"Documentation" (or 3 in astcdr mysql) even after Set(CDR(amaflags)=bill) or SetAMAFlags(bill)

Scott Keagy skeagy at ipcexperts.com
Sun Jan 7 22:06:13 MST 2007


Is anyone out there using AMAFlags? I'd like to set this field as a
marker to distinguish different types of calls in CDRs, but can't seem
to make it respond to the documented commands Set(CDR(amaflags)=bill) or
SetAMAFlags(bill).

 

I've googled this issue, seen others have had this problem with IAX,
with different DB drivers for CDR records, etc. I'm using SIP and LOCAL
channels, asterisk-1.4beta2 release (I don't think upgrading to current
release will fix this problem, it's been around for years based on
trouble reports), both text .csv and mysql astcdr.cdr types.

 

Seems like a problem with basic AMAflags support in CDR. They always
show up as DOCUMENTATION in the .csv text file, and they always show up
as '3' in mysql. I hurt my brain trying to follow the layers of
indirection in the source code for where this is actually set. With
verbosity turned on in asterisk console I can see the SetAMAFlags
function being run.

 

Any tips, tricks, or pointers in the right direction?

 

Thanks,

Scott

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070107/0b412f9c/attachment.htm


More information about the asterisk-users mailing list