Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

As a minimum requirement, I need Kamailio to accept any login with an empty password.

Ideally, I need to perform some simple validation of the login in a script (Lua/Python), and save the given login into a database.

I tried comprehending the documentation and kamailio.cfg, but looks like the docs go into details of specific functions and don't approach the whole picture. Probably the configuration needs understanding of SIP internals.

share|improve this question

closed as unclear what you're asking by Sven, mdpc, Ward, Tim Brigham, Rex Jan 13 '14 at 19:17

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

Wow, closed without a single comment. That's not helpful at all. – Victor Sergienko Jun 3 '15 at 8:16
up vote 1 down vote accepted

Just remove authorization sequence and it will allow any user or password.

If you need validation via database, use avp/db_auth.

 if (is_method("REGISTER"))
                sl_send_reply("100", "Trying");
                # authenticate the REGISTER requests (uncomment to enable auth)

                  if (!www_authorize("$td","cc_sip_buddies")) {
                          return 0;
                # handle registrations
                if ($au!=$tU)
                        sl_send_reply("403","Forbidden auth ID");
                        return 0;

If you expect do something with lua, consult lua docs.

Anyway you can't do anything without understanding how sip works.

share|improve this answer
Thanks a lot, undefining WITH_AUTH in kamailio.cfg worked. Somehow I recall this didn't help me before, but probably I just didn't test it properly. – Victor Sergienko Jan 4 '14 at 20:01

Not the answer you're looking for? Browse other questions tagged or ask your own question.