[asterisk-dev] php agi problem

Cristian Draghici cristian.draghici at gmail.com
Tue Jan 31 08:29:40 MST 2006


If you want asterisk to talk AGI to your script, you need to include
it in the dialplan so it can associate a channel with your script.

What exactly are you trying to do?

--
Cristi

On 1/31/06, ijb 007 <iijb007 at yahoo.com> wrote:
> Hello,
>          Thanks Draghici. But I want some more clarifications.I need to run
> the php - agi file without calling it from the extensions.conf file . ie,
> not using the following line.
>  Exten => 77,1,agi,test.php
> Exten => 77,2,Hangup .
>
>  Is there any other way to execute the test.php file for running with
> asterisk.
>  Please help me out.
>  Thanks again
>  ijb
>
>
>
> Cristian Draghici <cristian.draghici at gmail.com> wrote:
>  You are probably interested in the Manager API:
>
> http://www.voip-info.org/tiki-index.php?page=Asterisk+Manager+API
>
> I don't think it's possible via AGI as in AGI it's the Asterisk server
> that provides events rather than the web page.
>
> Hope this makes sense,
> Cristi
>
> On 1/31/06, ijb 007 wrote:
> > Hi,
> > How to connect asterisk using php(agi) without specifying it in
> > extensions.conf. I want to run the php file with a web interface.
> > Thanks
> > ijb
> >
> >
> > ________________________________
> > Bring words and photos together (easily) with
> > PhotoMail - it's free and works with Yahoo! Mail.
> >
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > asterisk-dev mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-dev
> >
> >
> >
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailin g list
> To UNSUBSCRIBE or update options visit:
>  http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>
>
>  ________________________________
> Do you Yahoo!?
>  With a free 1 GB, there's more in store with Yahoo! Mail.
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>
>



More information about the asterisk-dev mailing list