[Asterisk-Users] asterisk -rx under cron?

John Todd jtodd at loligo.com
Wed Jun 18 15:35:43 MST 2003


>Hi all,
>
>i would likte to do an "asterisk -rx show channels" regulary from cron and
>save the results. Easy it may seem, but when running the command from cron
>"sip*CLI> " is the only result.
>
>Even expect seems to have problems with getting results from asterisk.
>
>Is it possible to solve the above problem?
>
>	/Chris

Try:

asterisk -r -x "show channels"

JT



More information about the asterisk-users mailing list