<div dir="ltr"><div>Hi Team,</div><div><br></div><div> Getting error in auth modules during Kamalio 5.2 installation and doing SIP routing, anyone know this why i am getting below error..??</div><div><br></div><div>Please support..!!</div><div><br></div><div>Error Snapshot</div><div>========================================</div><div><br></div><div>(2807) ERROR: <core> [core/cfg.y:3370]: yyparse(): cfg. parser: failed to find command www_authorize (params 2)            </div> 0(2807) CRITICAL: <core> [core/cfg.y:3510]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 1081, column 48: unknown command, missing loadmodule?                                                                              <br>                                                                                                                             <br> 0(2807) ERROR: <core> [core/cfg.y:3370]: yyparse(): cfg. parser: failed to find command www_challenge (params 2)            <br> 0(2807) CRITICAL: <core> [core/cfg.y:3510]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 1082, column 29: unknown command, missing loadmodule?                                                                              <br>                                                                                                                             <br> 0(2807) ERROR: <core> [core/cfg.y:3370]: yyparse(): cfg. parser: failed to find command consume_credentials (params 0)      <br> 0(2807) CRITICAL: <core> [core/cfg.y:3510]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 1086, column 22: unknown command, missing loadmodule?                                                                              <br>                                                                                                                             <br> 0(2807) ERROR: <core> [core/cfg.y:3370]: yyparse(): cfg. parser: failed to find command proxy_authorize (params 2)          <br> 0(2807) CRITICAL: <core> [core/cfg.y:3510]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 1097, column 41: unknown command, missing loadmodule?                                                                              <br>                                                                                                                             <br> 0(2807) ERROR: <core> [core/cfg.y:3370]: yyparse(): cfg. parser: failed to find command proxy_challenge (params 2)          <br> 0(2807) CRITICAL: <core> [core/cfg.y:3510]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 1098, column 31: unknown command, missing loadmodule?                                                                              <br>                                                                                                                             <br> 0(2807) ERROR: <core> [core/cfg.y:3370]: yyparse(): cfg. parser: failed to find command consume_credentials (params 0)      <br><div> 0(2807) CRITICAL: <core> [core/cfg.y:3510]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 1102, column 22: unknown command, missing loadmodule?    <br></div><div><br></div><div><div><br></div><div>========================================</div><div><br></div><div><br></div><div>Commands in Kamalio.cfg <br></div><div><br></div><div>===================================================</div><div>

<p style="margin:0px;text-indent:0px;white-space:pre-wrap">route[2] {</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     # -----------------------------------------------------------------</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     # REGISTER Message Handler</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     # ----------------------------------------------------------------</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">  </p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     if (!www_authorize("192.168.1.67","subscriber")) { </p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">         www_challenge("$td","0");</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">         break;</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     };</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     consume_credentials();</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     if (!save("location")) { </p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">         sl_reply_error();</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     };</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">}</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">route[3] {</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     # -----------------------------------------------------------------</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     # INVITE Message Handler</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     # -----------------------------------------------------------------</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     if (!proxy_authorize("$fd","subscriber")) { </p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">         proxy_challenge("$fd","0");</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">         break;</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     };</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     consume_credentials();</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     # Forward to SDIN S3</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     rewritehostport("<a href="http://uk.sdin.bt.net:5060">uk.sdin.bt.net:5060</a>");</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     forward(<a href="http://uk.sdin.bt.net">uk.sdin.bt.net</a>,5060);</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     break;</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">}</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">route[4] {</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     # -----------------------------------------------------------------</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     # CANCEL or ACK Message Handler</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     # -----------------------------------------------------------------</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     # Forward to SDIN S3</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     </p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     rewritehostport("<a href="http://uk.sdin.bt.net:5060">uk.sdin.bt.net:5060</a>");</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     forward(<a href="http://uk.sdin.bt.net">uk.sdin.bt.net</a>,5060);</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">     break;</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">}</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">========================================================<br></p></div></div></div>