[asterisk-users] Execute EAGI script with params fromextensions.conf

equis software equissoftware at gmail.com
Wed Apr 11 08:40:32 MST 2007


Thanks!
At least in asterisk 1.4
exten => 492,2,EAGI(InfMsg|-s|1)
work very well


On 4/11/07, Philipp Kempgen <philipp.kempgen at amooma.de> wrote:
>
> Griepentrog Scott wrote:
>
> > I don't think you can put arguments to the agi.  Try is as:
> >
> >
> > exten => 492,2,eagi,InfMsg
> >
> >  -----Original Message-----
> > From: asterisk-users-bounces at lists.digium.com [mailto:
> asterisk-users-bounces at lists.digium.com]On Behalf Of equis software
> > Sent: Wednesday, April 11, 2007 10:54 AM
> > To: asterisk-users at lists.digium.com
> > Subject: [asterisk-users] Execute EAGI script with params
> fromextensions.conf
> >
> >
> >
> > How can I execute an EAGI script with params from extensions.conf
> >
> > Example python script:
> > InfMsg -s 1
> >
> > in my extensions.conf
> > exten => 492,1,Answer
> > exten => 492,2,eagi,InfMsg -s 1
> > exten => 492,3,Hangup()
> >
> > It doesn´t work
> >
> > my * report...
> >
> > -- Executing [92 at telpin-112:2] EAGI("Zap/4-1", "InfMsg -s 1") in new
> stack
> >     -- Launched AGI Script /var/lib/asterisk/agi-bin/InfMsg -s 1
> >   ==  InfoTerminal -s 1: Failed to execute
> '/var/lib/asterisk/agi-bin/InfMsg -s 1': No such file or directory
>
> Then why not try EAGI(InfMsg,-s 1) or EAGI(InfMsg,-s,1) ?
>
>
> Regards,
>   Philipp
>
> --
> amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
>      Let's use IT to solve problems and not to create new ones.
>            Asterisk? -> http://www.das-asterisk-buch.de
>
> Geschäftsführer: Stefan Wintermeyer
> Handelsregister: Neuwied B 14998
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070411/58892144/attachment.htm


More information about the asterisk-users mailing list