Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Dec 13, 2018 4:39 pm
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: PHPAGI Example
PostPosted: Fri Dec 04, 2015 3:20 pm 
Offline

Joined: Mon Feb 16, 2009 10:22 am
Posts: 19
Location: tunis
Hello,

please could someone help me. Iam new to Asterisk AGI. I need to develop a simple script that can read numbers from mysql table and call them by the Exec command, i need to put this script on crontab. Please give me a hand.

Thanks in advance


Top
 Profile  
 
 Post subject: Re: PHPAGI Example
PostPosted: Tue Dec 08, 2015 4:06 am 
Offline

Joined: Tue Jun 20, 2006 3:23 pm
Posts: 153
download a2billing: https://github.com/Star2Billing/a2billi ... ter.tar.gz

you have to put the PHPAGI file (for example: a2billing.php file ) under asterisk AGI directory /var/lib/asterisk/agi-bin/

what you are asking for (read numbers from mysql table and call them by the Exec), you will find similar codes in a2billing.php

you will find also many crontab example in a2billing master.tar.gz file.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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