I just downloaded ZOC in order to create a script to change multiple telephones on a CS1000 at 7.6
I recorded a script with changing one phone to get the parameters:
I know I will need to create a text file with the specific inputs. The items that will change are:
TYPE and TN
Everything else will remain the same.
Sample of text file might be:
TYPE TN
1230 248 0 0 8
1120 236 0 0 5
3903 4 0 8 10
Does anyone have a sample script to do something similar that they would be willing to share?
Thank you.
I recorded a script with changing one phone to get the parameters:
Code:
/* REXX (RECORDED BY ZOC V7.18.3 2018/05/17 07:03:15) */
CALL ZocTimeout 60
CALL ZocWaitForSeq "on"
CALL ZocSend "ld 20^M"
CALL ZocWait "REQ:"
CALL ZocSend "chg^M"
CALL ZocWait "TYPE:"
CALL ZocSend "1230^M"
CALL ZocWait "TN"
CALL ZocSend "248 0 0 8^M"
CALL ZocWait "ECHG"
CALL ZocSend "yes^M"
CALL ZocWait "ITEM"
CALL ZocSend "fdn 7000^M"
CALL ZocWait "ITEM"
CALL ZocSend "hunt 7000^M"
CALL ZocWait "ITEM"
CALL ZocSend "key 16 mwk 7000^M"
CALL ZocWait "KEY"
CALL ZocSend "^M"
CALL ZocWait "ITEM"
CALL ZocSend "^M"
I know I will need to create a text file with the specific inputs. The items that will change are:
TYPE and TN
Everything else will remain the same.
Sample of text file might be:
TYPE TN
1230 248 0 0 8
1120 236 0 0 5
3903 4 0 8 10
Does anyone have a sample script to do something similar that they would be willing to share?
Thank you.