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!

ASA - 5.0.11

Status
Not open for further replies.
May 20, 2008
194
US
WHY CAN'T THEY INCLUDE THE FIELD TO ALLOW ME TO CHANGE THE GROUP ON PAGE 3 OF A STATION!!!!!!

IP Phone Group ID:

Now i have to manually change 500 sets!!!
 
If you really need to change 500, you should invest in learning scripting in procom. It's not super easy but probably easier than changing 500 phones manually. Plus you'll gain a new skill. 4410 emulation would be:

Function Command
Begin proc main
F1 CANCEL ^[OP
F2 ^[OQ
F3 ENTER ^[OR
F4 ^[OS
F5 ^[OT
F6 ^[OU
F7 NEXT PAGE ^[OV
F8 PREVIOUS PAGE ^[OW
<ENTER> ^M
transmit transmit ""
pause pause 1
Up Cursor ^[[A
Down Cursor ^[[B
Right Cursor ^[[C
Left Cursor ^[[D
End endproc



would look something like this:
proc main
transmit "ch stat 1234^M"
pause 1
transmit "^[OV ^[OV ^[[B ^[[B ^[[B"
pause 1
transmit "123 ^[OP"
endproc

You can build this all in excel relatively quickly, then copy and paste the whole thing into a procom script. The lengthy part is just tweaking the pauses and keystrokes.








-CL
 
well, here is what i did, in procomm, i went into the scripts menu & started a recording, did a change, then stopped recording. below is what was captured:

proc main
transmit "ch stat 8675309^M"
waitfor "^[[4m"
transmit "^[OV"
waitfor "^[[4m"
transmit "^[OV"
waitfor "^[[4m"
transmit "^[[B"
waitfor "^[[4m"
transmit "^[[B"
waitfor "^[[4m"
transmit "^[[B"
waitfor "^[[4m"
transmit "456^M"
waitfor "^[[4m"
transmit "^[OR"
endproc


i tried it again & changed the 456 to 123, ran the script & it worked just fine, i guess i have a lot of copy & pasting to do
 
The copy and paste can be done in less than a couple minutes using the concatonate formula in excel. I may not be able to describe well but most stuff repeats (in your case every 15 steps). For instance:

waitfor "^[[4m"

will repeat on line 2, 16, 31, etc. You can add a column in excel and just drag down and you'll get:

2
16
31
46

.......

Do the same for transmit "^[OV"
3
17
32
47

...........

for lines 1, 15, 30, etc. you will have 4 colunms. The 1st will be the row number, the 3rd will be your list of extensions. It will look like this:

1 transmit "ch stat 8675309 ^M"

By using the concatonate formula in excel in the 6th column, it will mesh it all together into [transmit "ch stat 8675309^M"] Now copy that 6th cell and hit "paste special" and paste as VALUES.


Sort the whole mess by the 1st column, then copy the whole mess into procom.



-CL
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top