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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is it possible to create a Macro to delete many phones and then point those extensions to route 116?

Status
Not open for further replies.

Frav82

Technical User
Mar 21, 2005
67
US
Good Morning,

I never work with macros however, I feel the need to create one for this new project. We have one of our smaller sites with about 64 OptiPoint 410 IP phones that will soon be converted to Cisco "Route 116". Is there a way to create a macro I could run on cut day that would delete those 64 phones and then change WABE to point them to 116?

I think I know half of the answer. I believe this example would work for the changing wabe part?
cha-wabe:7872,116;
cha-wabe:7881,116;
cha-wabe:7882,116;
cha-wabe:7883,116;
cha-wabe:7884,116;

Thank you for any future help, Happy Tuesday,

Rob



OpenScape 4000 V7 R2
 
Deleting a phone via command line can be a chore, as there are typically a bunch of prerequisites that have to be removed first. I'd recommend going through the process of deleting one extension and point the WABE to the new route, making note of every step required. That would maximize your chances of the macro being successful. Understanding that you may not be able to delete one of your working phones, but maybe you can add another extension for testing the process.

LoPath
Maintain HiPath 4000 V5 & V6, OpenScape Xpert V4 & V6, OpenScape Xpressions V7, OpenScape Contact Center V8, OpenScape Voice V9
 
I think I figured it out however, would I be missing anything if this is all I run? It seemed to work just using the first three lines to test.

DEL-KCSU:STNO=7872;
DEL-SBCSU:7872,ALL;
cha-wabe:7872,116;
DEL-KCSU:STNO=7881;
DEL-SBCSU:7881,ALL;
cha-wabe:7881,116;
DEL-KCSU:STNO=7882;
DEL-SBCSU:7882,ALL;
cha-wabe:7882,116;
DEL-KCSU:STNO=7883;
DEL-SBCSU:7883,ALL;
cha-wabe:7883,116;
DEL-KCSU:STNO=7884;
DEL-SBCSU:7884,ALL;
cha-wabe:7884,116;

OpenScape 4000 V7 R2
 
That will likely cover it, as long as all of those stations are built the same. If some have multiple line appearances on them, they may not delete. The good thing about macros is that they will tell you what all fails.

LoPath
Maintain HiPath 4000 V5 & V6, OpenScape Xpert V4 & V6, OpenScape Xpressions V7, OpenScape Contact Center V8, OpenScape Voice V9
 
Thank you LoPath for your help have a good rest of the week!

Rob

OpenScape 4000 V7 R2
 
Take a full REGEN first before doing any work.

What will stop you deleting is pickup groups (REG-AUN;) and hunt groups (REG-SA;)

 
Good Morning sbcsu,

So is there a way to incorporate those two variables into my macro to catch and remove any occurrences of them?

DEL-KCSU:STNO=7872;
DEL-SBCSU:7872,ALL;
cha-wabe:7872,116;
DEL-KCSU:STNO=7881;
DEL-SBCSU:7881,ALL;
cha-wabe:7881,116;
DEL-KCSU:STNO=7882;
DEL-SBCSU:7882,ALL;
cha-wabe:7882,116;
DEL-KCSU:STNO=7883;
DEL-SBCSU:7883,ALL;
cha-wabe:7883,116;
DEL-KCSU:STNO=7884;
DEL-SBCSU:7884,ALL;
cha-wabe:7884,116;

OpenScape 4000 V7 R2
 
It depends.
Ensure you have a full regen first before commencing any work

Is there Key System Functionality there - KCSU

If you have a regen then you can delete the relevant pickup/hunt/kcsu groups.
Then delete the phones.
 
Thank you LoPath and SBCSU I put all your suggestions to good use and the project was completed without any issues [smile]

OpenScape 4000 V7 R2
 
Great to hear!

LoPath
Maintain HiPath 4000 V5 & V6, OpenScape Xpert V4 & V6, OpenScape Xpressions V7, OpenScape Contact Center V8, OpenScape Voice V9
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top