I have serious issue in my asterisk IVR application. The problem is that when user ends his/her call on the phone, we hang up the call in the code and after that the application sends some call summary to one of our server which takes some additional seconds in completion of flow of application. The asterisk when inserting the call details in the ‘asterisk’ database adds the additional seconds to the call duration which is incorrect.
In fact we call the hangup() method of BaseAgiScript in the Java code and the Asterisk should have end the duration of the call logically at that moment.
Can some one please help me out!!!