fiorix / go-diameter

Diameter stack and Base Protocol (RFC 6733) for the Go programming language
Other
252 stars 143 forks source link

Dictionary selection #151

Open nickel0 opened 3 years ago

nickel0 commented 3 years ago

Hi. The go-diameter defines several dictionaries (e.g. Gx, S6a, Swx…) and incorporate all of pre-defined dictionaries when it initializes. The application support status is exchanged between client and server in CER/CEA. In most cases a diameter client or server support limited applications and handlers. For example, HSS connecting to MME only needs to support S6a related handlers (e.g. AIR, and ULR). If the HSS informs that the HSS supports Gx, Swx or other non-supported applications, the MME misunderstands the HSS capabilities, which may lead unexpected failure. Is there any possible way to disable to include unnecessary dictionaries?

kor44 commented 3 years ago

I ran into this problem as well. And don't know how to solve

rrrangrej commented 2 years ago

I raised similar issue #162 we need to move away for dict.default when not needed like custom AVPS and allow our parser to be referred..and references to dict.default if parser is not supplied.