PBXtech.info  
\'\'

Go Back   PBXtech.info > Avaya > Definity Servers

Reply
 
LinkBack Thread Tools Display Modes
Old April 21st, 2004, 09:28 AM   #1 (permalink)
Avayapower
Registered User
 
Join Date: Mar 2004
Posts: 17
Avayapower is on a distinguished road
Terminal Emulator Scripts

Does anyone know how the SEND the F1 and the F3 key to the host? I cannot find the decimal value if it is a decimal value or the string. Ive been trying for ages, even if you have them for teranova or some other emulator please let me know.
Avayapower is offline   Reply With Quote
Old April 21st, 2004, 10:19 AM   #2 (permalink)
nexSIP
Moderator
 
nexSIP's Avatar
 
Join Date: Jun 2003
Posts: 527
Blog Entries: 3
nexSIP is on a distinguished road
Re: Terminal Emulator Scripts

why not just use ATT 4410 protocol? it has the Function keys mapped out automatically.
__________________
http://www.nexsip.com
Communicate Openly and Freely
nexSIP is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old April 21st, 2004, 10:25 AM   #3 (permalink)
Avayapower
Registered User
 
Join Date: Mar 2004
Posts: 17
Avayapower is on a distinguished road
Re: Terminal Emulator Scripts

Let me explain a little more, I hope to create a SCRIPT that will do admin functions in Definity Audix. The control will be done via VBA in Excel. I can get the script to login to Audix and enter the command "Display Backups" but I then need to send F1 (Cancel) so that the next command can be entered. This is where I am stuck. The whole idea is to automated it so that it can be run on 11 sites at once and view the results after.
Avayapower is offline   Reply With Quote
Old April 21st, 2004, 10:49 AM   #4 (permalink)
nexSIP
Moderator
 
nexSIP's Avatar
 
Join Date: Jun 2003
Posts: 527
Blog Entries: 3
nexSIP is on a distinguished road
Re: Terminal Emulator Scripts

