Dear all: hi, i face some problem in the mysql cdr module. Here is my situation, hope you all give some comments. (cdr) User -----------> Asterisk ------------------> gateway (IVR) -----------------------> (B party) (call access number) (enter destination ) For the case above, i try to use asterisk to bypass the gateway process which mean asterisk dial the access and send dtmf to the gateway so that the user no need to call the access number , they just need to enter the destination number. It work fine, but i face problem for the cdr. The cdr is consider "CONNECTED" when the gateway answer the call from asterisk. But what i need is "CONNECTED" only if the B party is pick up the phone. Now the B party didnt pick up the phone, the call still consider "CONNECTED" due to the gateway already answer the call from asterisk, and even the B party pick up the phone, the duration still not accurate coz the counter start count while the gateway answer the call but not counted while the B party answer the call. So is there any way to solve this cdr issue or what i can do ? Please kindly advise. I got one idea which is when the B party answer call, the gateway will send the dtmf tone back to asterisk, then the asterisk can fire the CONNECTED event, but i dont know how to do it in asterisk, please help.. Thanks in advance Regards HSL -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050315/de7f2eb1/attachment.htm