[OpenSIPS-Users] TextDB and Registrant issues
Kurtis Heimerl
kheimerl at endaga.com
Sat May 31 03:23:41 CEST 2014
Hey List,
Here's my current conundrum:
I have opensips running with textdb pointed
at /usr/local/etc/opensips/dbtext. I've enabled the uac_registrant module
and pointed it at the same directory (though it should be noted that this
was done manually, as it wouldn't use the default for some reason).
I've put a registrant into the db:
sudo opensipsctl db show registrant
[1, 'sip:sip.DOMAIN.com', '', 'sip:NAME at sip.DOMAIN.com', '', 'NAME',
'PASSWORD', 'sip:opensips at localhost', '', 600, '']
However, the uac_registrant module doesn't seem to read this:
sudo opensipsctl fifo reg_reload
May 31 01:20:27 ip-172-31-27-53 /usr/sbin/opensips[6034]:
INFO:uac_registrant:load_reg_info_from_db: loading [0] records from db
This is actually confirmed by actually going through the textdb itself,
there's nothing in the registrant table!
cat dbtext/registrant
id(int,auto) registrar(string) proxy(string,null) aor(string)
third_party_registrant(string,null) username(string,null)
password(string,null) binding_URI(string) binding_params(string,null)
expiry(int,null) forced_socket(string,null)
What's going on here? I've double checked that they are reading from the
same db, and they should be, unless there's another one somewhere that's
outside of configuration? The log seems to think it's fine:
May 30 22:00:28 ip-172-31-27-53 /usr/sbin/opensips[6033]:
INFO:db_text:dbt_init: using database at: /usr/local/etc/opensips/dbtext
Any suggestions/directions would be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140530/2d3d4901/attachment.htm>
More information about the Users
mailing list