top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How does diameter peer connection and disconnection work ?

0 votes
461 views
How does diameter peer connection and disconnection work ?
posted Sep 9, 2014 by Neelam

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

Peers connect by exchanging Capability Exchange Request/Answer. Before this can happen, they have to set up a TCP (or SCTP) connection. One peer initiates the connection and the other 'accepts' it. First peer then sends CER (has information about its own identity and the applications supported by it). Responder sends back CEA (identity, set of common applications - or may be full list of its applications). But if the responder sees that they don't have any application in common, it sends CEA with a diameter error.

Peers are equal, so either side may initiate the connection. But in implementations, generally servers don't initiate the connections, they accept/reject.

Either side may disconnect sending Disconnect Peer Request (DPR). Other side responds with DPA.

There are finer details like simultaneous CER handling, error cases, vendor and security information in CER and rejection of DPR under some conditions.
rk

answer Sep 9, 2014 by Rathnakumar Kayyar
Similar Questions
+1 vote

I went through an article of diameter, it mentions " Diameter standard advises that a diameter node to maintain two connection primary and secondary connection". Diameter node uses first connection in normal conditions and go for second one if primary connection is abrupted or not available. How far it is correct and where it is used exactly ?

0 votes

I know Diameter client can re-transmit the request message until it receives the answer message.
But what about when a Diameter node has sent answer message to the last received request from its peer and that's is not received but its peer. In this case, from Diameter client node transaction is not completed since it did not receive answer message but from other node point of view it has responded with answer and transaction is completed.

+3 votes

Is there any standard way to create and maintain the peer table ?

...