Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Good morning all, Happy Tuesday

Status
Not open for further replies.

NYPQ-EN

IS-IT--Management
Feb 22, 2017
94
US
Good morning all,

Happy Tuesday

I want to thank all of you that have been assisting me in my search for knowledge.
I appreciate your help .

Question of the day - What is the best way to create a script?

Have a blessed day.

Eric
 
For short scripts, I just use notepad. If I'm doing a long list of repetitive commands, say on a range of stations, I'll write it up in Excel first, then copy it over to notepad. Once you have it in notepad, just open it from expert mode... Macro > Start > Open and change the file type to "All files (*.*)".

LoPath
Maintain HiPath 4000 V5 & V6, OpenScape Xpert V4, OpenScape Xpressions, OpenScape Contact Center V8, OpenScape Voice V9
 
LoPath,

Thank you for your response.
I just want to make sure that the scripts that I write are done correctly.

Thanks again.
 
If you're unsure, you can either step through your script one line at a time when you run it or copy and paste each line into a command line one at a time....and keep your fingers crossed. :)

LoPath
Maintain HiPath 4000 V5 & V6, OpenScape Xpert V4, OpenScape Xpressions, OpenScape Contact Center V8, OpenScape Voice V9
 
Find a phone (or feature) of the type that you are looking to create with a script and you can get the system to write it for you.

For example, if you want to copy extension 1234: REG-SBCSU:1234; will create a blob of stuff that you can copy and paste into notepad. You will want ALL of it on one line with no spaces. In most cases you can just change the station number and PEN. Note when you create a station in this manner you need to go back in to Assistant and click the "key system" check box if you're in the US and hit save.

Code:
ADD-SBCSU:2758,OPTI,IP2,1-5-14-28,OPTIIP,1,21,21,20,20,20,20,0,0,N,0,30,2,,N,0,61,N,,,Y,0,N,N,N,Y,N,,,,,,,,5,,,,N,NORMAL,N,AMERICAN,1,ALL,1,0,,,Y,Y,,,,,G711P,,,,,,;

If you want to create a script to add forwarding to a phone: REG-ZIEL:FWD,1234; Each one of those entries it displays will be on its own row....

Code:
ADD-ZIEL:FWD,2758,VCE,3680,"",CFB,EXT,SYSTEM;
ADD-ZIEL:FWD,2758,VCE,3680,"",CFNR,EXT,SYSTEM;
ADD-ZIEL:FWD,2758,VCE,3680,"",CFNR,INT,SYSTEM;

I have up txt files like this for when I am bulk-adding phones or making bulk changes to the system because it speeds things up considerably. It is also something you need to do if you must delete a phone out and then put it back in for some reason, but that is a more complicated process that takes multiple steps....

Also note that SBCSU is for DIGITAL (IP, OS40T) phones and SCSU is for ANALOG phones.



Don Bruechert, Voice Comm Analyst II
CareTech Solutions @ Holy Family Memorial
Manitowoc, WI, USA
 
Thanks again Don.

This is a great tip.

I know about the SBCSU and SCSU as well as the Forwarding, but thanks for the tips.
You don't know how much this helps me.

Have a blessed afternoon.

ERic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top