Hi, The configuration of cfg files in scscf and ocs are default. but please new default route in tail of scscf.xml file, like this: <DefaultRoute FQDN="ocs.your-domain.com" metric="10"/> The FQDN is refer to IP of ims_ocs kamailio server. Be notice this FQDN must be add in your dns server. With Regards.Mojtaba On Tue, Nov 13, 2018 at 1:29 AM Venkatesh Macha linuxvenkey@gmail.com wrote:
Thank you for your reply.
Daniel,
Here is the full backtrace of Kamailio. Full_backtrace.txt http://sip-router.1086192.n5.nabble.com/file/t6374/Full_backtrace.txt
Carsten,
I am using the latest kamailio git master branch.
version: kamailio 5.3.0-dev0 (x86_64/linux) 37c2e5
Mojtaba,
I suspect I am doing some configuration related mistake, please have a look at my diameter.xml and could you please let me know if i am doing anything wrong.
diameter.xml http://sip-router.1086192.n5.nabble.com/file/t6374/diameter.xml
Here i'm trying to connect to the OCS server to query the balance units for user. I can see diameter connection is established, I can see it on logs and Wireshark (got DIAMETER_SUCCESS)
But while starting the Kamailio server i'm receiving few errors. Does those erros cause any problems.
Nov 12 18:03:50 ip-10-195-0-38 /usr/local/sbin/kamailio[30869]: INFO: cdp [peerstatemachine.c:524]: I_Snd_Conn_Req(): I_Snd_Conn_Req(): Peer 185.22X.XX.XX Nov 12 18:03:50 ip-10-195-0-38 /usr/local/sbin/kamailio[30869]: INFO: cdp [receiver.c:868]: peer_connect(): peer_connect(): Trying to connect to 185.22X.XX.XX port 38XX Nov 12 18:03:50 ip-10-195-0-38 /usr/local/sbin/kamailio[30869]: INFO: cdp [receiver.c:937]: peer_connect(): peer_connect(): Peer 185.22X.XX.XX:3870 connected Nov 12 18:03:50 ip-10-195-0-38 /usr/local/sbin/kamailio[30867]: ERROR: cdp [peerstatemachine.c:675]: add_peer_application(): Too many applications for this peer (max 0), not adding Application 4:0.
Please look at the kamailio_startup_messages.txt for full log.
kamailio_startup_messages.kamailio_startup_messages http://sip-router.1086192.n5.nabble.com/file/t6374/kamailio_startup_messages.kamailio_startup_messages
I am using AWS with Elastic IP and kamailio is behind the NAT. In my diameter.xml also kamilio Peer have public IP to bind.
Thank you in Advance, Venkey.
-- Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users