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

PHPAGI Example
http://forum.asterisk2billing.org/viewtopic.php?f=18&t=11938
Page 1 of 1

Author:  mettichi [ Fri Dec 04, 2015 3:20 pm ]
Post subject:  PHPAGI Example

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

Author:  Rabon [ Tue Dec 08, 2015 4:06 am ]
Post subject:  Re: PHPAGI Example

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.

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