<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Hello Cleiton,<br>
<br>
It seems the modules are not loaded (so exported functions not
found in script) - check the mpath variable you in script to match
the location where your OpenSIPS modules were installed.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 04/17/2013 10:30 PM, Cleiton Diniz wrote:
<blockquote
cite="mid:003401ce3ba2$0de9f420$29bddc60$@cleitond.com.br"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@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:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"Pré-formatação HTML Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texto de balão Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.Pr-formataoHTMLChar
        {mso-style-name:"Pré-formatação HTML Char";
        mso-style-priority:99;
        mso-style-link:"Pré-formatação HTML";
        font-family:Consolas;
        color:black;}
span.TextodebaloChar
        {mso-style-name:"Texto de balão Char";
        mso-style-priority:99;
        mso-style-link:"Texto de balão";
        font-family:"Tahoma","sans-serif";
        color:black;}
span.EstiloDeEmail22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EstiloDeEmail23
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EstiloDeEmail24
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EstiloDeEmail25
        {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:70.85pt 3.0cm 70.85pt 3.0cm;}
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]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">tail -f /var/log/syslog<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">Apr 17 16:27:45 OpenSips opensips:
CRITICAL:core:yyerror: parse error in config file
/usr/local/etc/opensips/opensips.cfg, line 364, column
16-17: unknown command <t_on_reply>, missing
loadmodule?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">Apr 17 16:27:45 OpenSips opensips:
CRITICAL:core:yyerror: parse error in config file
/usr/local/etc/opensips/opensips.cfg, line 365, column
18-19: unknown command <t_on_failure>, missing
loadmodule?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">Apr 17 16:27:45 OpenSips opensips:
CRITICAL:core:yyerror: parse error in config file
/usr/local/etc/opensips/opensips.cfg, line 369, column
18-19: unknown command <add_rr_param>, missing
loadmodule?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">Apr 17 16:27:45 OpenSips opensips:
CRITICAL:core:yyerror: parse error in config file
/usr/local/etc/opensips/opensips.cfg, line 372, column
15-16: unknown command <t_relay>, missing loadmodule?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">Apr 17 16:27:45 OpenSips opensips:
CRITICAL:core:yyerror: parse error in config file
/usr/local/etc/opensips/opensips.cfg, line 373, column
19-20: unknown command <send_reply>, missing
loadmodule?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">Apr 17 16:27:45 OpenSips opensips:
CRITICAL:core:yyerror: parse error in config file
/usr/local/etc/opensips/opensips.cfg, line 387, column
21-22: unknown command <nat_uac_test>, missing
loadmodule?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">Apr 17 16:27:45 OpenSips opensips:
CRITICAL:core:yyerror: parse error in config file
/usr/local/etc/opensips/opensips.cfg, line 388, column
21-22: unknown command <fix_nated_contact>, missing
loadmodule?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">Apr 17 16:27:45 OpenSips opensips:
CRITICAL:core:yyerror: parse error in config file
/usr/local/etc/opensips/opensips.cfg, line 390, column
21-22: unknown command <rtpproxy_answer>, missing
loadmodule?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">Apr 17 16:27:45 OpenSips opensips:
CRITICAL:core:yyerror: parse error in config file
/usr/local/etc/opensips/opensips.cfg, line 396, column
22-23: unknown command <t_was_cancelled>, missing
loadmodule?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">Apr 17 16:27:45 OpenSips opensips:
ERROR:core:main: bad config file (121 errors)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">tail -f /var/log/messages<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">Apr 17 16:21:59 OpenSips
/usr/local/sbin/opensips[12229]: INFO:core:sig_usr: signal
15 received<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">Apr 17 16:21:59 OpenSips
/usr/local/sbin/opensips[12227]: INFO:core:sig_usr: signal
15 received<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">Apr 17 16:21:59 OpenSips
/usr/local/sbin/opensips[12231]: INFO:core:sig_usr: signal
15 received<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">Apr 17 16:21:59 OpenSips
/usr/local/sbin/opensips[12228]: INFO:core:sig_usr: signal
15 received<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">Apr 17 16:21:59 OpenSips
/usr/local/sbin/opensips[12226]: INFO:core:sig_usr: signal
15 received<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">Apr 17 16:21:59 OpenSips
/usr/local/sbin/opensips[12225]: INFO:core:cleanup: cleanup<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">Apr 17 16:22:21 OpenSips opensips:
WARNING:core:warn: warning in config file
/usr/local/etc/opensips/opensips.cfg, line 50, column 13-16:
tls support not compiled in<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">Apr 17 16:25:53 OpenSips
mpt-statusd: detected non-optimal RAID status<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">Apr 17 16:26:52 OpenSips opensips:
WARNING:core:warn: warning in config file
/usr/local/etc/opensips/opensips.cfg, line 50, column 13-16:
tls support not compiled in<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">Apr 17 16:27:45 OpenSips opensips:
WARNING:core:warn: warning in config file
/usr/local/etc/opensips/opensips.cfg, line 50, column 13-16:
tls support not compile<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border-right: medium none; border-width: 1pt
medium medium; border-style: solid none none; border-color:
rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color;
padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span style="font-size: 10pt;
font-family:
"Tahoma","sans-serif"; color:
windowtext;">De:</span></b><span style="font-size:
10pt; font-family:
"Tahoma","sans-serif"; color:
windowtext;"> <a class="moz-txt-link-abbreviated" href="mailto:devel-bounces@lists.opensips.org">devel-bounces@lists.opensips.org</a>
[<a class="moz-txt-link-freetext" href="mailto:devel-bounces@lists.opensips.org">mailto:devel-bounces@lists.opensips.org</a>] <b>Em nome de
</b>Cleiton Diniz<br>
<b>Enviada em:</b> quarta-feira, 17 de abril de 2013
15:50<br>
<b>Para:</b> 'OpenSIPS devel mailling list';
'Bogdan-Andrei Iancu'<br>
<b>Cc:</b> 'OpenSIPS users mailling list'<br>
<b>Assunto:</b> [OpenSIPS-Devel] RES: RES: opensips
register<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">Create file<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">opensips_residential_2013-4-17_15:48:32.cfg<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">changed name to opensips.cfg and try
to start OpenSIPS of error PIN<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border-right: medium none; border-width: 1pt
medium medium; border-style: solid none none; border-color:
rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color;
padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span style="font-size: 10pt;
font-family:
"Tahoma","sans-serif"; color:
windowtext;">De:</span></b><span style="font-size:
10pt; font-family:
"Tahoma","sans-serif"; color:
windowtext;"> <a moz-do-not-send="true"
href="mailto:devel-bounces@lists.opensips.org">devel-bounces@lists.opensips.org</a>
[<a moz-do-not-send="true"
href="mailto:devel-bounces@lists.opensips.org">mailto:devel-bounces@lists.opensips.org</a>]
<b>Em nome de </b>Cleiton Diniz<br>
<b>Enviada em:</b> quarta-feira, 17 de abril de 2013
15:36<br>
<b>Para:</b> 'Bogdan-Andrei Iancu'; 'OpenSIPS devel
mailling list'<br>
<b>Cc:</b> 'OpenSIPS users mailling list'<br>
<b>Assunto:</b> [OpenSIPS-Devel] RES: opensips register<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">follow the steps using "osipsconfig"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">that being accessed ---> OpenSIPS
Generate Script -> Residential Script -> Configure
Residential Script -> USE AUTH<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">added User<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">opensipsctl add 5050 12345<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US">and yet I can log in and links to
any User<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);" lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border-right: medium none; border-width: 1pt
medium medium; border-style: solid none none; border-color:
rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color;
padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span style="font-size: 10pt;
font-family:
"Tahoma","sans-serif"; color:
windowtext;">De:</span></b><span style="font-size:
10pt; font-family:
"Tahoma","sans-serif"; color:
windowtext;"> Bogdan-Andrei Iancu [<a
moz-do-not-send="true"
href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a>]
<br>
<b>Enviada em:</b> quarta-feira, 17 de abril de 2013
13:26<br>
<b>Para:</b> OpenSIPS devel mailling list<br>
<b>Cc:</b> Cleiton Diniz; 'OpenSIPS users mailling list'<br>
<b>Assunto:</b> Re: [OpenSIPS-Devel] opensips register<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom: 12pt;"><tt><span
style="font-size: 10pt;">Hello Cleiton,</span></tt><span
style="font-size: 10pt; font-family: "Courier
New";"><br>
<br>
<tt>To control what users are allowed to registered in, you
need to use authentication - to put your users in the
"subscriber" table (you need to create the opensips DB
with opensipsdbctl) - adding can be done with "opensipsctl
add " tool.</tt><br>
<br>
<tt>In your config, enable authentication for REGISTERs and
calls - user "make menuconfig" or "osipsconfig" to
generate a "residential" script with "authentication"
support - this is available only starting with 1.8
version.</tt><br>
<br>
<tt>Regards,</tt></span><o:p></o:p></p>
<pre>Bogdan-Andrei Iancu<o:p></o:p></pre>
<pre>OpenSIPS Founder and Developer<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><o:p></o:p></pre>
<p class="MsoNormal"><br>
On 04/17/2013 07:10 PM, Cleiton Diniz wrote: <o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">Hello, I want to use OpenSIPS as sip server</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">how do I let users have access only allowed?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US">today I have OpenSIPS running 1.7 over any
User can connect to it</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Thank
you.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span><o:p></o:p></p>
</div>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Devel mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:Devel@lists.opensips.org">Devel@lists.opensips.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a><o:p></o:p></pre>
</div>
</blockquote>
</body>
</html>