<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:LHNFKE+ArialMT;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-ZA link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>It seems this happens when we try to set the auth_count back to 0 after a successful registration is the following line:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>$sht(a=>$au::auth_count) = 0;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><b><span style='font-family:"Arial","sans-serif";color:#E22230'>Nick Raper</span></b><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:#9D9D9D'>Voice Engineer</span><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:#9D9D9D'>T +27 (0) 21 710 8400<br>C +27 (0) 82 777 0855<br><br></span><b><span style='font-size:8.5pt;font-family:"Arial","sans-serif";color:#E22230'><o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:8.5pt;font-family:"Arial","sans-serif";color:#E22230'><a href="http://www.hymax.co.za/">hymax.co.za</a></span></b><span style='font-size:7.0pt;font-family:LHNFKE+ArialMT;color:black'> </span><span lang=EN-GB style='font-size:7.0pt;font-family:LHNFKE+ArialMT;color:black'><o:p></o:p></span></p><p class=MsoNormal><a href="http://www.hymax.co.za/"><span style='color:#1F497D;mso-fareast-language:EN-ZA;text-decoration:none'><img border=0 width=543 height=101 id="_x0000_i1028" src="cid:image001.jpg@01CF475C.3DCD6CF0" alt="cid:image001.jpg@01CF3399.D9DDFA50"></span></a><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D;mso-fareast-language:EN-ZA'><img border=0 width=542 height=1 id="_x0000_i1027" src="cid:image002.png@01CF475C.3DCD6CF0" alt="cid:image006.png@01CF339B.A5608F70"></span><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='text-align:justify;text-autospace:none'><span style='font-size:4.0pt;color:#1F497D;mso-fareast-language:EN-ZA'><o:p> </o:p></span></p><p class=MsoNormal style='text-align:justify;text-autospace:none'><span lang=EN-GB style='font-size:7.0pt;font-family:LHNFKE+ArialMT;color:black'>This e-mail and any attached files are intended for the named addressee only. It contains information which may be confidential and <o:p></o:p></span></p><p class=MsoNormal style='text-align:justify;text-autospace:none'><span lang=EN-GB style='font-size:7.0pt;font-family:LHNFKE+ArialMT;color:black'>legally privileged and also protected by copyright. Unless you are the named addressee (or authorized to receive for the addressee)<o:p></o:p></span></p><p class=MsoNormal style='text-align:justify;text-autospace:none'><span lang=EN-GB style='font-size:7.0pt;font-family:LHNFKE+ArialMT;color:black'>you may not copy or use it, or disclose it to anyone else. If you received it in error please notify the sender immediately and then<o:p></o:p></span></p><p class=MsoNormal style='text-align:justify;text-autospace:none'><span lang=EN-GB style='font-size:7.0pt;font-family:LHNFKE+ArialMT;color:black'>delete it from your system. We make every effort to keep our network free from viruses. However you do need to check this<o:p></o:p></span></p><p class=MsoNormal style='text-align:justify;text-autospace:none'><span lang=EN-GB style='font-size:7.0pt;font-family:LHNFKE+ArialMT;color:black'>e-mail and any attachments to it for viruses, as we can take no responsibility for any computer virus which may be transferred <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:7.0pt;font-family:LHNFKE+ArialMT;color:#1F497D'>by way of this e-mail.</span><span style='color:#1F497D;mso-fareast-language:EN-ZA'><o:p></o:p></span></p></div><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-ZA'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-ZA'> Nick Raper [mailto:nick.raper@hymax.co.za] <br><b>Sent:</b> 24 March 2014 11:57 AM<br><b>To:</b> 'sr-users-bounces@lists.sip-router.org'<br><b>Subject:</b> Registration error setting pvar<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Can anyone assist with troubleshooting this error? It happens on client REGISTER requestes. The registration is successful but we get the following errors:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>10(2994) ERROR: <core> [lvalue.c:363]: lval_pvar_assign(): setting pvar failed<o:p></o:p></p><p class=MsoNormal>10(2994) ERROR: <core> [lvalue.c:416]: lval_assign(): assignment failed at pos: (1075,31-1075,31)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>version: kamailio 4.1.2 (i386/linux) 6fa599<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am using a modified script and DB from version 3.2.1 as we are looking at upgrading our current live servers to ver 4.1.2.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have attached a full debug log of the register.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Regards,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b><span style='font-family:"Arial","sans-serif";color:#E22230'>Nick Raper</span></b><o:p></o:p></p><p class=MsoNormal><span style='font-family:"Helvetica","sans-serif";color:#9D9D9D'>Voice Engineer</span><o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:"Helvetica","sans-serif";color:#9D9D9D'>T +27 (0) 21 710 8400<br>C +27 (0) 82 777 0855</span><b><span style='font-size:8.5pt;font-family:"Arial","sans-serif";color:#E22230'><o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:8.5pt;font-family:"Arial","sans-serif";color:#E22230'><a href="http://www.hymax.co.za/">hymax.co.za</a></span></b><span style='font-size:7.0pt;font-family:LHNFKE+ArialMT;color:black'> </span><span lang=EN-GB style='font-size:7.0pt;font-family:LHNFKE+ArialMT;color:black'><o:p></o:p></span></p><p class=MsoNormal><a href="http://www.hymax.co.za/"><span style='color:windowtext;mso-fareast-language:EN-ZA;text-decoration:none'><img border=0 width=543 height=101 id="Picture_x0020_2" src="cid:image001.jpg@01CF475C.3DCD6CF0" alt="cid:image001.jpg@01CF3399.D9DDFA50"></span></a><o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-ZA'><img border=0 width=542 height=1 id="Picture_x0020_3" src="cid:image002.png@01CF475C.3DCD6CF0" alt="cid:image006.png@01CF339B.A5608F70"></span><o:p></o:p></p><p class=MsoNormal style='text-align:justify;text-autospace:none'><span style='font-size:4.0pt;mso-fareast-language:EN-ZA'><o:p> </o:p></span></p><p class=MsoNormal style='text-align:justify;text-autospace:none'><span lang=EN-GB style='font-size:7.0pt;font-family:LHNFKE+ArialMT;color:black'>This e-mail and any attached files are intended for the named addressee only. It contains information which may be confidential and <o:p></o:p></span></p><p class=MsoNormal style='text-align:justify;text-autospace:none'><span lang=EN-GB style='font-size:7.0pt;font-family:LHNFKE+ArialMT;color:black'>legally privileged and also protected by copyright. Unless you are the named addressee (or authorized to receive for the addressee)<o:p></o:p></span></p><p class=MsoNormal style='text-align:justify;text-autospace:none'><span lang=EN-GB style='font-size:7.0pt;font-family:LHNFKE+ArialMT;color:black'>you may not copy or use it, or disclose it to anyone else. If you received it in error please notify the sender immediately and then<o:p></o:p></span></p><p class=MsoNormal style='text-align:justify;text-autospace:none'><span lang=EN-GB style='font-size:7.0pt;font-family:LHNFKE+ArialMT;color:black'>delete it from your system. We make every effort to keep our network free from viruses. However you do need to check this<o:p></o:p></span></p><p class=MsoNormal style='text-align:justify;text-autospace:none'><span lang=EN-GB style='font-size:7.0pt;font-family:LHNFKE+ArialMT;color:black'>e-mail and any attachments to it for viruses, as we can take no responsibility for any computer virus which may be transferred <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:7.0pt;font-family:LHNFKE+ArialMT'>by way of this e-mail.</span><span style='mso-fareast-language:EN-ZA'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>