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]
>;privacy=off;reason=unconditional;counter=1,<sip:[email protected]>,<
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!

Reply via email to