Hi,<div><br></div><div>we are encountering weird error with &quot;non existing right pvar&quot; - unexpectedly and we have already given up to debug it normally (calls are ended by Forbidden). We would like to adjust the code, to get the specific line of configuration file, where this occurs. Running kamailio with debug parameters is not acceptable, as we have too many calls and searching for the error would last some time ...</div>
<div><br></div><div>Could you somebody please help me to adjust this code (lvalue.c) , that could give us some additional information except for &quot;non existing right pvar&quot; thing in syslog? line of conf file, or simply the name of the variable assigned, value, etc. Thank you.</div>
<div><br></div><div><div>Error msg is generated on the line 351, and maybe 207, really don&#39;t know.</div><div><br></div><div>lvalue.c:207</div><div>                        }else{</div><div>                                /* non existing pvar */</div>
<div>                                /* on error, keep the type of the assigned avp, but</div><div>                                   reset it to an empty value */</div><div>                                AVP_ASSIGN_NOVAL();</div>
<div>                                ret=0;</div><div>                        }</div><div>                        break;</div></div><div><br></div><div><div><br></div><div>lvalue.c:351</div><div>                        }else{</div>
<div>                                ERR(&quot;non existing right pvar\n&quot;);</div><div>                                PVAR_ASSIGN_NOVAL();</div><div>                                ret=-1;</div><div>                        }</div>
<div>                        break;</div></div><div><br></div>