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 <[EMAIL PROTECTED]> 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://[EMAIL PROTECTED]
Toronto: 647 722 6930
Toll-Free 1 888 488 6940
[EMAIL PROTECTED]


_______________________________________________
--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




_______________________________________________
--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

Reply via email to