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

ACD Reporting via TTY

Status
Not open for further replies.

lexer

Programmer
Jun 13, 2006
432
VE
Hi

I've got CS1000 rls 6 co-resident, I configured an ACD with 4 agents and I'm sending ACD data using a TTY port, I'm trying to capture ACD data on the TTY with VB 6.0 (for sending data to a mysql database), But The information that I recieve on VB 6.0 (I tried with Hyperterminal with the same result) are garbage characters, If I use procomm Plus in VT100 mode I can see and capture clean information. I don´t know If I'm missing some setting in the serial configuration on VB 6.0? Please any ideas?.
These are the ACD and TTY configuration on CS:

>ld 22
PT2000

REQ prt
TYPE adan tty 2

ADAN TTY 2
TTY_TYPE SDI
CAB 00
CARD 00
PORT 2
DES
BPS 9600
BITL 8
STOP 1
PARY NONE
FLOW NO
USER ACD
CUST 00
SSUP NO
APRT YES

REQ end
>ld 23
ACD000
MEM AVAIL: (U/P): 520758 USED U P: 548133 77988 TOT: 1146879
DISK RECS AVAIL: 1152
ACD DNS AVAIL: 283 USED: 17 TOT: 300
REQ prt
TYPE scb
CUST 0

TYPE SCB
CUST 0
CPRD 01 01 12 31
SHR 23
EHR 19
DOW 1 2 3 4 5 6 7
RFRQ 3
SFRQ 1
ROPT 1 2 3 4
PRIO 2
PAGE NO
AID YES
IDLB 0001
IDUB 0099
LOG 9
SRPT NO
TOT4 YES

 
Please, another question? It is posible that the CS sends on "Report 4: Agent Position Report" the Agent ID used for login in ACD (created on SCB (LD 23)), now The CS sends the "ACD POS ID" of the agent.
 
Report 4 is Agent Position Report, by default it does not provide AID info.

Agent Identification (Optional Field) The ACD AGENT ID of the agent being reported. This field appears when Report Control in Service Change LD 23 defines the Short Report and Agent ID options as YES. If a new agent occupies the agent position, the ID of the previous agent appears, accompanied by an asterisk. If an agent is not logged in when the report is generated, the Agent ID does not appear in the report.

For you, it would mean changing the prompt SRPT to YES.
 
As for the other part about capturing the data, use procomm to capture the data and have your VB script read in the capture data. But whatever terminal emulation program you're using to access the pbx, make sure it can emulate vt100 type terminal and you're able to match speed and port setting 9600 N-8-1
 
yyrkroon Thanks for your answers, I set SRPT to YES and now I can see agent Id.

Regarding capturing ACD data using a TTY port I'm set the serial port to 9600 N-8-1 VT100, In procomm Plus I see the ACD reports clean, but in Hyperterminal (and VB 6) I see garbage characters: See attached pictures.

I dont know If I hava use another speed and parameters in the TTY port, for example change to MARK, 7 bits stop etc.?
 
 http://files.engineering.com/getfile.aspx?folder=12dd7af6-be82-4f57-ba7f-12b67c8bb79f&file=Hyperterminal.JPG
Verify your baud and port setting in hyperterm, if they are indeed set correctly, then try lowering the speed to 4800 or 2400 and make sure flow control is off. Another thing you can try is VT320 or WYSE 50 or 100 terminal emulation.
 
You've got no agents, and no calls, so you're getting no data. What you see is what you get.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top