Hi,
Is it possible using topos module without db support?
I'm trying to use topos module with sqlite db backend, but I have any concurrency problems during write procedure (I use WALL pragma). When execute speed calls traffic sqlite emits an error trace telling it's locked. Is it possible to use a sort of hash tabel to save topos informations and don't use the db?
Best regards,
Giuseppe
Hello,
you can try to use db_text instead of db_sqlite.
Also, there is the variant to load topos_redis and not have any db/sql backend, but use a redis server instead.
Cheers, Daniel
On 09.11.18 17:49, Giuseppe Pandolfi wrote:
Hi,
Is it possible using topos module without db support?
I'm trying to use topos module with sqlite db backend, but I have any concurrency problems during write procedure (I use WALL pragma). When execute speed calls traffic sqlite emits an error trace telling it's locked. Is it possible to use a sort of hash tabel to save topos informations and don't use the db?
Best regards,
Giuseppe
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hi!
What is the difference between topoh and topos? I am using topoh which works fine without DB and only needs the mask_key to be the same on the nodes. Is there a benefit for using a DB and the topos module?
Kevin
Am Mo., 12. Nov. 2018 um 09:24 Uhr schrieb Daniel-Constantin Mierla < miconda@gmail.com>:
Hello,
you can try to use db_text instead of db_sqlite.
Also, there is the variant to load topos_redis and not have any db/sql backend, but use a redis server instead.
Cheers, Daniel
On 09.11.18 17:49, Giuseppe Pandolfi wrote:
Hi,
Is it possible using topos module without db support?
I'm trying to use topos module with sqlite db backend, but I have any concurrency problems during write procedure (I use WALL pragma). When execute speed calls traffic sqlite emits an error trace telling it's locked. Is it possible to use a sort of hash tabel to save topos informations and don't use the db?
Best regards,
Giuseppe
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio World Conference -- www.kamailioworld.com Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Am Montag, 12. November 2018, 14:54:06 CET schrieb Kevin Olbrich:
What is the difference between topoh and topos? I am using topoh which works fine without DB and only needs the mask_key to be the same on the nodes. Is there a benefit for using a DB and the topos module? [..]
Hi Kevin,
the two modules use a different storage scheme (apart from some functions that are only available for one of them). The topos module will store its data it in a database, so it don't need to add the hidden header parameter to the SIP message. The topoh module store this data in the SIP message, so the size of the message is increased.
Best regards,
Henning
On Mon, Nov 12, 2018 at 10:11:06PM +0100, Henning Westerholt wrote:
What is the difference between topoh and topos? I am using topoh which works fine without DB and only needs the mask_key to be the same on the nodes. Is there a benefit for using a DB and the topos module? [..]
the two modules use a different storage scheme (apart from some functions that are only available for one of them). The topos module will store its data it in a database, so it don't need to add the hidden header parameter to the SIP message. The topoh module store this data in the SIP message, so the size of the message is increased.
The main functional difference IMHO is topos doesn't/cannot rewrite callid. If you ahve a call scenario with a stupid PBX and users that call their own DIDs you might need topoh.