On Sunday 23 November 2003 20:17, tad wrote: > hi folks. > > (apologies in advance if this is a particularly stupid question) > > just getting my feet wet with asterisk / agi, and am a little stuck > using EXEC. it works fine for applicaitons that take simple > arguments, but chokes on applications that require multiple words as > arguments. > > for example, this works fine: > EXEC Playback(demo-congrats) > > but this doesn't: > EXEC add extension s,3,Playback(demo-congrats) into local > > problem seems to be that AGI reads the second example to be: > EXEC add extension > > and ignores the rest (presumably because it assumes the space after > 'extension' singifies the end of the argument) > > is there a way around this?
You're confusing the CLI with applications. You can _only_ EXEC an application. See the CLI command 'show applications' for a list of the applications you can EXEC. -Tilghman _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users