Hello Cleiton,

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.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 04/17/2013 10:30 PM, Cleiton Diniz wrote:

tail -f /var/log/syslog

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?

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?

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?

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?

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?

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?

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?

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?

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?

Apr 17 16:27:45 OpenSips opensips: ERROR:core:main: bad config file (121 errors)

tail -f /var/log/messages

Apr 17 16:21:59 OpenSips /usr/local/sbin/opensips[12229]: INFO:core:sig_usr: signal 15 received

Apr 17 16:21:59 OpenSips /usr/local/sbin/opensips[12227]: INFO:core:sig_usr: signal 15 received

Apr 17 16:21:59 OpenSips /usr/local/sbin/opensips[12231]: INFO:core:sig_usr: signal 15 received

Apr 17 16:21:59 OpenSips /usr/local/sbin/opensips[12228]: INFO:core:sig_usr: signal 15 received

Apr 17 16:21:59 OpenSips /usr/local/sbin/opensips[12226]: INFO:core:sig_usr: signal 15 received

Apr 17 16:21:59 OpenSips /usr/local/sbin/opensips[12225]: INFO:core:cleanup: cleanup

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

Apr 17 16:25:53 OpenSips mpt-statusd: detected non-optimal RAID status

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

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

*De:*devel-boun...@lists.opensips.org [mailto:devel-boun...@lists.opensips.org] *Em nome de *Cleiton Diniz
*Enviada em:* quarta-feira, 17 de abril de 2013 15:50
*Para:* 'OpenSIPS devel mailling list'; 'Bogdan-Andrei Iancu'
*Cc:* 'OpenSIPS users mailling list'
*Assunto:* [OpenSIPS-Devel] RES: RES: opensips register

Create file

opensips_residential_2013-4-17_15:48:32.cfg

changed name to opensips.cfg and try to start OpenSIPS of error PIN

*De:*devel-boun...@lists.opensips.org <mailto:devel-boun...@lists.opensips.org> [mailto:devel-boun...@lists.opensips.org] *Em nome de *Cleiton Diniz
*Enviada em:* quarta-feira, 17 de abril de 2013 15:36
*Para:* 'Bogdan-Andrei Iancu'; 'OpenSIPS devel mailling list'
*Cc:* 'OpenSIPS users mailling list'
*Assunto:* [OpenSIPS-Devel] RES: opensips register

follow the steps using "osipsconfig"

that being accessed ---> OpenSIPS Generate Script -> Residential Script -> Configure Residential Script -> USE AUTH

added User

opensipsctl add 5050 12345

and yet I can log in and links to any User

*De:*Bogdan-Andrei Iancu [mailto:bog...@opensips.org]
*Enviada em:* quarta-feira, 17 de abril de 2013 13:26
*Para:* OpenSIPS devel mailling list
*Cc:* Cleiton Diniz; 'OpenSIPS users mailling list'
*Assunto:* Re: [OpenSIPS-Devel] opensips register

Hello Cleiton,

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.

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.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 04/17/2013 07:10 PM, Cleiton Diniz wrote:

Hello, I want to use OpenSIPS as sip server

how do I let users have access only allowed?

today I have OpenSIPS running 1.7 over any User can connect to it

Thank you.

_______________________________________________
Devel mailing list
Devel@lists.opensips.org  <mailto:Devel@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to