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!

Avaya Capture File

Status
Not open for further replies.

MyFlight

Technical User
Feb 4, 2002
193
Does anyone aknow how I can setup a Capture file for an Avaya Switch. Since it uses ATT 4410 Terminal Emulation, I will not work with a traditional capture file.

Your assistance is greatly appreciated.
 
Yes,
the screen repaint for every command entered. you have F-Keys shown at the Bottom (F-1 = CANCEL, F-5 = HELP).
I need to write some script files and would like to capture some command sets (about 25). Screen Prints don't really work and are a royal pain.

Any help you can provide would be greatly appreciated.


 
If you clear Procomm's screen, then the current page should be pushed into the scrollback buffer, which will make it visible in a capture file. The ASPECT command to do this is clear. You may need to play around with the order you issue commands (clear then your command vs. the command to send then clear) to get the desired results.

You could also use the snapshot command with the APPEND flag so that multiple screens can be written to the same text file.
aspect@aspectscripting.com
 
MyFlight,

check out thread448-505347

Knob has helped me out with something simlar.
I too am trying to capture data on a trace which needs to scroll/turn the page to get everything untill buffer is full.
haven't tried it yet but it could be useful to you too.

lever.
 
What you need to do to capture data from an Avaya switch(DEFINITY) is to go to your Capture File Options an select "Write filtered text with no emulation escapes".

This can be found by going to your drop-down menu and selecting;

Options->Data Options->Setup Files

When the Setup dialog box opens, click on the setup button next to Capture drop-down list.
 
Below is a script I used to collect vector information. It uses the snapshot to capture Definity screens.

String NUMFILE = "tempnums.txt", SUBFILENAME = "VNUMBERS.txt"
sTRING vnumber
PROC MAIN
integer LEN, EVENTID ; Integer for length of string.

dialogbox 0 8 20 140 237 2 "List of Vectors and VDNs"
feditbox 1 6 3 58 187 NUMFILE
pushbutton 2 10 204 40 13 "OK" OK default
pushbutton 3 82 204 40 13 "Cancel" CANCEL
enddialog

While 1
dlgEvent 0 EventID ; Get dialog EventID.
switch EventID ; Evaluate the EventID.
case 0 ; No EventID occurred.
endcase
Case 2
ExitWhile
Endcase
Case 3
Exit
Endcase
default ; Dialog EventID occurred.
exitwhile ; Exit the while loop.
endcase
endswitch
Endwhile
dlgdestroy 0 OK ; Destroy dialog box.
Fopen 0 Numfile read text
While not feof 0
Fgets 0 VNUMBER
Strlen VNUMBER LEN
If LEN == 5
VDNs()
Elseif LEN == 3
Vectors()
Else
Usermsg "Invalid Input Length. Must be 3 or five digits"
Endif
EndWhile
endproc

Proc Vectors
transmit "DISPL VECTOR "
transmit VNUMBER
Transmit "^M"
waitfor "11"
Pause 1
Snapshot FILE SUBFILENAME append
Clear ;Clears the terminal display and the status line.
SendVKey 0x76 ;F7 Key (Page Down)
waitfor "22"
Pause 1
Snapshot FILE SUBFILENAME append
Clear ;Clears the terminal display and the status line.
SendVKey 0x76 ;F7 Key (Page Down)
waitfor "32"
Pause 1
Snapshot FILE SUBFILENAME append
SendVKey 0x70 ;F1 Key (Cancel)
Endproc

Proc VDNs
transmit "DISPL VDN "
transmit VNUMBER
Transmit "^M"
waitfor "3rd Skill"
Pause 1
Snapshot FILE SUBFILENAME append
Clear ;Clears the terminal display and the status line.
SendVKey 0x76 ;F7 Key (Page Down)
waitfor "Agent Answer"
Pause 1
Snapshot FILE SUBFILENAME append
SendVKey 0x70 ;F1 Key (Cancel)
Endproc
Robert Harris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top