[OpenSIPS-Users] TextDB and Registrant issues

Ovidiu Sas osas at voipembedded.com
Wed Jun 4 15:59:10 CEST 2014


Hello,

There are no issues with dbtext.  Please read the dbtext documentation
and use the proper format for the table.

Regards,
Ovidiu Sas

On Tue, Jun 3, 2014 at 11:36 PM, Kurtis Heimerl <kheimerl at endaga.com> wrote:
> For the webcrawlers, I was was able to resolve this by switching to
> postgres. I guess textdb has some issues.
>
>
> On Fri, May 30, 2014 at 6:23 PM, Kurtis Heimerl <kheimerl at endaga.com> wrote:
>>
>> 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.
>>
>>
>>
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



-- 
VoIP Embedded, Inc.
http://www.voipembedded.com



More information about the Users mailing list