[sr-dev] Kamailio crash on CANCEL/487

Alex Balashov abalashov at evaristesys.com
Wed Aug 26 20:34:40 CEST 2015


Daniel,

Thank you very much for the feedback.

My personal - untrained - interpretation of the call stack in the core 
dump suggests that this was probably the outcome of an attempt to pull a 
nonexistent or somehow corrupt PV and add it to the mqueue. Does that 
seem reasonable? My config does in fact do this. It does something like:

route[CDR_EVENT_FAIL] {
         $var(qnum) = core_hash("$ci", "", 2);

         mq_add("cdr_write$var(qnum)",
                "FAIL:$(ci{s.encode.base64}):$TV(Sn)",
                    "sip_code:$(rs{s.encode.base64});"
                    "sip_reason:$(rr{s.encode.base64})");
}

-- Alex

-- 
Alex Balashov | Principal | Evariste Systems LLC
303 Perimeter Center North, Suite 300
Atlanta, GA 30346
United States

Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-dev mailing list