<div dir="ltr">Make sure your modules directory is correct. Make sure you notice the differences in both configs as far as directories are concerned. I presume this is the issue you are incurring. <div><pre class="" style="font-size:0.9em;font-family:'Lucida Console','Andale Mono','Courier New',Courier;margin-top:0px;margin-bottom:0px;padding:6px;border:1px solid rgb(235,235,235);background-color:rgb(251,254,250);color:rgb(102,102,102);line-height:21.593280792236328px">
#set module path
mpath="/lib/opensips/modules/"</pre></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 19, 2014 at 10:09 PM, <a href="mailto:toasterisk@gmail.com">toasterisk@gmail.com</a> <span dir="ltr"><<a href="mailto:toasterisk@gmail.com" target="_blank">toasterisk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<div><span></span>hello:</div><div>I used default cfg file, there is no error when startup. </div><div>But when i use the example cfg from this link :</div><div><span style="background-color:rgba(0,0,0,0)"></span><a href="http://www.opensips.org/Documentation/Tutorials-OpenSIPSAsteriskIntegration-1-8" style="font-size:10.5pt;line-height:1.5;background-color:window" target="_blank">http://www.opensips.org/Documentation/Tutorials-OpenSIPSAsteriskIntegration-1-8</a><span style="font-size:10.5pt;line-height:1.5;background-color:rgba(0,0,0,0)"> </span></div>
<div>I will get the errors.</div><span style="background-color:rgba(0,0,0,0)"></span>
<div><br></div><hr style="width:210px;min-height:1px" color="#b5c4df" size="1" align="left">
<div><span><font face="隶书"><b>Cheers!</b></font></span></div>
<blockquote style="margin-top:0px;margin-bottom:0px;margin-left:0.5em"><div> </div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT:8px;PADDING-LEFT:8px;FONT-SIZE:12px;FONT-FAMILY:tahoma;COLOR:#000000;BACKGROUND:#efefef;PADDING-BOTTOM:8px;PADDING-TOP:8px">
<div><b>发件人:</b> <a href="mailto:toasterisk@gmail.com" target="_blank">toasterisk@gmail.com</a></div><div><b>发送时间:</b> <a href="tel:2014-05-19%C2%A021" value="+12014051921" target="_blank">2014-05-19 21</a>:42</div><div><b>收件人:</b> <a href="mailto:users@lists.opensips.org" target="_blank">opensips</a></div>
<div><b>主题:</b> opensips failed during startup! Do i lost modules?</div></div></div><div><div class="h5"><div><div>
<div><span></span>hello, all of friends:</div><div>I try to compile with this link for my opensips and asterisk:</div><div><span style="background-color:rgba(0,0,0,0)"></span><a href="http://www.opensips.org/Documentation/Tutorials-OpenSIPSAsteriskIntegration" style="font-size:10.5pt;line-height:1.5;background-color:window" target="_blank">http://www.opensips.org/Documentation/Tutorials-OpenSIPSAsteriskIntegration</a><span style="font-size:10.5pt;line-height:1.5;background-color:rgba(0,0,0,0)"> </span></div>
<div>I compile the opensip by make all, it should compiled all modules.</div><div>but i use the example opensips.cfg from the link, when start the opensips, the system logs show </div><div>there are many error with modules:</div>
<div>====================errors==================================================</div><span style="background-color:rgba(0,0,0,0)">May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found
<br>May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in config file /usr/local/etc/opensips/opensips.cfg, line 113, column 20-21: unknown command <is_method>, missing loadmodule?
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found
<br>May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in config file /usr/local/etc/opensips/opensips.cfg, line 116, column 27-28: unknown command <is_method>, missing loadmodule?
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <record_route>(0) in module rr [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found
<br>May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in config file /usr/local/etc/opensips/opensips.cfg, line 126, column 21-22: unknown command <is_method>, missing loadmodule?
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_check_trans>(0) in module tm [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_relay>(0) in module tm [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <send_reply>(2) in module signaling [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found
<br>May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in config file /usr/local/etc/opensips/opensips.cfg, line 146, column 18-19: unknown command <is_method>, missing loadmodule?
<br></span><span style="background-color:rgba(0,0,0,0)">May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <append_hf> not found
<br>May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in config file /usr/local/etc/opensips/opensips.cfg, line 190, column 19-20: unknown command <append_hf>, missing loadmodule?
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found
<br>May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in config file /usr/local/etc/opensips/opensips.cfg, line 196, column 18-19: unknown command <is_method>, missing loadmodule?
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <www_authorize>(2) in module auth_db [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <www_challenge>(2) in module auth [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <check_to>(0) in module uri [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <send_reply>(2) in module signaling [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <save>(1) in module registrar [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <sl_reply_error>(0) in module sl [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <send_reply>(2) in module signaling [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <is_from_local>(0) in module domain [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <send_reply>(2) in module signaling [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_relay>(0) in module tm [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <lookup>(1) in module registrar [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_on_failure>(1) in module tm [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_relay>(0) in module tm [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <sl_reply_error>(0) in module sl [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_was_cancelled>(0) in module tm [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_check_status>(1) in module tm [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_relay>(0) in module tm [/usr/local/lib/opensips/modules/]
<br></span><div><span style="background-color:rgba(0,0,0,0);font-size:10.5pt;line-height:1.5">May 19 21:17:16 opensips-1 opensips: ERROR:core:main: bad config file (17 errors)</span> </div><div>------------------------------------------------------</div>
<div>Does anyone know this problem? please give me the hit.</div><div>Thanks!</div><span style="background-color:rgba(0,0,0,0)"></span>
<div><br></div><hr style="width:210px;min-height:1px" color="#b5c4df" size="1" align="left">
<div><span><font face="隶书"><b>Cheers!</b></font></span></div>
</div></div></div></div></blockquote>
</div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>