Subject: [Dime] Diameter request routing clarification needed

From: Iliya Peregoudov <[email-masked]>
Date: Wed, 04 Jun 2014 14:38:55 +0400

Hello all,

I need clarification about Diameter request routing.
Consider the use-case:

host: pcef, realm: example.com
   |      A
   |CCR   |RAR
   V      |
host: relay, realm: example.com
   |      A
   |CCR   |RAR
   V      |
host: ocs, realm: example.com

RFC6733 says that request routing should be controlled by routing table.

Host `ocs' has to consume CCR requests to realm example.com of 
application 4, so it should have route

   (example.com, 4) -> (LOCAL)

Host `ocs' also has to send locally generated RAR requests to realm 
example.com of application 4, so it should have route

   (example.com, 4) -> (RELAY, relay)

How `ocs' host should operate to select correct route?

Does it mean that Diameter host should maintain two routing tables, one 
for handling of incoming requests, and one another for handling locally 
generated requests?

Thank you in advance.

Iliya Peregoudov
Software engineer, CBOSS Group