[asterisk-users] Problem with AGI Script

Moises Silva moises.silva at gmail.com
Wed Nov 14 09:09:49 CST 2007


what does agi debug says?
what if you run the script from the command line and you fake the
asterisk input?

Regards,

On Nov 14, 2007 8:33 AM, Matt <mhoppes at gmail.com> wrote:
> -rwxrw-r--  1 asterisk asterisk  1053 Nov 14 08:54 GetEmailFromDID.agi
>
> asterisk  3348  0.0  0.2 27024 9380 ?        Sl   Oct01   0:01
> /usr/sbin/asterisk -U asterisk -G asterisk -v -g -p -U asterisk -G asterisk
>
>
>
>
> On Nov 14, 2007 9:17 AM, Brett Crapser <brett at websmyths.com> wrote:
> >
> >
> > On Wed, 14 Nov 2007, Matt wrote:
> > > I have asterisk 1.2.18 running on a new system we just installed.
> > > Although I've used AGIs many times in the past, I'm stumped on this one.
> >
> > > All seems fine.  If I run the script from the command line it works as
> > > expected:
> >
> > > However, when actually running in practice I get:
> > >   -- Executing AGI("Zap/23-1", " GetEmailfromDID.agi|5706016716") in new
> > > stack
> > >    -- Launched AGI Script /var/lib/asterisk/agi-bin/GetEmailfromDID.agi
> > >    -- AGI Script GetEmailfromDID.agi completed, returning 0
> > > --------
> >
> > > Any thoughts on why asterisk doesn't seem to be passing anything to the
> > > script and the script doesn't seem to be passing anything back?
> >
> > Permissions?
> >
> > Brett
> >
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > 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--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
"Within C++, there is a much smaller and cleaner language struggling
to get out."



More information about the asterisk-users mailing list