Discussion:
[OpenSIPS-Users] reload tables with module uac_register
Joop Marijne
2013-04-17 07:14:41 UTC
Permalink
Hello All,

We are running opensips 1.9 in a test environment with mysql as database backend.

When I add an entry to to the registrant table, this account is not registering until I restart the whole opensips process. Is there a way to tell reload the module, or to tell it to reload the table?

kind regards,

Joop
Bogdan-Andrei Iancu
2013-04-17 10:59:58 UTC
Permalink
Hello Joop,

According to docs
(http://www.opensips.org/html/docs/modules/1.9.x/uac_registrant.html#id250444),
I see no MI reload command provided.

Maybe Ovidiu can provide more info here.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
Post by Joop Marijne
Hello All,
We are running opensips 1.9 in a test environment with mysql as database backend.
When I add an entry to to the registrant table, this account is not
registering until I restart the whole opensips process. Is there a way
to tell reload the module, or to tell it to reload the table?
kind regards,
Joop
_______________________________________________
Users mailing list
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Joop Marijne
2013-04-18 07:22:41 UTC
Permalink
Hi Bogdan,
Yes, I noticed this too,
what we are trying to implement is the following:
asterisk <--> opensips <--> pstn provider
The reason opensips is in between is that our pstn provider connect each of our clients with a sip registerer account.
Asterisk does support this offcourse, but it is only supported in the text-config, which requires a sip reload to activate.
Since we don't want to perform a sip-reload for every new client, we thought we'd handle this registration through opensips.
We set the binding url in the registrant table to the destination asterisk box, so that the invites go there.
This is all for inbound calls from pstn -> asterisk, outbound is done directly from asterisk ->pstn provider with the credentials of the register account
Maybe there is a simpler way to achieve this.
regards,
Joop


--------------------------------
Van: Bogdan-Andrei Iancu [mailto:***@opensips.org]
Verzonden: woensdag 17 april 2013 13:00
Aan: OpenSIPS users mailling list
CC: Joop Marijne
Onderwerp: Re: [OpenSIPS-Users] reload tables with module uac_register


Hello Joop,

According to docs (http://www.opensips.org/html/docs/modules/1.9.x/uac_registrant.html#id250444), I see no MI reload command provided.

Maybe Ovidiu can provide more info here.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com <http://www.opensips-solutions.com>
Ovidiu Sas
2013-04-18 13:28:01 UTC
Permalink
Hello,

The uac_registrant doesn't provide a way to reload the tables. It is
on the TODO list, I just need to find time to implement it.
In the mean time, you could use a separate instance of opensips only
for registrations. Proxy those registrations through your existing
opensips server and if you need to refresh the list of registrants,
you just restart the second instance of opensips that is registering.

Hope this helps,
-ovidiu
Post by Joop Marijne
Hi Bogdan,
Yes, I noticed this too,
asterisk <--> opensips <--> pstn provider
The reason opensips is in between is that our pstn provider connect each of
our clients with a sip registerer account.
Asterisk does support this offcourse, but it is only supported in the
text-config, which requires a sip reload to activate.
Since we don't want to perform a sip-reload for every new client, we thought
we'd handle this registration through opensips.
We set the binding url in the registrant table to the destination asterisk
box, so that the invites go there.
This is all for inbound calls from pstn -> asterisk, outbound is done
directly from asterisk ->pstn provider with the credentials of the register
account
Maybe there is a simpler way to achieve this.
regards,
Joop
________________________________
Verzonden: woensdag 17 april 2013 13:00
Aan: OpenSIPS users mailling list
CC: Joop Marijne
Onderwerp: Re: [OpenSIPS-Users] reload tables with module uac_register
Hello Joop,
According to docs
(http://www.opensips.org/html/docs/modules/1.9.x/uac_registrant.html#id250444),
I see no MI reload command provided.
Maybe Ovidiu can provide more info here.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
_______________________________________________
Users mailing list
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
VoIP Embedded, Inc.
http://www.voipembedded.com
Joop Marijne
2013-04-16 14:52:14 UTC
Permalink
Hello All,

We are running opensips 1.9 in a test environment with mysql as database backend.

When I add an entry to to the registrant table, this account is not registering
until I restart the whole opensips process. Is there a way to tell reload the module,
or to tell it to reload the table?


kind regards,

Joop
pavel@eremina.net
2013-04-22 09:30:15 UTC
Permalink
no way:(

may be in near future...?
Post by Joop Marijne
Hello All,
We are running opensips 1.9 in a test environment with mysql as database backend.
When I add an entry to to the registrant table, this account is not registering
until I restart the whole opensips process. Is there a way to tell reload the module,
or to tell it to reload the table?
kind regards,
Joop
_______________________________________________
Users mailing list
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Ovidiu Sas
2013-04-30 20:20:30 UTC
Permalink
I have added the reload functionality in trunk: reg_reload MI command.
Please test it and report any issues.

Regards,
Ovidiu Sas
Post by Joop Marijne
Hello All,
We are running opensips 1.9 in a test environment with mysql as database backend.
When I add an entry to to the registrant table, this account is not
registering until I restart the whole opensips process. Is there a way to
tell reload the module, or to tell it to reload the table?
kind regards,
Joop
_______________________________________________
Users mailing list
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
VoIP Embedded, Inc.
http://www.voipembedded.com
Loading...