Comments (5)
I suggest that you comment out the following line in the client.go:
diam.NewAVP(avp.AcctApplicationID, avp.Mbit, 0, datatype.Unsigned32(4)), // RFC 4006
This example is obsolete since Credit Control application has type "auth" and this line adds application id with type "acct". go-diameter does not support application with id = 4 and type = acct.
There is still an issue with error message here, client is adding application that he does not support. However if you want to send out what is supported by the dictionary it will be fine.
from go-diameter.
You may also want to replace the following line:
<application id="999">
with
<application id="999" type="acct">
to make sure that server and client are on the same page.
More strict dictionary verification was introduced a couple of days ago, hence examples aren't up to date.
from go-diameter.
See here for changes that will get examples to work #62
from go-diameter.
Your fix works for me. Thanks for the quick patch!
from go-diameter.
Yeah no more hacks, #62 was just merged in. Thanks guys.
from go-diameter.
Related Issues (20)
- 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
- High response load HOT 1
- High response load #2 HOT 1
- SGSN-Address decode via Struct
- Event-Timestamp
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.