Mitel Forums - The Unofficial Source

Mitel Forums => Aastra - MiVoice Office 400 and MiVoice MX-One => Topic started by: freddielainen on June 05, 2020, 11:28:38 AM

Title: MX-ONE 6.3 String of commands in CLI
Post by: freddielainen on June 05, 2020, 11:28:38 AM
Hello

Im pretty new MX-One CLI Release 6 :-) Does any know how to erease an SIP-extension in CLI by pasting in like 4 commands (se below) , but with automatic having the "YES-confirmation answer" inserted between the commands? So I just can paste it in.

In example if I do it manually, I have to answer "Y" after every command

name -e --dir 82111
ip_extension -e -d 82111
extension -e -d 82111
auth_code -e --auth-code 8211182111

Kind Regards
Fred
Title: Re: MX-ONE 6.3 String of commands in CLI
Post by: noexpert on July 07, 2020, 03:38:19 PM
hi,
please try

echo Y| <command>

br
Title: Re: MX-ONE 6.3 String of commands in CLI
Post by: freddielainen on October 10, 2020, 02:11:15 AM
Thanks :-)