[OpenSIPS-Users] Transition subscriber table to opensips-3.2

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Oct 6 15:56:45 EST 2021


well, we have to wait until the sqlite support in CLI is sorted out :(

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS eBootcamp 2021
   https://opensips.org/training/OpenSIPS_eBootcamp_2021/

On 10/6/21 6:24 PM, Rob Dyck wrote:
> My query is actually sort of hypothetical since I can't use opensips-cli for
> manipulating the database. Opensips-cli cannot connect to my sqlite database.
> I have just now tried the latest from git.
>
> I created a version 3.2.2 database by having sqlite cli read the schema
> scripts that came with opensips-3.2.2.
>
> With opensips-3.1.3 I was still using opensipsctl to add or delete users.
>
> see opensips-cli issue #66.
> Cheers, Rob
>
> On Wednesday, October 6, 2021 2:20:44 A.M. PDT Bogdan-Andrei Iancu wrote:
>> Hi Rob,
>>
>> As far as I know, the latest CLI has support for autodetecting the
>> version of the subscriber table, so it should work with 3.2 and 3.1 in
>> the same time. Have you tried it ?
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>>
>> OpenSIPS Founder and Developer
>>     https://www.opensips-solutions.com
>> OpenSIPS eBootcamp 2021
>>     https://opensips.org/training/OpenSIPS_eBootcamp_2021/
>>
>> On 9/21/21 1:34 AM, Rob Dyck wrote:
>>> I am planning on going to version 3.2.2. I notice that the format of the
>>> subscriber table has changed. ha1b is being dropped and a couple other
>>> hashes are being added.
>>>
>>> Opensips-cli still uses the old format. I am sure this would break
>>> something.
>>>
>>> Is there any progress on opensips-cli issue #66 ( doesn't recognize an
>>> sqlite path). I use sqlite in conjunction opensipsctl to manage users.
>>>
>>> Some things can be managed with the sqlite3 CLI but for the subscriber
>>> table it is difficult because normally opensips-cli and opensipsctl
>>> generate the hash for you.
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>




More information about the Users mailing list