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

VBScript to automate ASA

Status
Not open for further replies.

marshyrob

Technical User
Jan 20, 2004
137
GB
Hello

Does anyone know if its possible to use VBScript to automate certain tasks in ASA. I have been asked to look into this for changing an on call rota on a weekly basis.

I would use a schedueled task to run this but the on call does not always follow the rota pattern, so it could be anyone of 3 people each week. We want one of our 24x7 teams to just run a VBScript (or similar) to change a coverage path or call forward to the required person on call. The team have no access to log onto ASA to do the manual change.

Any help/advice is appreciated.

Thanks

Rob
 
We set up our support numbers as x-ported stations (didn't need a phone to ring) with a security code. The support extensions need to have "Extended Forwarding All" in the class of service. We created the Telecommuting Access Extension with a DID number. Set up feature access codes for "Extended Call Fwd Activate/Deactivate. The support staff dials the Telecommuting Access Number (internally or externally), enters the feature access code, enters the support extension number and # key, enters the security code and # key, then enters their pager number or cell-phone number (including "9" to activate ARS routing). They get a 3-beep confirmation tone and hang up. This way the staff changes the forwarding on the fly as needed. You can monitor the forwarding by "list call-forwarding" and at terminal emulation in ASA, you can "monitor security station" and it will show you any time they "mess up". Hope this option works for you.
 
Hi ckhwi

Thanks for the info, thats sort of what we already do ourselves. My boss, being a total automation person, wants to see if there is anyway it can be done even easier with a script.

If it cant be done then we will have to continue to do it the way in which you describe, but im just looking down all routes.

Thanks again for your advice

Rob
 
Don't know how to do it with ASA, but Procomm with do it with an Aspect script.

 
What you want to do with VB is pretty simple if you are comfortable working with the WINSOCK control. The PBX is pretty promiscuous when it comes to network communication. It will send the logon screen to any Telnet session that is established. You can use a network monitor on your Addr and the PBX's to monitor the interactions.

The most difficult part is parsing the terminal communications (basically you need to do terminal emulation) and realizing that the PBX will send back each character you send it. You can probably simplify the handshaking by selecting the PC device at login.

Post your email addr and I will send you a VB6 pgm (no warranty) that communicates with your PBX over the network similar to ASA to retrieve data.

As an aside, at the recent INAAU conference I had the opportunity to talk with the MR. TERRANOVA that wrote the ASA precusor, TERRANOVA. He is with River City Software and they have a very impressive product that monitors PBX performance and alarms.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top