Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 23, 2024 3:08 pm
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Do some processing after hangup
PostPosted: Wed Sep 17, 2014 7:19 pm 
Offline

Joined: Tue Sep 10, 2013 5:15 pm
Posts: 7
Hello Everyone,

I really need some help with this. I need to write to a database table when a2billing plays
the warning message "You have 30 seconds left". I am referring to the message that
a2billing plays just before the caller runs out of funds. Can you please refer me to the
part in the A2billing code that I can insert my DB queries.

I am not sure if it's because I am unable to ask a question effectively however, I have often
posted on this forum and got no responses.

Your help is greatly appreciated,

Nick.


Top
 Profile  
 
 Post subject: Re: Do some processing after hangup
PostPosted: Sun Sep 28, 2014 9:59 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

Modern versions of Asterisk will allow you to do things after a2billing.php ends, so you would have to do this in Asterisk dialplan after hangup.

The 30 seconds warning is part of the dial command parameter ((x,y,z), so it is not really coded into a2billing, so there is not really an option to change the A2Billing code to do anything between the warning and hangup.

Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 32 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group