Reg 3003 (DIAMETER_REALM_NOT_SERVED) Result-Code.

2,293 views
Skip to first unread message

Vamshi Krishna

unread,
Nov 25, 2012, 10:08:11 AM11/25/12
to mobicent...@googlegroups.com
Dear All,

I am getting below exception while connecting and sending msgs.

25 20:30:17,147 INFO  ExampleServer - Initializing Stack...
2012-11-25 20:30:17,162 WARN  DictionaryImpl - Failed to initialize and configure Diameter Dictionary since configuration file was not found. Validator is disabled.
2012-11-25 20:30:17,162 INFO  ExampleServer - AVP Dictionary successfully parsed.
2012-11-25 20:30:17,252 INFO  StackImpl - (-)(-)(-)(-)(-) Starting Mobicents DIAMETER Stack v1.5.0-SNAPSHOT (-)(-)(-)(-)(-)
2012-11-25 20:30:17,387 INFO  StackImpl - (-)(-)(-)(-)(-) Started  Mobicents DIAMETER Stack v1.5.0-SNAPSHOT (-)(-)(-)(-)(-)
2012-11-25 20:30:17,387 INFO  ExampleServer - Stack Configuration successfully loaded.
2012-11-25 20:30:17,387 INFO  ExampleServer - Diameter Stack  :: Supporting 0 applications.
2012-11-25 20:30:17,387 INFO  ExampleServer - Starting stack
2012-11-25 20:30:17,432 INFO  NetworkGuard - Open server socket ServerSocket[addr=/127.0.0.1,localport=1812]
2012-11-25 20:30:17,432 INFO  ExampleServer - Stack is running.
2012-11-25 20:30:17,432 INFO  ExampleServer - Stack initialization successfully completed.
2012-11-25 20:30:24,373 INFO  NetworkGuard - Open incomming connection Socket[addr=/127.0.0.1,port=53212,localport=1812]
2012-11-25 20:30:28,479 INFO  TCPTransportClient - Read thread is stopped for socket [Socket[addr=localhost/127.0.0.1,port=1813,localport=53219]]
2012-11-25 20:30:29,376 WARN  PeerImpl - Received a request for an unrecognized realm: [exchange.example.org]. Answering with 3003 (DIAMETER_REALM_NOT_SERVED) Result-Code.
2012-11-25 20:30:29,381 WARN  RouterImpl - Could not find route info for Hop-by-Hop Id [940926065]. Table size is [0]

Enclosing the client config and server config for reference.

Can any of you suggest me what is the wrong configuration mistake i have done?





--
Thanks & Regards
VamshiKrishna,
9703056776

client-jdiameter-config.xml
server-jdiameter-config.xml

Alexandre Mendonça

unread,
Dec 6, 2012, 10:21:43 PM12/6/12
to mobicent...@googlegroups.com
Hi,

Check your server configuration.. 

    <Network>
        <Peers>
            <Peer name="aaa://localhost:1813" attempt_connect="true" rating="1"/>
        </Peers>
        <Realms>
            <Realm name ="abc" peers="localhost" local_action="LOCAL" dynamic="false" exp_time="1">
                <ApplicationID>
                     <VendorId value="193"/>
                     <AuthApplId value="0"/>
                     <AcctApplId value="19302"/>
                </ApplicationID>
            </Realm>
        </Realms>
    </Network>

You don't have the "exchange.example.org" realm defined, instead you have an "abc" realm. Fixing that should resolve the problem.

Regards,

--
Alexandre Mendonça // JBoss R&D
http://ammendonca.blogspot.com/

Alexandre Mendonça

unread,
Dec 10, 2012, 7:18:19 AM12/10/12
to Mobicents Public, Vamshi Krishna
Hi,

You seem to be looking for a message with command code 272 while ACR has a command code of 271, that's why it is not working.

Regards,

--
Alexandre Mendonça // JBoss R&D
http://ammendonca.blogspot.com/



On Fri, Dec 7, 2012 at 6:38 AM, Vamshi Krishna <vamshian...@gmail.com> wrote:
I solved this issue.

Thanks for your reply.

I am stuck at other place.I am trying out Offline Charging by looking into Online charging.

I am getting request as null to the server.

If you can help me in solving this issue that would be great.

I am enclosing the project plz along with the corresponding libs.Plz  have a look and let me know I am in correct path or not.

Vamshi Krishna

unread,
Dec 10, 2012, 8:01:13 AM12/10/12
to Alexandre Mendonça, Mobicents Public
Hi Alex,

Thanks for the reply.

Can you please tell me where exactly I can check that message?

Offline charging accepts ACR with 271 ?

Kindly show me the right direction...

Thanks,
Vamshi

Alexandre Mendonça

unread,
Dec 10, 2012, 8:15:31 AM12/10/12
to Mobicents Public
Hi,

If you see the Diameter Base RFC, it states that the command-code for ACR/ACA is 271. In your code, where you are processing the request, you are rejecting messages with command-code different than 272, which should be a mistake.

Regards,

--
Alexandre Mendonça // JBoss R&D
http://ammendonca.blogspot.com/



Reply all
Reply to author
Forward
0 new messages