Extended association negotiation

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
aasayonak
Posts: 3
Joined: Mon, 2007-09-17, 17:21

Extended association negotiation

#1 Post by aasayonak »

As a part of a config file ("--config-file" option) it is possible to configure Extended Association negotiation.
However, in the documentation for i.e. storescu it says that extended negotiation is not supported.

So, is it supported for storescu or not?

If not, is there a reason why not? Are there any plans to support it? (it supports the config files...)

Michael Onken
DCMTK Developer
Posts: 2051
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#2 Post by Michael Onken »

Hi,

the documentation is a bit misleading, we should change this for the next release ;) You actually can use the configuration file for storescu and storescp to let them do Extended Negotiation. Read dcmnet/etc/asconfig.txt to learn about the configuration file syntax. Maybe I can dig out an example if you should not get things working.

Regards,
Michael

aasayonak
Posts: 3
Joined: Mon, 2007-09-17, 17:21

#3 Post by aasayonak »

I did!

Unfortunatly storescu seems to ignore completely the [[ExtendedNegotiation]] section :?

The config file:

Code: Select all

# ============================================================================
[[TransferSyntaxes]]
# ============================================================================

[Uncompressed]
TransferSyntax1 = LittleEndianExplicit
TransferSyntax2 = BigEndianExplicit
TransferSyntax3 = LittleEndianImplicit

# ============================================================================
[[PresentationContexts]]
# ============================================================================

[CustomClass1]
PresentationContext1  = 1.2.840.113619.4.26\Uncompressed

# ============================================================================
[[Profiles]]
# ============================================================================

[Default]
PresentationContexts = CustomClass1  

[[ExtendedNegotiation]]

[CustomSection]
ExtendedNegotiation1 = 1.2.840.113619.4.26\5700002A0013312E322E3834302E3131333631392E342E32360011312E322E3834302E31303030382E342E320000
(here the ExtendedNegotiation represents a "SOP class common extended negotiation" as in PS3.7 D.3.3.6 :wink: ) So, I am trying to send my custom SOP class, specifying that it is actually a generic Storage Service Class (1.2.840.10008.4.2)

but storescu says this:

Code: Select all

P:\OldenburgTools>storescu -v -d -xf ..\1.2.840.113619.4.26\conf_for_storescu_
extended.txt Default localhost 111 ..\1.2.840.113619.4.26\332355.dcm
Request Parameters:
Our Implementation Class UID:    1.2.276.0.7230010.3.0.3.5.4
Our Implementation Version Name: OFFIS_DCMTK_354
Their Implementation Class UID:
Their Implementation Version Name:
Application Context Name:    1.2.840.10008.3.1.1.1
Calling Application Name:    STORESCU
Called Application Name:     ANY-SCP
Responding Application Name: resp AP Title
Our Max PDU Receive Size: 16384
Their Max PDU Receive Size: 0
Presentation Contexts:
  Context ID:        1 (Proposed)
    Abstract Syntax: 1.2.840.113619.4.26
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
Requested Extended Negotiation: none
Accepted Extended Negotiation: none
Requesting Association
Constructing Associate RQ PDU
Requested Extended Negotiation: none

aasayonak
Posts: 3
Joined: Mon, 2007-09-17, 17:21

#4 Post by aasayonak »

I see in dcmnet\libsrc\assoc.cxx:

Code: Select all

#define ASC_SOP_CLASS_EXTENDED_NEGOTIATION_ITEM_TYPE    0x56
While I am using 0x57 Item type, which is SOP_CLASS_COMMON_EXTENDED_NEGOTIATION.

Maybe that item type is not supported?? :idea:

Michael Onken
DCMTK Developer
Posts: 2051
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#5 Post by Michael Onken »

Correct, I am very sorry, at this time the SOP Class *COMMON* Extended Negotiation is *NOT* supported by DCMTK... :(

It is possible to integrate that, but there is not enough time for our DCMTK hobby at the moment to do all the things on our TODO/Wishlist list ;) If you like to contribute or order that, you are of course welcome :).

Regards,
Michael

Post Reply

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 1 guest