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