<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=213435702-16032005>Dear
all:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2> hi,
i face some problem in the mysql cdr module. Here is my situation, hope
you all give some comments.</FONT></SPAN></DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2>
(cdr)</FONT></SPAN></DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial size=2>User
----------->
Asterisk
------------------>
gateway (IVR) -----------------------> (B
party)</FONT></SPAN></DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2> (call
access
number)
(enter destination )</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2> </FONT></SPAN></DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2> 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.</FONT></SPAN></DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2> 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. </FONT></SPAN></DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2> </FONT></SPAN></DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2> 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.</FONT></SPAN></DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2> So is there any way to solve this cdr
issue or what i can do ? Please kindly advise. </FONT></SPAN></DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2> 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,</FONT></SPAN></DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial size=2> but
i dont know how to do it in asterisk, please help..</FONT></SPAN></DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial size=2>Thanks in
advance</FONT></SPAN></DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2>Regards</FONT></SPAN></DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2>HSL</FONT></SPAN></DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=213435702-16032005><FONT face=Arial
size=2> </FONT></SPAN></DIV></BODY></HTML>