[asterisk-users] question of CLI
William Piper
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.
bp
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
> runs
> 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
> specified
> as it's argument.
>
> If you need to trigger it from the dialplan, you could use the System()
> application.
>
>
> -Tim
>
> 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
> sip://5101@communicatefreely.net
> 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:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060901/4a56212d/attachment.htm
More information about the asterisk-users
mailing list