Hi all,

 

I’m trying to upgrade from 3.2.9 to 3.2.11 and I’m facing issue with this new 
version.

 

I have a route where i used a parameter as input :

 

route[Q850enable]

{

        $var(Q850enableset) = $dlg_val(Q850enable);     

        if ($var(Q850enableset) == "1" || $avp(Q850enable) == "1")

        {

                append_to_reply("Reason: q.850;$param(1)\r\n");  

                xlog("L_INFO","$ci|Q850| Adding $param(1) cause code");

        }

}

 

When, I my script I call the route :

route(Q850enable,38);

 

Opensips generate this error and sometime segfault .

Mar  9 10:23:43 lbsip-rtpe-test opensips[570821]: ERROR:core:pv_printf: no more 
space for spec value [38][62347312]

Mar  9 10:23:43 lbsip-rtpe-test opensips[570821]: ERROR:core:pv_printf: buffer 
too small -- increase the buffer size from [4096]...

Mar  9 10:23:43 lbsip-rtpe-test opensips[570821]: ERROR:core:xlog_2: global 
print buffer too small, increase 'xlog_buf_size'

Mar  9 10:23:43 lbsip-rtpe-test opensips[570821]: ERROR:core:do_action: error 
while printing xlog message

Mar  9 10:23:43 lbsip-rtpe-test opensips[570821]: ERROR:core:pv_printf: no more 
space for spec value [14][62347312]

Mar  9 10:23:43 lbsip-rtpe-test opensips[570821]: ERROR:core:pv_printf: buffer 
too small -- increase 'pv_print_buf_size' from [20000]

Mar  9 10:23:43 lbsip-rtpe-test opensips[570821]: ERROR:core:get_cmd_fixups: 
Failed to print formatted string in param [1]

Mar  9 10:23:43 lbsip-rtpe-test opensips[570821]: ERROR:core:do_action: Failed 
to get fixups for command <append_to_reply> in /etc/opensips/opensips.cfg, line 
1308

Mar  9 10:23:43 lbsip-rtpe-test opensips[570821]: ERROR:core:pv_printf: no more 
space for spec value [38][62347312]

Mar  9 10:23:43 lbsip-rtpe-test opensips[570821]: ERROR:core:pv_printf: buffer 
too small -- increase the buffer size from [4096]...

Mar  9 10:23:43 lbsip-rtpe-test opensips[570821]: ERROR:core:xlog_2: global 
print buffer too small, increase 'xlog_buf_size'

Mar  9 10:23:43 lbsip-rtpe-test opensips[570821]: ERROR:core:do_action: error 
while printing xlog message

 

This code is working fine on 3.2.9 but not on 3.2.11, any idea ?

 

Thanks.

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to