pydicom / pynetdicom

A Python implementation of the DICOM networking protocol
https://pydicom.github.io/pynetdicom
MIT License
510 stars 180 forks source link

Presentation Context ID limit 255 #118

Closed jkri123 closed 6 years ago

jkri123 commented 6 years ago

I try to build general SCP to serve more service classes (Storage, Find, Get, Move). Something like a PACS communication. But there is a Presentation Context number limit for an AET. The maximum number presentation contexts for one AET is 126. I thing this limitation for SCP should be removed, because it serve as association acceptor and chooses valid p. context from the requestor message. If the requestor message follow the rule, there wouldn't be problem with context IDs in the answer.

scaramallion commented 6 years ago

Hmm, yes. I agree.

I'll add it to the list of things to do for the PresentationContextManager refactor.

scaramallion commented 6 years ago

The limit on the number of supported presentation contexts for SCPs has been removed.