On Wed, Jan 16, 2013 at 11:01 AM, Muhammad <[email protected]>wrote:
> *Thanks Zohair! > I wrote some php code to working with AGI, but it dosen't work. > * > *I don't know how can run it. please explain me when I put my php code inside > /var/lib/asterisk/agi-bin so, what should I do after that. * > Make sure Asterisk has access to your AGI script, and make it executable (chmod u+x agi.php). Also make sure it has shebang (!#/usr/bin/php) > *and the second one, how can limit users to call just my number in list > at database and permit to call another numbers.* > * > * > That depends on logic in your script, you can also separate users by contexts > * * > On Tue, Jan 15, 2013 at 12:39 PM, Zohair Raza < > [email protected]> wrote: > >> you need to run full command, like >> >> agi show commands topic answer >> agi show commands topic gosub >> agi set debug on >> >> >> Regards, >> Zohair Raza >> >> >> On Tue, Jan 15, 2013 at 1:05 PM, Muhammad <[email protected]>wrote: >> >>> Hi, >>> >>> in CLI, I type agi show or other agi commad, but response me "command >>> not found". >>> How can see agi is work normally in my server? >>> >>> >>> -- >>> _____________________________________________________________________ >>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>> http://www.asterisk.org/hello >>> >>> asterisk-users mailing list >>> To UNSUBSCRIBE or update options visit: >>> http://lists.digium.com/mailman/listinfo/asterisk-users >>> >> >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
