Page 1 of 1
String Sequence for room Check-in/out via iplink?
Posted: 10 Jun 2005 17:34
by Bujitsu
Hi,
I wanted to test the checkin/out facility of a AHL link on an 4400 running 6.1 LX. The port is TCP/2561 but I do not know what to send it in order to do a test check-in/out.
Is anybody able to help?
Cheers
Posted: 03 Jul 2006 12:04
by sadim
First you need to send a connection message and then send the checkin or checkout message as like for the AHL over V24.
To connect, first lauch a telnet to the port 2561 and then type Alt02, then Alt64 then Alt48 Alt48 Alt48 Alt49 and finally Alt03
Note: Alt02=STX; Alt03=ETX;...
After this you will have 60 seconds (unless you answer to the keep alive mechanism) to send the checkout, checkin or any other msg
Checkout structure:
-------------------+----+-+---------------------------------+----+-----+
field |STX |D| GPIN* or room extension** |CRC| ETX|
length (in bytes) |1 |1| 5 or 8 | 2 | 1 |
-------------------+-----++---------------------------------+----+-----+
Where: STX=CtrlB (0x02)
D= character D, means Departure
CRC is the xor result of each caracthers after STX till CRC
Posted: 04 Jul 2006 00:52
by Bujitsu
Thanks,
I sent the following string via telnet:
02, 40, 0001, 03
|STX|@|NODE|ETX
02, 44, 20, 33, 39, 35, 36, 36, 44, 03;
|STX|D| |3|9|5|6|CRC1|CRC2|ETX
I have a room checked in via hotmenu. Computer link is set to the machine that is sending the information.
Doesn't seem to work.
Cheers.
String Sequence for room Check-in/out via iplink?
Posted: 09 Jul 2006 19:57
by sadim
Do you have ahl over ip license ?
Posted: 10 Jul 2006 04:10
by Bujitsu
Yes
From spadmin:
126 Hotel AHL link = 1
String Sequence for room Check-in/out via iplink?
Posted: 10 Jul 2006 06:52
by sadim
The string seems to be good, can you try to send that same checkout string (02, 44, 20, 33, 39, 35, 36, 36, 44, 03) over a V24 port configured as AHL to check if it works.
Posted: 16 Jul 2006 06:18
by Bujitsu
Got the V24 side of things going. Now only the TCP/IP side needs to go.
I sent the same sequence to port 2561, but nothing happens. Any ideas?
String Sequence for room Check-in/out via iplink?
Posted: 31 Aug 2006 09:53
by sadim
Hi,
Sorry the delay, i already spend considerable time making tests, but i was not able to find the problem and without doc i am afraid that i can no longer help you.
Perhaps somebody has a doc that can share with us
Regards
String Sequence for room Check-in/out via iplink?
Posted: 31 Aug 2006 12:51
by sadim
Hi,
Good news.
I have just make a new test and i was able to make a check out trought ahl over ip. For that i had to customize applications->hotel->computer link:
Interface Configuration=Master
CPU address=ip@ of the cpu
I have room 3596 checkin
Then i make a program that sends trough tcp/port 2561 two packets:
1st. STX@FFFFETX
2nd. STXD39566DETX
Sending those packets with telnet, it did not work.