Hi Stephane,
I looked into your problem (after I got home from vacation). The problem is not that conquest does not accept the message but that the error message on the conquest side is wrong.
Storescu can send any data, but it can only do so with the transfer syntax that you specify on the command line. If that does not correspond with the transfer syntax of the file, it will not recomoress the file, but gives an error message and hang up the DICOM connection.
Conquest then reports - incorrectly -: *** Association rejected: you may need to add the listed presentation context as sop to dgatesop.lst".
This works, though:
storescu -v --required --propose-lossless 127.0.0.1 5678 NMc.dcm
I will add the incorrect error message to the bug list.
Marcel
here is your mail:
Thank you for answering so quickly. Here is an example of the files I have to deal with (NM.dcm). It's a simple whole body image from NucMed. I forgot to mention that The original transfer syntax is 1.2.840.10008.1.2.4.57. After decompression (with dcmdjpeg.exe) it becomes obviously 1.2.840.10008.1.2.1 (that file I can transfer) and if I recompress (with dcmcjpeg.exe to obtain NMc.dcm) the syntax transfer is 1.2.840.10008.1.2.4.70 which I can't transfer either. I'm almost embarrassed to think it might be a simple config problem but I really tought I tried all angles with the configs.