Hi all,
I am trying to implement Diameter charging with Kamailio. I am following below tutorial https://www.kamailio.org/events/2016-KamailioWorld/Day2/15-Carsten.Bock-Diam...
But whenever I try to do the Ro_CCR from the INVITE block, Kamailio is crashing and generating the core dump. I am new to diameter. I might be doing something wrong here.
please someone help me here.
Please find the *diameter.xml* and *Diameter_core_dump_full_debug.txt* file.
diameter.xml http://sip-router.1086192.n5.nabble.com/file/t6374/diameter.xml Diameter_core_dump_full_Debug.txt http://sip-router.1086192.n5.nabble.com/file/t6374/Diameter_core_dump_full_Debug.txt
Here is my kamailio.cfg :
loadmodule "cdp" loadmodule "cdp_avp" loadmodule "ims_charging" loadmodule "ims_dialog"
modparam("cdp","config_file","/etc/kamailio/diameter.xml") modparam("cdp", "debug_heavy", 1) # ----- ims_diameter_ro params ----- #modparam("ims_charging", "single_ro_session_per_dialog", 1) modparam("ims_charging", "origin_host", "10.195.0.38"); modparam("ims_charging", "origin_realm", "10.195.0.38"); modparam("ims_charging", "destination_realm", "mydomain.com"); modparam("ims_charging","interim_update_credits",30); modparam("ims_charging","timer_buffer",5); # -- ims_dialog params -- modparam("ims_dialog", "dlg_flag", 8)
While starting the kamailio, i am getting following errors: Nov 11 11:40:03 ip-10-195-0-38 /usr/local/sbin/kamailio[25653]: ERROR: cdp [peerstatemachine.c:675]: add_peer_application(): Too many applications for this peer (max 0), not adding Application 4:0.
Before crashing kamailio showing following error:
Nov 11 11:39:49 ip-10-195-0-38 /usr/local/sbin/kamailio[25571]: INFO: {1 18325 INVITE Nf6-dl2WeXF.LJhXotiRsuMhijsNx45o} <script>: Entered into INVITE Block Nov 11 11:39:49 ip-10-195-0-38 /usr/local/sbin/kamailio[25571]: ERROR: {1 18325 INVITE Nf6-dl2WeXF.LJhXotiRsuMhijsNx45o} ims_dialog [dlg_handlers.c:264]: dlg_get_iuid_shm_clone(): ***** Requesting 8 Nov 11 11:39:49 ip-10-195-0-38 /usr/local/sbin/kamailio[25571]: CRITICAL: {1 18325 INVITE Nf6-dl2WeXF.LJhXotiRsuMhijsNx45o} <core> [core/mem/q_malloc.c:144]: qm_debug_check_frag(): BUG: qm: prev. fragm. tail overwritten(0, abcdefed)[0x7f467d438768:0x7f467d4387a0]! Memory allocator was called from cdp: diameter_avp.c:157. Fragment marked by cdp: peerstatemachine.c:602. Exec from core/mem/q_malloc.c:384. Nov 11 11:39:49 ip-10-195-0-38 /usr/local/sbin/kamailio[25599]: CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF on 16 Nov 11 11:39:52 ip-10-195-0-38 /usr/local/sbin/kamailio[25567]: ALERT: <core> [main.c:740]: handle_sigs(): child process 25571 exited by a signal 6 Nov 11 11:39:52 ip-10-195-0-38 /usr/local/sbin/kamailio[25567]: ALERT: <core> [main.c:743]: handle_sigs(): core was generated Nov 11 11:39:52 ip-10-195-0-38 /usr/local/sbin/kamailio[25567]: INFO: <core> [main.c:766]: handle_sigs(): terminating due to SIGCHLD
Thanks you in Advance, Venkey
-- Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html
Hello,
get the full backtrace with gdb from the core file -- it should reveal where the crash happened.
Also, it might be good to open an issue in bug tracker from github.com/kamailio/kamailio in order to track it properly.
Cheers, Daniel
On 11.11.18 12:52, Venkatesh Macha wrote:
Hi all,
I am trying to implement Diameter charging with Kamailio. I am following below tutorial https://www.kamailio.org/events/2016-KamailioWorld/Day2/15-Carsten.Bock-Diam...
But whenever I try to do the Ro_CCR from the INVITE block, Kamailio is crashing and generating the core dump. I am new to diameter. I might be doing something wrong here.
please someone help me here.
Please find the *diameter.xml* and *Diameter_core_dump_full_debug.txt* file.
diameter.xml http://sip-router.1086192.n5.nabble.com/file/t6374/diameter.xml Diameter_core_dump_full_Debug.txt http://sip-router.1086192.n5.nabble.com/file/t6374/Diameter_core_dump_full_Debug.txt
Here is my kamailio.cfg :
loadmodule "cdp" loadmodule "cdp_avp" loadmodule "ims_charging" loadmodule "ims_dialog"
modparam("cdp","config_file","/etc/kamailio/diameter.xml") modparam("cdp", "debug_heavy", 1) # ----- ims_diameter_ro params ----- #modparam("ims_charging", "single_ro_session_per_dialog", 1) modparam("ims_charging", "origin_host", "10.195.0.38"); modparam("ims_charging", "origin_realm", "10.195.0.38"); modparam("ims_charging", "destination_realm", "mydomain.com"); modparam("ims_charging","interim_update_credits",30); modparam("ims_charging","timer_buffer",5); # -- ims_dialog params -- modparam("ims_dialog", "dlg_flag", 8)
While starting the kamailio, i am getting following errors: Nov 11 11:40:03 ip-10-195-0-38 /usr/local/sbin/kamailio[25653]: ERROR: cdp [peerstatemachine.c:675]: add_peer_application(): Too many applications for this peer (max 0), not adding Application 4:0.
Before crashing kamailio showing following error:
Nov 11 11:39:49 ip-10-195-0-38 /usr/local/sbin/kamailio[25571]: INFO: {1 18325 INVITE Nf6-dl2WeXF.LJhXotiRsuMhijsNx45o} <script>: Entered into INVITE Block Nov 11 11:39:49 ip-10-195-0-38 /usr/local/sbin/kamailio[25571]: ERROR: {1 18325 INVITE Nf6-dl2WeXF.LJhXotiRsuMhijsNx45o} ims_dialog [dlg_handlers.c:264]: dlg_get_iuid_shm_clone(): ***** Requesting 8 Nov 11 11:39:49 ip-10-195-0-38 /usr/local/sbin/kamailio[25571]: CRITICAL: {1 18325 INVITE Nf6-dl2WeXF.LJhXotiRsuMhijsNx45o} <core> [core/mem/q_malloc.c:144]: qm_debug_check_frag(): BUG: qm: prev. fragm. tail overwritten(0, abcdefed)[0x7f467d438768:0x7f467d4387a0]! Memory allocator was called from cdp: diameter_avp.c:157. Fragment marked by cdp: peerstatemachine.c:602. Exec from core/mem/q_malloc.c:384. Nov 11 11:39:49 ip-10-195-0-38 /usr/local/sbin/kamailio[25599]: CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF on 16 Nov 11 11:39:52 ip-10-195-0-38 /usr/local/sbin/kamailio[25567]: ALERT: <core> [main.c:740]: handle_sigs(): child process 25571 exited by a signal 6 Nov 11 11:39:52 ip-10-195-0-38 /usr/local/sbin/kamailio[25567]: ALERT: <core> [main.c:743]: handle_sigs(): core was generated Nov 11 11:39:52 ip-10-195-0-38 /usr/local/sbin/kamailio[25567]: INFO: <core> [main.c:766]: handle_sigs(): terminating due to SIGCHLD
Thanks 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
Hello, We developed OCS based on these module in Kamailio: ims_charging, ims_ocs, ims_dimameter_server and worker process written in Q_HSS. We have not this issue. Are you sure ims_charging is connected to any ocs proccess like ims_ocs? Because CCR/CCA and other related message is transfered between them. With Regards. Mojtaba Esfandiari.S
On Mon, Nov 12, 2018 at 11:48 AM Daniel-Constantin Mierla miconda@gmail.com wrote:
Hello,
get the full backtrace with gdb from the core file -- it should reveal where the crash happened.
Also, it might be good to open an issue in bug tracker from github.com/kamailio/kamailio in order to track it properly.
Cheers, Daniel
On 11.11.18 12:52, Venkatesh Macha wrote:
Hi all,
I am trying to implement Diameter charging with Kamailio. I am following below tutorial https://www.kamailio.org/events/2016-KamailioWorld/Day2/15-Carsten.Bock-Diam...
But whenever I try to do the Ro_CCR from the INVITE block, Kamailio is crashing and generating the core dump. I am new to diameter. I might be doing something wrong here.
please someone help me here.
Please find the *diameter.xml* and *Diameter_core_dump_full_debug.txt* file.
diameter.xml http://sip-router.1086192.n5.nabble.com/file/t6374/diameter.xml Diameter_core_dump_full_Debug.txt http://sip-router.1086192.n5.nabble.com/file/t6374/Diameter_core_dump_full_Debug.txt
Here is my kamailio.cfg :
loadmodule "cdp" loadmodule "cdp_avp" loadmodule "ims_charging" loadmodule "ims_dialog"
modparam("cdp","config_file","/etc/kamailio/diameter.xml") modparam("cdp", "debug_heavy", 1) # ----- ims_diameter_ro params ----- #modparam("ims_charging", "single_ro_session_per_dialog", 1) modparam("ims_charging", "origin_host", "10.195.0.38"); modparam("ims_charging", "origin_realm", "10.195.0.38"); modparam("ims_charging", "destination_realm", "mydomain.com"); modparam("ims_charging","interim_update_credits",30); modparam("ims_charging","timer_buffer",5); # -- ims_dialog params -- modparam("ims_dialog", "dlg_flag", 8)
While starting the kamailio, i am getting following errors: Nov 11 11:40:03 ip-10-195-0-38 /usr/local/sbin/kamailio[25653]: ERROR: cdp [peerstatemachine.c:675]: add_peer_application(): Too many applications for this peer (max 0), not adding Application 4:0.
Before crashing kamailio showing following error:
Nov 11 11:39:49 ip-10-195-0-38 /usr/local/sbin/kamailio[25571]: INFO: {1 18325 INVITE Nf6-dl2WeXF.LJhXotiRsuMhijsNx45o} <script>: Entered into INVITE Block Nov 11 11:39:49 ip-10-195-0-38 /usr/local/sbin/kamailio[25571]: ERROR: {1 18325 INVITE Nf6-dl2WeXF.LJhXotiRsuMhijsNx45o} ims_dialog [dlg_handlers.c:264]: dlg_get_iuid_shm_clone(): ***** Requesting 8 Nov 11 11:39:49 ip-10-195-0-38 /usr/local/sbin/kamailio[25571]: CRITICAL: {1 18325 INVITE Nf6-dl2WeXF.LJhXotiRsuMhijsNx45o} <core> [core/mem/q_malloc.c:144]: qm_debug_check_frag(): BUG: qm: prev. fragm. tail overwritten(0, abcdefed)[0x7f467d438768:0x7f467d4387a0]! Memory allocator was called from cdp: diameter_avp.c:157. Fragment marked by cdp: peerstatemachine.c:602. Exec from core/mem/q_malloc.c:384. Nov 11 11:39:49 ip-10-195-0-38 /usr/local/sbin/kamailio[25599]: CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF on 16 Nov 11 11:39:52 ip-10-195-0-38 /usr/local/sbin/kamailio[25567]: ALERT: <core> [main.c:740]: handle_sigs(): child process 25571 exited by a signal 6 Nov 11 11:39:52 ip-10-195-0-38 /usr/local/sbin/kamailio[25567]: ALERT: <core> [main.c:743]: handle_sigs(): core was generated Nov 11 11:39:52 ip-10-195-0-38 /usr/local/sbin/kamailio[25567]: INFO: <core> [main.c:766]: handle_sigs(): terminating due to SIGCHLD
Thanks 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
-- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio World Conference -- www.kamailioworld.com Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hi,
Also, what version of Kamailio are you using?
Thanks, Carsten
Am Mo., 12. Nov. 2018, 09:50 hat Mojtaba mespio@gmail.com geschrieben:
Hello, We developed OCS based on these module in Kamailio: ims_charging, ims_ocs, ims_dimameter_server and worker process written in Q_HSS. We have not this issue. Are you sure ims_charging is connected to any ocs proccess like ims_ocs? Because CCR/CCA and other related message is transfered between them. With Regards. Mojtaba Esfandiari.S
On Mon, Nov 12, 2018 at 11:48 AM Daniel-Constantin Mierla miconda@gmail.com wrote:
Hello,
get the full backtrace with gdb from the core file -- it should reveal where the crash happened.
Also, it might be good to open an issue in bug tracker from github.com/kamailio/kamailio in order to track it properly.
Cheers, Daniel
On 11.11.18 12:52, Venkatesh Macha wrote:
Hi all,
I am trying to implement Diameter charging with Kamailio. I am
following
below tutorial
https://www.kamailio.org/events/2016-KamailioWorld/Day2/15-Carsten.Bock-Diam...
But whenever I try to do the Ro_CCR from the INVITE block, Kamailio is crashing and generating the core dump. I am new to diameter. I might be doing something wrong here.
please someone help me here.
Please find the *diameter.xml* and *Diameter_core_dump_full_debug.txt*
file.
diameter.xml http://sip-router.1086192.n5.nabble.com/file/t6374/diameter.xml Diameter_core_dump_full_Debug.txt <
http://sip-router.1086192.n5.nabble.com/file/t6374/Diameter_core_dump_full_D...
Here is my kamailio.cfg :
loadmodule "cdp" loadmodule "cdp_avp" loadmodule "ims_charging" loadmodule "ims_dialog"
modparam("cdp","config_file","/etc/kamailio/diameter.xml") modparam("cdp", "debug_heavy", 1) # ----- ims_diameter_ro params ----- #modparam("ims_charging", "single_ro_session_per_dialog", 1) modparam("ims_charging", "origin_host", "10.195.0.38"); modparam("ims_charging", "origin_realm", "10.195.0.38"); modparam("ims_charging", "destination_realm", "mydomain.com"); modparam("ims_charging","interim_update_credits",30); modparam("ims_charging","timer_buffer",5); # -- ims_dialog params -- modparam("ims_dialog", "dlg_flag", 8)
While starting the kamailio, i am getting following errors: Nov 11 11:40:03 ip-10-195-0-38 /usr/local/sbin/kamailio[25653]: ERROR:
cdp
[peerstatemachine.c:675]: add_peer_application(): Too many
applications for
this peer (max 0), not adding Application 4:0.
Before crashing kamailio showing following error:
Nov 11 11:39:49 ip-10-195-0-38 /usr/local/sbin/kamailio[25571]: INFO:
{1
18325 INVITE Nf6-dl2WeXF.LJhXotiRsuMhijsNx45o} <script>: Entered into
INVITE
Block Nov 11 11:39:49 ip-10-195-0-38 /usr/local/sbin/kamailio[25571]: ERROR:
{1
18325 INVITE Nf6-dl2WeXF.LJhXotiRsuMhijsNx45o} ims_dialog [dlg_handlers.c:264]: dlg_get_iuid_shm_clone(): ***** Requesting 8 Nov 11 11:39:49 ip-10-195-0-38 /usr/local/sbin/kamailio[25571]:
CRITICAL: {1
18325 INVITE Nf6-dl2WeXF.LJhXotiRsuMhijsNx45o} <core> [core/mem/q_malloc.c:144]: qm_debug_check_frag(): BUG: qm: prev.
fragm. tail
overwritten(0, abcdefed)[0x7f467d438768:0x7f467d4387a0]! Memory
allocator
was called from cdp: diameter_avp.c:157. Fragment marked by cdp: peerstatemachine.c:602. Exec from core/mem/q_malloc.c:384. Nov 11 11:39:49 ip-10-195-0-38 /usr/local/sbin/kamailio[25599]:
CRITICAL:
<core> [core/pass_fd.c:277]: receive_fd(): EOF on 16 Nov 11 11:39:52 ip-10-195-0-38 /usr/local/sbin/kamailio[25567]: ALERT: <core> [main.c:740]: handle_sigs(): child process 25571 exited by a
signal 6
Nov 11 11:39:52 ip-10-195-0-38 /usr/local/sbin/kamailio[25567]: ALERT: <core> [main.c:743]: handle_sigs(): core was generated Nov 11 11:39:52 ip-10-195-0-38 /usr/local/sbin/kamailio[25567]: INFO:
<core> > > [main.c:766]: handle_sigs(): terminating due to SIGCHLD > > > > Thanks 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 > > -- > Daniel-Constantin Mierla -- www.asipto.com > www.twitter.com/miconda -- www.linkedin.com/in/miconda > Kamailio World Conference -- www.kamailioworld.com > Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com > > > _______________________________________________ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- --Mojtaba Esfandiari.S
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
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.
<nabbleI'mhref="diameter.xml">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
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
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
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
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
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
Also add this in scscf.xml: <Peer FQDN="ocs.your-domain.com" Realm="your-domain.com" port="3868"/> On Wed, Nov 14, 2018 at 3:07 PM Mojtaba mespio@gmail.com wrote:
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
-- --Mojtaba Esfandiari.S