asterisk2billing.org
http://forum.asterisk2billing.org/

fetch live call from cc_call
http://forum.asterisk2billing.org/viewtopic.php?f=18&t=11221
Page 1 of 1

Author:  adildiu [ Wed Feb 18, 2015 12:25 pm ]
Post subject:  fetch live call from cc_call

Is there any way to fetch live call from cc_call. I am using V2.0.16, didn't get any live data from here.
Or is there any way to fetch live data from A2B like dialed number, card number, context value etc ?
Please help !!

Author:  adildiu [ Fri Feb 20, 2015 1:57 pm ]
Post subject:  Re: fetch live call from cc_call

adildiu wrote:
Is there any way to fetch live call from cc_call. I am using V2.0.16, didn't get any live data from here.
Or is there any way to fetch live data from A2B like dialed number, card number, context value etc ?
Please help !!



Anyone please help me!!

Regards,
Adil

Author:  bucasia [ Sun Feb 22, 2015 7:50 pm ]
Post subject:  Re: fetch live call from cc_call

I don't think cc_call is written until the call has ended. You could get live call data directly from Asterisk, like this - https://sysadminman.net/blog/2013/aster ... -page-5600

Author:  mangust [ Thu Apr 23, 2015 2:21 pm ]
Post subject:  Re: fetch live call from cc_call

A2B works like this:

1. authenticate
2. figure out dest number and authorize for maximum call duration
3. Start call with maximum duration limit
4. Calculate cost, update balance and add CDR

As you can see there is no data before call ended in cc_call table.

Let us know what exactly information you need to know? maybe you can query it from asterisk channels?

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/