[OpenSIPS-Users] Mid-Registrar Capabilities

Nathan Baker bakern at gmail.com
Thu Oct 19 19:43:03 EDT 2017


Hello All,

I was hoping to get some insight on some capabilities of the relatively-new
mid-registrar module.  I'm not sure if this is the best place for that, but
I thought it might be a good place to start.  I'm hoping to use OpenSIPS as
an SBC for remote users to handle far end NAT, extra security, etc., and it
seems like mid-registrar would be ideal as part of that solution.  However,
if it isn't a requirement to take registration load off of the main
PBX/registrar, I'm not sure if it would be the best choice over just
proxying REGISTERS (such as in this suggestion
https://blog.opensips.org/2016/12/13/how-to-proxy-sip-registrations/), or
setting it up as a B2BUA (like this tutorial:
https://www.opensips.org/Documentation/Tutorials-B2BUA), which seems to be
the more frequently used implementation for an SBC for remote users.

In addition to the general usage scenarios, I have two specific questions
about the mid-registrar module:

1. Would the mid-registrar module be useful for handling
SUBSCRIBE/NOTIFY/PUBLISH messages between the remote user and the main
registrar?  Any examples I've found and the module documentation seem to
only cover registrations.

2. Is there a reason the mid-registrar can't store registrations in the
database to handle restarts or crashes better?  And if so, are there any
workarounds for this?  When I try to set:

  modparam("usrloc", "db_mode",   2)

I get the error message:

  ERROR:mid_registrar:mod_init: the 2.3 mid_registrar only works with
usrloc 'db_mode = 0'!

Any help would be greatly appreciated!

Thanks,
Nate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20171019/de590129/attachment.html>


More information about the Users mailing list