[Asterisk-Users] Resetting Asterisk

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Mon Apr 26 13:41:46 MST 2004


On Monday 26 April 2004 14:26, Kyle Hagan wrote:
> tried this
>
> exten => *99,1,System("/usr/sbin/asterisk -rx reload")
>
> I get
>
> '/bin/sh: line 1: /usr/sbin/asterisk -rx reload: No such file or
> directory'.
>
> message on console.
>
> When I type /usr/sbin/asterisk -rx reload manually it works fine.

Kill the quotes:

# "/usr/sbin/asterisk -rx reload"
-bash: /usr/sbin/asterisk -rx reload: No such file or directory

-Tilghman




More information about the asterisk-users mailing list