Coder Social home page Coder Social logo

Comments (6)

dwilkie avatar dwilkie commented on June 14, 2024

Alternatively I could just copy the required AVP definitions over if you don't mind a little bit of duplication.

from go-diameter.

fiorix avatar fiorix commented on June 14, 2024

There's no need for that. The dictionary parser is not a single dictionary. Those objects can load multiple diameter dictionaries altogether therefore when the message is parsed they're used to identify the application and their AVPs.

In this case what you want is to have the base dictionary and the CC dictionary loaded on the same object, which is later used to decode/encode messages.

Sent from the future

On May 8, 2014, at 4:41 AM, David Wilkie [email protected] wrote:

Alternatively I could just copy the required AVP definitions over if you don't mind a little bit of duplication.


Reply to this email directly or view it on GitHub.

from go-diameter.

dwilkie avatar dwilkie commented on June 14, 2024

Awesome. I documented how to load multiple dictionaries in my PR dwilkie@a1d5f12. When i't's merged in it should automatically close this issue.

from go-diameter.

fiorix avatar fiorix commented on June 14, 2024

Note that nothing prevents you from loading more dictionaries into the default parser before starting your clients and/or servers, e.g. dict.Default.Load(...)

On May 9, 2014, at 1:44 AM, David Wilkie [email protected] wrote:

Awesome. I documented how to load multiple dictionaries in my PR dwilkie/go-diameter@a1d5f12. When i't's merged in it should automatically close this issue.


Reply to this email directly or view it on GitHub.

from go-diameter.

dwilkie avatar dwilkie commented on June 14, 2024

That's probably an easier way of doing things as well.

dict.Default.load(...)

I'll document that as well

from go-diameter.

nsmosi avatar nsmosi commented on June 14, 2024

Gy Credit Control and Gx Credit-Control are having the same command code (272), so I tried to load Gx Credit control it is complaining about existing code:

Command: Credit-Control (CC) CODE: 272 cannot be added: index exists

While they are having different application-Id , don't know what to do ?

from go-diameter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.