CLI cmd from DIALPLAN

Hi,

Is there any way of executing a CLI command from the dialplan? In particular, file convert.

Thx,
Laura

voip-info.org/wiki/index.php … cmd+System

Cheers.

Marco Bruni
www.marcobruni.net

Hi Marco,

System works for linux commands, but I want to execute commands from the CLI, like sip show peers or file convert xx.gsm xx.wav.

Thx,
Laura

Ok now it’s clear, I use agi scripts for this, in the dialplan you execute an agi script which through the Asterisk manager interface executes Asterisk CLI commands.

Cheers.

Marco Bruni
www.marcobruni.net