It gives me headaches trying to use databases with Asterisk. That being said, IMO the best answer to your query is to use the FORKCDR command so that the call will be split into "legs". When the operator answers the call, that will be leg 1. When the call is transferred to the desired party, that will be leg 2. Each leg will have it's own CDR entry.
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
