Monitor Dicom Server Port

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

StevenE wrote:The necessary info we have to enter to communicate with Dicom is the AE_Title sending, AE_Title Recieving, IP/Host Name, Port Number.
We have modified the code and added two additional command line parameters: -called_aet and -calling_aet
Utility available at http://www.ks-soft.net/download/dicom_echo.zip
Could you try it, please?

===========================
Usage:> dicom_echo.exe -server:<hostname|IP> -port:<port> [-timeout:<timeout>] [-calling_aet:<calling AE title>] [-called_aet:<called AE title>]

Parameters:
-server : DiCOM server name or IP address
-port : DiCOM port
-calling_aet : calling AE Title, default: HOSTMON_SCP
-called_aet : called AE Title, default: ANY-SCP
-timeout : communication timeout (msec)
===========================

Quote from the DiCOM protocol:
=======================
7.1.1.3 Calling AE title
This parameter identifies the Application Entity (AE) that shall contain the requestor of the A-ASSOCIATE service. It is based on the Source DICOM Application Name.

7.1.1.4 Called AE title
This parameter identifies the Application Entity that shall contain the intended acceptor of the A-ASSOCIATE service. It is based on the Destination DICOM Application Name.
=======================

Regards,
Max
StevenE
Posts: 97
Joined: Wed Jul 27, 2005 2:23 pm

Post by StevenE »

When I send the incorrect AE_title I get a response immediately, BAD.

When I send all the correct Dicom information it just hangs, the utility never exits, I have to hit ctrl-c to exit, even with the timeout command.

C:\temp>dicom_echo -server:NWS1000 -port:104 -calling_aet:dvs1001 -called_aet:AE
_1000 -timeout:15000
ScriptRes:Bad:ASSOCIATE_RJ service recieved; Reason: No reason

C:\temp>dicom_echo -server:NWS1000 -port:104 -calling_aet:dvs1001 -called_aet:AE
_NWS1000 -timeout:15000
^C

Thanks
StevenE
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Sorry for the inconvenience. Could you try to use undocumented parameter -log:text_file_name? Using this parameter dicome_echo records debug information in specific text file. Your command line should be like this:

Code: Select all

C:\temp>dicom_echo -server:NWS1000 -port:104 -calling_aet:dvs1001 -called_aet:AE_NWS1000 -timeout:15000 -log:C:\temp\dicom.log
Obviously, you may specify any other file to write log file. Could you send this log file to support@ks-soft.net, please?

Regards,
Max
Last edited by KS-Soft Europe on Wed Dec 27, 2006 7:54 am, edited 1 time in total.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

StevenE,
Our utility works fine with some servers. Can you provide access to your server for testing?

Regards
Alex
StevenE
Posts: 97
Joined: Wed Jul 27, 2005 2:23 pm

Post by StevenE »

I just sent the log file.

StevenE
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

StevenE wrote:I just sent the log file.
We have not received any log files yet. Coud you make another attempt to send the log file to support@ks-soft.net?

Regards,
Max
StevenE
Posts: 97
Joined: Wed Jul 27, 2005 2:23 pm

Post by StevenE »

I resent the log again,

StevenE
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Sorry, we did not receive your mail. May be it was caught by spam filter.
Try to send letter without attachment. What is your e-mail address?

Regards
Alex
StevenE
Posts: 97
Joined: Wed Jul 27, 2005 2:23 pm

Post by StevenE »

I am seeing this in our smtp log

Wed 2006-12-27 15:08:26: <-- 250 Ok
Wed 2006-12-27 15:08:26: --> RCPT To:<support@ks-soft.net>
Wed 2006-12-27 15:08:26: <-- 450 <support@ks-soft.net>: Recipient address rejected: Service temporarily unavailable
Wed 2006-12-27 15:08:26: --> QUIT
Wed 2006-12-27 15:08:26: <-- 221 Bye
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

1) What is your e-mail address?
2) Can you provide access to your server for testing?
3) We made small changes in the code, new version uploaded at the same location. Could you please try it?

Regards
Alex
Last edited by KS-Soft on Wed Dec 27, 2006 2:29 pm, edited 1 time in total.
StevenE
Posts: 97
Joined: Wed Jul 27, 2005 2:23 pm

Post by StevenE »

Email address is [skipped]
StevenE
Posts: 97
Joined: Wed Jul 27, 2005 2:23 pm

Post by StevenE »

I Tried the new version, still hangs.


[12/26/2006 4:01:23 PM] CreateAssociation Packet : 0100000000C80001000041455F4E57533130303020202020200044565331303031202020202020202000000000000000000000000000000000000000000000000000000000000000000010000015312E322E3834302E31303030382E332E312E312E312000002E0100000030000011312E322E3834302E31303030382E312E3140000011312E322E3834302E31303030382E312E3250000035510000040000400052000010312E322E3237362E302E37323330303155000015484F53544D4F4E5F4449434F4D45525F302E302E31
[12/26/2006 4:01:23 PM] Received PDUType: 2 Packet: 0001000041455F4E57533130303020202020202044565331303031202020202020202020000000000000000000000000000000000000000000000000000000000000000010000015312E322E3834302E31303030382E332E312E312E31210000190100000040000011312E322E3834302E31303030382E312E325000003851000004000040005200001B312E322E3532382E312E313030312E322E32303032303331342E315500000D414D495F4449434F4D30305F34
[12/26/2006 4:01:23 PM] P_DATA_TF packet : 04000000004A0000004601030000000004000000380000000000020012000000312E322E3834302E31303030382E312E3100000000010200000030000000100102000000010000000008020000000101
[12/26/2006 4:01:23 PM] Received PDUType: 4 Packet: 0000005001030000000004000000420000000000020012000000312E322E3834302E31303030382E312E310000000001020000003080000020010200000001000000000802000000010100000009020000000000
[12/26/2006 4:01:23 PM] Destroy Association packet : 05000000000400000000
[12/26/2006 4:01:23 PM] Received PDUType: 6 Packet: 00000000
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Your e-mail address added into "white list"
Could you please respond to my question #2. I am asking 3rd time

Regards
Alex
StevenE
Posts: 97
Joined: Wed Jul 27, 2005 2:23 pm

Post by StevenE »

Hopefully you received my email this time.

Steven
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

StevenE wrote:Hopefully you received my email this time.
No, sorry, we did not received log files either. But information, you have posted above, is pretty enough. Thank you. Could you try to add command line parameter: -timeout:6000

Still hangs?

Regards,
Max
Post Reply