[asterisk-users] question of CLI
william.piper at gmail.com
Fri Sep 1 07:10:39 MST 2006
Yea, but even with that you can't run a macro from the CLI. You'd need the
manager API to do this.
On 8/30/06, Tim St. Pierre <tim at communicatefreely.net> wrote:
> Sort of. There is a command line argument to the asterisk process that
> it's arguments as CLI commands. You could write a shell script that runs
> your macro with that command.
> asterisk -x <command> will connect to asterisk and run the command
> as it's argument.
> If you need to trigger it from the dialplan, you could use the System()
> On August 30, 2006 21:19, unplug wrote:
> > Hi,
> > In CLI, I can issue a dial command. How can I run a macro in CLI?
> > Is it possibe?
> > Thanks.
> > _______________________________________________
> > --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
> Tim St. Pierre
> IP telephony specialist
> Toronto: 647 722 6930
> Toll-Free 1 888 488 6940
> tim at communicatefreely.net
> --Bandwidth and Colocation provided by Easynews.com --
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users