String Sequence for room Check-in/out via iplink?

Post Reply
Bujitsu

String Sequence for room Check-in/out via iplink?

Post 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
sadim
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 698
Joined: 02 Jun 2006 07:11
Location: Portugal

Post 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
Bujitsu

Post 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.
sadim
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 698
Joined: 02 Jun 2006 07:11
Location: Portugal

String Sequence for room Check-in/out via iplink?

Post by sadim »

Do you have ahl over ip license ?
Bujitsu

Post by Bujitsu »

Yes

From spadmin:

126 Hotel AHL link = 1
sadim
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 698
Joined: 02 Jun 2006 07:11
Location: Portugal

String Sequence for room Check-in/out via iplink?

Post 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.
Bujitsu

Post 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?
sadim
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 698
Joined: 02 Jun 2006 07:11
Location: Portugal

String Sequence for room Check-in/out via iplink?

Post 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
sadim
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 698
Joined: 02 Jun 2006 07:11
Location: Portugal

String Sequence for room Check-in/out via iplink?

Post 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.
Post Reply

Return to “Hotel / Hospital”