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!

Edit default settings when programming new TN 1

Status
Not open for further replies.

drange

Technical User
Dec 29, 2005
30
NO
Hello.

I'm programming a lot of 3902's, and I wonder if there is any possibilities to automaticallly program keys and CLS?
 
Code:
proc main

   set txpace 30
   transmit "****^M"
   waitfor ">"
   transmit "ld 11^M"
   waitfor "REQ: "
   transmit "new^M"
   waitfor "TYPE: "
   transmit "3904^M"
   		;waitfor "TN   "
   		;transmit " ^M"
   		;waitfor "DES  "
   		;transmit " ^M"
   waitfor "CUST " forever
   transmit "0^M"
   waitfor "KBA "
   transmit "^M"
   waitfor "DBA "
   transmit "^M"
   waitfor "FDN  "
   transmit "^M"
   waitfor "TGAR "
   transmit "6^M"
   waitfor "LDN  "
   transmit "^M"
   waitfor "NCOS "
   transmit "1^M"
   waitfor "RNPG "
   transmit "^M"
   waitfor "SSU  "
   transmit "^M"
   waitfor "SCPW "
   transmit "^M"
   waitfor "SGRP "
   transmit "^M"
   waitfor "CLS  "
   transmit "ira hfa lna cnda cdca ddga nama"
   waitfor "RCO  "
   transmit "^M"
   waitfor "LHK  "
   transmit "^M"
   waitfor "LNRS "
   transmit "^M"
   waitfor "SCI  "
   transmit "^M"
   waitfor "LPK  "
   transmit "1^M"
   waitfor "PLEV "
   transmit "^M"
   waitfor "FCAR "
   transmit "^M"
   waitfor "AST  "
   transmit "^M"
   waitfor "IAPG "
   transmit "^M"
   waitfor "MLWU_LANG "
   transmit "^M"
   waitfor "MLNG "
   transmit "^M"
   waitfor "DNDR "
   transmit "^M"
   waitfor "KEY "
   transmit "0" 
   waitfor "  CPND "
   transmit "new^M"
   		;waitfor "  NAME "
   		;transmit "   ^M"
   		;waitfor "    XPLN "
   		;transmit "^M"
   waitfor "    DISPLAY_FMT " forever
   transmit "^M"
   waitfor "  VMB "
   
   waitfor "KEY "
   transmit "3 adl^M"
   waitfor "KEY "
   transmit "4 adl^M"
   waitfor "KEY "
   transmit "5 adl^M"
   waitfor "KEY "
   transmit "6 adl^M"
   waitfor "KEY "
   transmit "7 adl^M"
   waitfor "KEY "
   transmit "8 adl^M"
   waitfor "KEY "
   transmit "9 adl^M"
   waitfor "KEY "
   transmit "10 adl^M"
   waitfor "KEY "
   transmit "11 adl^M"
   waitfor "KEY "
  endproc

This is one I use for a new 3904 and you can edit and make changes to fit what you might need.
 
Wow ... that's great. How 'bout one for a 3905 ACD phone?
 
best thing to do with scripts is use one like that as a blueprint to make the 3905 script.. just make the few changes your intrested in do a save as then complile is the provomm editor.. sargent hill and i work in the same switchroom and he's teaching me as he goes.. might want to give him a star for that.. he did that script in about 3 minutes... spooky

john poole
bellsouth business
columbia,sc
 
post one 3905 that you want to use as a template and i'll talk hill into posting one

john poole
bellsouth business
columbia,sc
 
So that script is for procomm? And wont work for OTM.

How do I include it in procomm?
 
in procomm, just open the editor, alt f3, click new and paste that script in, do a save as them compile it.. then from the same altf3 pick the script and click run... no one at this site uses otm, i turned off that server.. all commands are done at command line..

john poole
bellsouth business
columbia,sc
 
I only use command line too, but in OTM I have the chance to press backspace, in addition to copying and pasting...
 
you can copy and paste in command line, i have scripts that depend on that.. with an excel of a list of tn's, it's pretty easy to build a quick script that does a paste when it see's the tn command, i keep the excel open, down arrow crtl c, switch paste that makes the change. script loops while i down arrow crtl c again... and nope, i haven't found a way to backspace... maybe if i work simplex and transmit after the line is complete..nevermind

john poole
bellsouth business
columbia,sc
 
This reminds me of something I wondered about, but it wasn't important enough to me to dig into the manuals for it...

What's the point of templates? I figured they were for preconfiguring some of the parameters such as CLS and KEY settings to use for different scenarios - for example template #5 might be for a "normal" 3903 TN/DN while #12 might be for executive 3904's with different key programming. If so, how do you create a template and how do you tell the PBX to use template #5 for this TN and template #12 for that one?

Or is this an archaic holdover from prior versions that's not too useful?

Steve Harmon
Greenfield, Indiana
 
John Poole:
I managed to set Notepad2 ad my default editor, and I saved the file as proc.txt, but what does Alt-F3 do? Here it just toggles between CR and CRLF.

How do I compile it? I hope you can help, I never got any training in ProComm, and everyone else uses OTM.
 
If you are using OTM, you should be making yourself templates for each of your phone type needs, to include whether they need voice mail or not.
 
I'm using command-line only. I reread it and it makes sense to me, I just skipped over that the first time. I should know better than to assume anything with these switches. I wish my employers would spring for training instead of expecting me to figure it all out myself. :)

Steve Harmon
Greenfield, Indiana
 
only in procomm do my procomm shortcuts work, alt f3 is script edit, alt 3 is edit curent file... traning is for wimps, why read the instructions when you can just guess at the promots? guess i'm going to be a manager when i grow up... but your right, the company will send new hires to cisco schools all day, both on site techs here have been promised nortel schools for, in one case, a decade

john poole
bellsouth business
columbia,sc
 
John, I've only been on Tek-Tips for about a month, but I've learned more from you and the other regulars in that time than the last four years put together. Thank you.

Steve Harmon
Greenfield, Indiana
 
more then welcome, people that give stars to those that try to help are also the ones that get the fastest response.. and i agree, we all learn from this forum... strange but we all seem to get way more then we give.. it's a great place to pick up things you wouldn't see on a day to day job..

john poole
bellsouth business
columbia,sc
 
You're right - have a star.

Steve Harmon
Greenfield, Indiana
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top