Never mind, i found a way to do this. There is an app called 'ResetCDR' which pushes the CDR info into database. Just call it with appropriate channel info and 'w' (second arg) for force insert whenever during the call processing in your dial-plan.

Thanks anyway,
Prakash



From: Nathan Pralle <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED],Asterisk Users Mailing List - Non-Commercial Discussion<[email protected]> To: Asterisk Users Mailing List - Non-Commercial Discussion<[email protected]>
Subject: Re: [Asterisk-Users] Asterisk CDRs
Date: Thu, 15 Sep 2005 17:48:25 -0500

Does anyone know if there is a way to get CDR info into database before call ends???

The only way I have figured out how to interact with the call before it hangs up is to use the AGI to do various things -- whether it be inserting DB rows or whatever -- both before and after the call.

Nathan

--
-------------------------------------
Nathan E. Pralle
Give the Director a Serpent Deflector
www.nathanpralle.com
-------------------------------------
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to