Comments (6)
Alternatively I could just copy the required AVP definitions over if you don't mind a little bit of duplication.
from go-diameter.
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.
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.
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.
That's probably an easier way of doing things as well.
dict.Default.load(...)
I'll document that as well
from go-diameter.
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)
- Missing DeleteAVP functionality HOT 1
- CCR
- how to avoid dict.Default
- Empty AVP Payload causes crash
- Dangling AVP references in readerBufferPool
- How to parse AVP sub attributes ?
- unmarshal issue when two avp's with same id but different VendorId used
- diam_sctp_client is crashing on connection
- Make certificates optional in ListenAndServeTLS to allow an external callback
- server closes the connection HOT 3
- Performance on sctp is very poor
- Any way to leverage the XML to validate produced messages?
- Missing Handshake Notifications in channel
- multi-homing HOT 1
- One Client dials to Multiple Server HOT 2
- Close listening socket
- Diameter Client receving CCA HOT 3
- CCA Handler HOT 1
- CER/CEA remote peer validation HOT 4
- Query to know release date for new tag v4.0.5 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-diameter.