Hi Kurtis,

That should be enough to allow the devices to register, but you need to be sure (in your overall script) that your REGISTER requests do hit that piece of script.

Regards,

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

On 24.05.2014 03:58, Kurtis Heimerl wrote:
Hey Bogdan,

I'm trying to do the same thing as Pradeep and failing. I've added a user to the subscribers database, but I feel as though the default configuration doesn't support registrar behavior. In the standard debian package, this is the only line seemingly hinging on a REGISTER method:

        if (is_method("REGISTER"))
        {
                if (   0 ) setflag(TCP_PERSISTENT);
                if (!save("location"))
sl_reply_error();

       exit;
}

Is this sufficient routing for the instance to operate as a registrar?

Thanks!



On Fri, May 23, 2014 at 3:21 AM, Bogdan-Andrei Iancu <[email protected] <mailto:[email protected]>> wrote:

    Hi Pradeep,

    You can simply use the default script that comes with OpenSIPS -
    it has support for registration; if you need something more, check
    "make menuconfig" and get an auto-generated cfg from the
    Residential scenario. Check:
    http://www.opensips.org/Documentation/Tutorials-GettingStarted

    Regards,

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

    On 23.05.2014 01:06, Pradeep Patil wrote:
    Hi All,

    Hope everyone doing good.

    I am looking for building a new opensip Registrar server, need
    help in getting understanding does this works? If yes, what all I
    need as a basic requirement

    I have a global IP Phone or Avaya phone with SIP firmware.

    I want to build a open sip server, to which I can register the
    above phones as independent without using any Avaya/Cisco
    servers. Want to register 2 SIP phones and checking 1-1 calling.
    I am not sure if this going to work, please guide me or correct
    me If I am wrong.

    Thanks,
    Pradeep



    _______________________________________________
    Users mailing list
    [email protected]  <mailto:[email protected]>
    http://lists.opensips.org/cgi-bin/mailman/listinfo/users


    _______________________________________________
    Users mailing list
    [email protected] <mailto:[email protected]>
    http://lists.opensips.org/cgi-bin/mailman/listinfo/users




_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to