[asterisk-users] question of CLI

Tim St. Pierre tim at communicatefreely.net
Wed Aug 30 18:58:14 MST 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060830/3f22384b/attachment.pgp


More information about the asterisk-users mailing list