<div>Yea, but even with that you can't run a macro from the CLI. You'd need the manager API to do this.</div>
<div> </div>
<div>bp<br><br> </div>
<div><span class="gmail_quote">On 8/30/06, <b class="gmail_sendername">Tim St. Pierre</b> <<a href="mailto:tim@communicatefreely.net">tim@communicatefreely.net</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Sort of. There is a command line argument to the asterisk process that runs<br>it's arguments as CLI commands. You could write a shell script that runs
<br>your macro with that command.<br><br>asterisk -x <command> will connect to asterisk and run the command specified<br>as it's argument.<br><br>If you need to trigger it from the dialplan, you could use the System()
<br>application.<br><br><br>-Tim<br><br>On August 30, 2006 21:19, unplug wrote:<br>> Hi,<br>> In CLI, I can issue a dial command. How can I run a macro in CLI?<br>> Is it possibe?<br>> Thanks.<br>> _______________________________________________
<br>> --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>><br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br>--<br>Tim St. Pierre<br><br>IP telephony specialist<br><a href="mailto:sip://5101@communicatefreely.net">sip://5101@communicatefreely.net</a><br>Toronto: 647 722 6930
<br>Toll-Free 1 888 488 6940<br><a href="mailto:tim@communicatefreely.net">tim@communicatefreely.net</a><br><br><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">
Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br><br><br><br></blockquote></div><br>