well it depends on which terminal emulation. for example.. att605 F1 is ^[Oc
If you have procomm plus (which I use) there is a keyboard editor to tell you the codes to use for each emulation.
__________________
http://www.nexsip.com
Communicate Openly and Freely
nexSIP is offline   Reply With Quote
Old April 21st, 2004, 11:03 AM   #5 (permalink)
Avayapower
Registered User
 
Join Date: Mar 2004
Posts: 17
Avayapower is on a distinguished road
Re: Terminal Emulator Scripts

Terminal Emulation is 4410, however I suppose i could change this. Is it possible with Procomm Plus to see what F1 and F3 are for 4410?

Many Thanks
Avayapower is offline   Reply With Quote
Old April 29th, 2004, 09:22 AM   #6 (permalink)
jsena
PBXtech GOLD 100+ posts
 
Join Date: Mar 2004
Posts: 108
jsena is on a distinguished road
Re: Terminal Emulator Scripts

I wrote an app to do this for a G3si (513 emulation), but I haven't done one for 4410 Audix yet. I'll write a quick app tonight to tell you what the command codes are, hopefully by tomorrow (Monday at latest). I'll get the codes for cancel, enter, nextpage, and prevpage.
jsena is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old May 3rd, 2004, 01:44 PM   #7 (permalink)
jsena
PBXtech GOLD 100+ posts
 
Join Date: Mar 2004
Posts: 108
jsena is on a distinguished road
Re: Terminal Emulator Scripts

The command codes that ASA generates are
<esc>OP for button one
<esc>OQ for button two
and so on, until <esc>OW for button eight

so, once you log in with 4410 emulation, you should be able to use chr(27) + chr(79) + chr(79 + ButtonNumber) for the button you need... ButtonNumber = 1 for cancel, 2 for refresh, 3 for enter, 4 for clearfield, 5 for help, 6 for choices, 7 for nextpage, and 8 for prevpage in the "Audix Administration" area. I didn't get a chance to check it too extensively, but I think that will work. Let me know.
jsena is offline   Reply With Quote
Old May 4th, 2004, 11:33 AM   #8 (permalink)
Avayapower
Registered User
 
Join Date: Mar 2004
Posts: 17
Avayapower is on a distinguished road
Re: Terminal Emulator Scripts

Thanks for this i did sort it in the end it was esc and OP ext. therefor I had to do \033op and this did it.

Thanks again.

Matt
Avayapower is offline   Reply With Quote
Old May 11th, 2004, 02:46 AM   #9 (permalink)
lennie2
 
lennie2's Avatar
 
Join Date: Jun 2003
Posts: 7
lennie2 is on a distinguished road
Re: Terminal Emulator Scripts

does any of u mind to share a basic exel example of what is done ? I don't know much about programming but is in desperate need of such an exel app.


regards
len
lennie2 is offline   Reply With Quote
Old May 21st, 2004, 10:46 AM   #10 (permalink)
Avayapower
Registered User
 
Join Date: Mar 2004
Posts: 17
Avayapower is on a distinguished road
Re: Terminal Emulator Scripts

I wasnt using excel here I was using Avaya Terminal Emulator scripts, however you can use the Shell function to start a programme is

Shell ("c:\program files\avaya\asa\bin\asa.exe")

this will start ASA

then use "send keys" in VBA in excel to run your commands.

you will probably need a wait time in between each command so use:

application.wait (now + timevalue("00:00:01"))

this will wait 1 second till the next command.

If you tell me what it is your trying to automate I may be able to help.

Matt
Avayapower is offline   Reply With Quote
Old May 24th, 2004, 02:20 AM   #11 (permalink)
lennie2
 
lennie2's Avatar
 
Join Date: Jun 2003
Posts: 7
lennie2 is on a distinguished road
Re: Terminal Emulator Scripts

To begin I want to do a status on trunk 1 and have the results in excel.
eg. status trunk 1
then in excel :
1 in-service/idle
2 in-service/idle
3 in-service/idle
4 in-service/idle
5 out-of-service

thanks for any help.
lennie2 is offline   Reply With Quote
Old May 24th, 2004, 05:16 AM   #12 (permalink)
Avayapower
Registered User
 
Join Date: Mar 2004
Posts: 17
Avayapower is on a distinguished road
Re: Terminal Emulator Scripts

What product do you use to adminster the definity?

Matt
Avayapower is offline   Reply With Quote
Old May 24th, 2004, 05:30 AM   #13 (permalink)
lennie2
 
lennie2's Avatar
 
Join Date: Jun 2003
Posts: 7
lennie2 is on a distinguished road
Re: Terminal Emulator Scripts

I use ASA or ATE
lennie2 is offline   Reply With Quote
Old May 24th, 2004, 06:23 AM   #14 (permalink)
Avayapower
Registered User
 
Join Date: Mar 2004
Posts: 17
Avayapower is on a distinguished road
Re: Terminal Emulator Scripts

How many trunks do you have in trunk group 1?

Matt
Avayapower is offline   Reply With Quote
Old May 24th, 2004, 09:53 AM   #15 (permalink)
lennie2
 
lennie2's Avatar
 
Join Date: Jun 2003
Posts: 7
lennie2 is on a distinguished road
Re: Terminal Emulator Scripts

6 CO Trunks to our PSTN.
lennie2 is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Terminal Parameters deepakjain Definity Servers 1 September 22nd, 2008 09:44 AM
CMS Terminal Emulator heidz5_7 Definity Servers 1 July 28th, 2006 11:42 AM
Setting a Phone to Call Forward From the Opt 11 Terminal mrose77 Meridian systems 2 December 18th, 2005 03:41 PM
Avaya Terminal Karan083 Definity Servers 2 November 20th, 2005 11:48 PM
remote terminal one123 Meridian systems 1 November 11th, 2004 09:31 AM


All times are GMT -6. The time now is 06:56 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2002 - 2007, PBXtech LLCAd Management by RedTyger

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37