Questions tagged [free-diameter]

15 questions
5
votes
1 answer

How to configure and start diameter client and server for diameter credit control application using freediameter

Till now I have installed and run freediameter in linux centOS 5.8. CER and CEA messages are exchanged between client and server successfully. I am looking to embedded diameter credit control application in freediameter client and server. Client…
Sandeep Patel
  • 121
  • 1
  • 5
2
votes
0 answers

What is the difference between Diameter as a client and Diameter as a server?

Till now I have installed and run freediameter. CER and CEA messages are exchanged between client and server successfully. But I am unable to grasp what makes one of the instance run every time as "client" and the other as "server" since both the…
oldDoctor
  • 59
  • 2
  • 9
2
votes
3 answers

freeDiameter - Event-Timestamp

I just had one question about "Event-Timestamp" AVP. I know that i should put the epoch time in there, but i mainly concerned about its format, it is what i found in RFC so far: 8.21. Event-Timestamp AVP The Event-Timestamp (AVP Code 55) is of…
atari83
  • 489
  • 1
  • 5
  • 15
1
vote
1 answer

freediameter - No remaining suitable candidate to route the message

Well, I've started a simple project with freediameter library. what I need to achieve in my project is to create a client diameter application that could send some CCR request to a diameter server. for this matter, I tried to create a new extension…
atari83
  • 489
  • 1
  • 5
  • 15
0
votes
0 answers

Routing CxDx messages in FreeDiameter?

I am trying to send CxDx Messages from Kamailio(I-CSCF) to our HSS in production, the issue is that HSS accepts SCTP whilst the Kamailio Diameter module (CDP) only supports TCP (grrr)..... I came up with the great idea of using freeDiameter as a DRA…
0
votes
1 answer

freeDiameter based server cannot read received buffer

I have tried to set up a server with a specific IP address and Port number by freeDiameter libraries. In other side, there is a client that sends a string message via freeDiameter libraries successfully; I checked it out in Wireshark. So, here is…
0
votes
0 answers

Ty and Relay application id's in free diameter source code

In packet capture we can see Ty and Relay application ids in CEA. These seem to be hardcoded in free diameter source code. What will be the impact if we remove these.
0
votes
1 answer

freediameter - how to handle request messages outside of dispatch function

So, I've advertised for DCCA application in my extension via fd_disp_register and I can parse and prepare the response message and at the end sending them from my callback function with no issue. This always works if the answer message is prepared…
atari83
  • 489
  • 1
  • 5
  • 15
0
votes
1 answer

Specify freeDiameter source port

I'm getting started with freeDiameter. I have gone through docs over and over but didn't find any configuration variable to set the source port for when connection as a client. My goal is to connect to HSS which requires the source port of my…
ivcode
  • 235
  • 2
  • 14
0
votes
2 answers

FreeDiameter ULA/ULR messages

I try to connect my entity (as MME) with HSS by s6a interface. Connection (CER / CEA) is successful: there is report and configuration file for test_app in my cloud however after that I cannot obtain correct ULA: ULA screenshot I use test_app.fdx.…
0
votes
0 answers

freeradius request proxy to freediameter

I am looking to proxy EAP-SIM request from freeRADIUS to freeDiameter, the process involves: Set proxy on freeRADIUS (my status is requested is not being proxied) Set NAS on freeDiameter (due to lack of documentation I am not able to understand…
0
votes
1 answer

freeDiameter and multi threading

Well, I want to use freeDiameter with threads :) I need some advice on using the library in multi-threading environment. Let me review a use-case: Lets say I've implemented several member functions in a class to simply provide wrapper methods on…
atari83
  • 489
  • 1
  • 5
  • 15
0
votes
1 answer

freeDiameter - fd_sess_handler_create

I just had one question about "fd_sess_handler_create" function in freeDiameter library. Well, in test_app extension, there is a ta_cli_init function to initialize the client procedure, this block was compiled fine when the code was in C : int…
atari83
  • 489
  • 1
  • 5
  • 15
0
votes
1 answer

using C++ for developing freediameter extension

So, I'd like to use C++ for developing freediameter extension, The shared library is compiled and linked successfully, however when it is gonna be used by freediameter daemon, i receive this error: 01/16/17,00:04:59.215241 ERROR Unable to resolve…
atari83
  • 489
  • 1
  • 5
  • 15
-1
votes
1 answer

FreeRadius , How to exclude certain urls from accounting packet

I have many users doing Authentication + Accounting packet sent from Network Device [LNS] to freeradius server. in the accounting packet, client send's how much KB used in their current session. I have a limit for each user and this limit gets…