Re: SIP Diversion Problem

Henning Westerholt via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <AS8PR07MB810363021F08A5E937B3DDD7BF0FA@AS8PR07MB8103.eurprd07.prod.outlook.com>
Hello,

I think the general approach was discussed a lot already, but could you maybe share a backtrace of the crash that it could be analysed and possible fixed? Even if the code is wrong, it should not crash.

Here some pointer about the core dump/back trace: https://www.kamailio.org/wikidocs/tutorials/troubleshooting/coredumpfile/

Thanks,

Henning

From: ale Gural via sr-users <[email protected]>
Sent: Sonntag, 7. September 2025 16:35
To: Kamailio (SER) - Users Mailing List <[email protected]>
Cc: ale Gural <[email protected]>
Subject: [SR-Users] SIP Diversion Problem

Hello,
I am using version: kamailio 5.8.6
I try to send in  INVITE message the follow Diversion header,

 Diversion: "39988246 39988246" <sip:[email protected]<mailto:sip%[email protected]>>;privacy=off;reason=unconditional;counter=1,<sip:[email protected]<mailto:sip%[email protected]>>,<sip:[email protected]<mailto:sip%[email protected]>;user=phone>;privacy=off;reason=unconditional;counter=1
in my script code I need to separate every diversion Multibody wit the follow (example):

$var(i) = 0;

while($var(i) < $hflc(Diversion) ) {

              remove_hf("Diversion");
                $vn(new_div) = $(hfl(Diversion)[1]);
            $var(i) =  $var(i) +1;
         }

when  $var(i)  = 1,  the kamailio make restart with exit by signal 11


I appreciate your help!

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.