[Asterisk-Users] How to mark calls for inclusion in CDR ?

Robert Rozman rozman at fri.uni-lj.si
Tue Feb 1 04:13:40 MST 2005


Hi,

I'd like to mark calls to get into CDR when they are received (so I'll will
be able to mark only incoming or outgoing calls without locals).

I thought that maybe doing so would work, but would kindly ask for your
opinion or maybe better advice:

a.. ${UNIQUEID}: Current call unique identifier


So when the calls comes in or goes out, I'll add entry to database using
variable ${UNIQUEID}. Then at hangup I'll check for existence of entry and
will act accordingly. Will this work ?  For all calls (SIP,IAX, capi)...?
Any better way to do this ?


Thanks in advance,

regards,

Rob.




More information about the asterisk-users mailing list