Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sun Apr 28, 2024 7:24 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: See if total minutes on trunk x
PostPosted: Sun Apr 15, 2007 12:16 am 
Offline

Joined: Sun Apr 15, 2007 12:08 am
Posts: 5
Hi guys,
I installed a2billing for some one and they want that if trunk 1 has used over 3400 minutes then to start using trunk x. I was thinking of just queering asterisk but it didn't seem to do the trick. I was thinking of doing:
select `sessiontime` from `cc_call` where `id_trunk` = '".$x."'; but even if I got the total I would need a way to tell the system to start using the new trunk. I was thinking of just adding something in to a2billing where it would make it's own entry into my own db for every call. Anyone know where in the agi I can do it ?

Thanks.

Dovid


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


All times are UTC


Who is online

Users browsing this forum: No registered users and 35 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