[SR-Users] PDB module long prefixes

2015-12-07 Thread Igor Potjevlesch
Hi, I had configured my pdb module to accept 5 number prefixes by doing: In pdbt.c: bufsize = slen + 1 + 1 + *4* + 1 + 1; // line buff er (telephone number + colon + white space + carrier ID + newline + \0) ... ret = snprintf(p,* 7*, "%d\n", node->carrier); if (ret < 1 || ret >

[SR-Users] Pdb module

2012-03-20 Thread Ahmed
Hi, I try to run this module, but unsuccesfully. Can you give me some advices? How I can start the pdb_server? I compile and install it, but don´t know how get it run. I must add loadmodule="pdb.so" in kamailio.cfg file? When I did it, kamailio didnt start. Starting end with error. I think

Re: [SR-Users] pdb module timeouts

2011-02-18 Thread marius zbihlei
On 02/18/2011 12:53 PM, Thomas Baumann wrote: Hello Marius, the main problem I had was caused with wrong debug-level in the script. Debug level 3 is not a good choice for loadtesting, my mistake. After changing to debug level 2, it looks a lot better. I did more testing with the right settings

Re: [SR-Users] pdb module timeouts

2011-02-18 Thread Thomas Baumann
Hello Marius, the main problem I had was caused with wrong debug-level in the script. Debug level 3 is not a good choice for loadtesting, my mistake. After changing to debug level 2, it looks a lot better. I did more testing with the right settings, and yes the change in pdb.c had some influence

Re: [SR-Users] pdb module timeouts

2011-02-16 Thread bt047265
Hi Marius, Hi Henning, sorry for the wrong information, the patch did not work for me. I did not see any timeouts if only one server was used. If more than 2 Servers are used, where are failed calls. regards, Thomas One server old pdb.c: modparam("pdb", "server", "10.12.18.41:10001") Feb 16

Re: [SR-Users] pdb module timeouts

2011-02-16 Thread Henning Westerholt
On Wednesday 16 February 2011, Thomas Baumann wrote: > Hello Marius, > > thanks a lot for submitting the patch. It works like a charm now. But to be > honest I had troubles to find this patch, I just checked the daily tarball > http://sip-router.org/tarballs/sr/ and found this change. How I can

Re: [SR-Users] pdb module timeouts

2011-02-16 Thread marius zbihlei
On 02/16/2011 04:47 PM, Thomas Baumann wrote: Hello Marius, thanks a lot for submitting the patch. It works like a charm now. But to be honest I had troubles to find this patch, I just checked the daily tarball [http://sip-router.org/tarballs/sr/] and found this change. How I can get patch e

Re: [SR-Users] pdb module timeouts

2011-02-16 Thread Thomas Baumann
Hello Marius, thanks a lot for submitting the patch. It works like a charm now. But to be honest I had troubles to find this patch, I just checked the daily tarball [http://sip-router.org/tarballs/sr/] and found this change. How I can get patch e914f97b4 in a better way ? regards, Thomas >

Re: [SR-Users] pdb module timeouts

2011-02-16 Thread Thomas Baumann
Hello Marius, thanks a lot for submitting the patch. It works like a charm now. But to be honest I had troubles to find this patch, I just checked the daily tarball  http://sip-router.org/tarballs/sr/ and found this  change.How I can get patch e914f97b4 in a better way ?regards,Thomas>Hello>I hav

Re: [SR-Users] pdb module timeouts

2011-02-15 Thread marius zbihlei
2.2011 09:33:05 An: sr-users@lists.sip-router.org Betreff: Re: [SR-Users] pdb module timeouts On Wednesday 09 February 2011, Thomas Baumann wrote: I am using the PDB module and server components for number portability. 2 instances of PDB Server runs on (10.12.19.51/10001/10002), Kamailio on

Re: [SR-Users] pdb module timeouts

2011-02-15 Thread Thomas Baumann
>   if (ret < 1 || ret > 5) { If I run querys in filemode against the server, where is no timeout. pdbt query -f /tmp/numbers3 -r 10.12.18.21:10001 -q 1 | grep answer regards, Thomas -Ursprüngliche Nachricht- Von: "Henning Westerholt" Gesendet: 11.02.2011

Re: [SR-Users] pdb module timeouts

2011-02-11 Thread Juha Heinanen
Henning Westerholt writes: > > ps. A small change on the server part was done: handle 4 digit carrier > > codes.  > > Ah, i see. I guess its not a big change? i have done the same change. perhaps it would make sense to make the module a bit more flexible in terms of length of carrier code. --

Re: [SR-Users] pdb module timeouts

2011-02-11 Thread Henning Westerholt
On Friday 11 February 2011, Thomas Baumann wrote: > the load I have on one machine is about 10 cps max. The timeout is > configured to the standard value of 50ms. I the logs I can see that the > response times are not continuous. > Feb 11 17:28:34 m-lab-prx-as-2 /openser/sbin/kamailio[7609]: INFO:

Re: [SR-Users] pdb module timeouts

2011-02-11 Thread Thomas Baumann
nning Westerholt" Gesendet: 11.02.2011 09:33:05 An: sr-users@lists.sip-router.org Betreff: Re: [SR-Users] pdb module timeouts On Wednesday 09 February 2011, Thomas Baumann wrote: > I am using the PDB module and server components for number portability. 2 > instances of PDB Server runs on (1

Re: [SR-Users] pdb module timeouts

2011-02-11 Thread Henning Westerholt
On Wednesday 09 February 2011, Thomas Baumann wrote: > I am using the PDB module and server components for number portability. 2 > instances of PDB Server runs on (10.12.19.51/10001/10002), Kamailio on > (10.12.19.21). With a small amount of traffic (-cmax 150 -cps 10 > -callduration 3), where are

[SR-Users] pdb module timeouts

2011-02-09 Thread Thomas Baumann
Hello, I am using the PDB module and server components for number portability. 2 instances of PDB Server runs on (10.12.19.51/10001/10002), Kamailio on (10.12.19.21). With a small amount of traffic (-cmax 150 -cps 10 -callduration 3), where are timeouts: WARNING: pdb [pdb.c:260]: exceeded time

Re: [SR-Users] pdb module best practice

2011-01-25 Thread Henning Westerholt
On Monday 24 January 2011, Thomas Baumann wrote: > the downtime is not a problem, I already have 2 deamons running. > I want to reduce the time , how changes become active. > > 1. update xxx entry > 2. export table to *.csv (5s) > 3. generate *.mmap file (25 seconds) > > So changes will take at l

Re: [SR-Users] pdb module best practice

2011-01-24 Thread Henning Westerholt
On Sunday 23 January 2011, Thomas Baumann wrote: > I tested the pdb module and the pdb_server. It is a fast solution even > with a huge amount of numbers. > > But how I can update the pdb_server in a fast and effective way ? I tried > it in the following way: > [...] > The time of 30 seconds is

[SR-Users] pdb module best practice

2011-01-23 Thread Thomas Baumann
Hello, I tested the pdb module and the pdb_server. It is a fast solution even with a huge amount of numbers. But how I can update the pdb_server in a fast and effective way ? I tried it in the following way: - number;carrier are stored in a mysql table (20 million entries) - 2 pdb_servers ar

[SR-Users] pdb module best practice

2011-01-22 Thread Thomas Baumann
Hello,I tested the pdb module and the pdb_server.  It is a fast solution even with a huge amount of numbers.But how I can update the pdb_server in a fast and effective way ?  I tried it in the following way:- number;carrier are stored in a mysql table (20 million entries)- 2 pdb_servers are running

Re: [SR-Users] PDB module

2010-08-20 Thread Ernest Mavrel
Thank you Ernest On 19. 08. 2010 12:39, Henning Westerholt wrote: On Thursday 19 August 2010, Ernest Mavrel wrote: How can I build then debian package? "BTW, you can also build a debian package for the server, it will give you two packages for the server and the tool." Hi Ernest, wha

Re: [SR-Users] PDB module

2010-08-19 Thread Henning Westerholt
On Thursday 19 August 2010, Ernest Mavrel wrote: > How can I build then debian package? > > "BTW, you can also build a debian package for the server, it will give you > two packages for the server and the tool." Hi Ernest, what about something like this: dpkg-buildpackage -b -uc -us -rfakeroo

Re: [SR-Users] PDB module

2010-08-19 Thread Iñaki Baz Castillo
2010/8/19 Ernest Mavrel : >  How can I build then debian package? The question is: why do you run "dpkg -b DEBIAN" ? It's like if I run "dpkg -asdasd LALALA" and then complain that it doesn't work. > "BTW, you can also build a debian package for the server, it will give you > two > packages for

Re: [SR-Users] PDB module

2010-08-19 Thread Ernest Mavrel
How can I build then debian package? "BTW, you can also build a debian package for the server, it will give you two packages for the server and the tool." Ernest On 19. 08. 2010 11:02, Iñaki Baz Castillo wrote: 2010/8/19 Ernest Mavrel I got this: dpkg -b DEBIAN dpkg-deb: parse error, in

Re: [SR-Users] PDB module

2010-08-19 Thread Iñaki Baz Castillo
2010/8/19 Ernest Mavrel > > I got this: > > dpkg -b DEBIAN > > > dpkg-deb: parse error, in file 'DEBIAN/DEBIAN/control' near line 6: >  missing package name And why do you run such unuseful and wrong command? Nobody in this thread has suggested you to run it. -- Iñaki Baz Castillo ___

Re: [SR-Users] PDB module

2010-08-19 Thread Ernest Mavrel
Hi I got this: dpkg -b DEBIAN dpkg-deb: parse error, in file 'DEBIAN/DEBIAN/control' near line 6:  missing package name On 18. 08. 2010 18:02, Henning Westerholt wrote: On Wednesday 18 August 2010, Ernest Mavrel wrote:

Re: [SR-Users] PDB module

2010-08-18 Thread Henning Westerholt
On Wednesday 18 August 2010, Ernest Mavrel wrote: > Kamailio script I thing is ok. I have problem with setup PDB server. In doc > is written: "The client is this module and the server exists in the > /utils/pdbt directory." How to establish PDB server. I went to the > /utils/pdbt, compile and in

Re: [SR-Users] PDB module

2010-08-18 Thread Ernest Mavrel
Kamailio script I thing is ok. I have problem with setup PDB server. In doc is written: "The client is this module and the server exists in the /utils/pdbt directory." How to establish PDB server. I went to the /utils/pdbt, compile and install. What is next step? Th

Re: [SR-Users] PDB module

2010-08-18 Thread Henning Westerholt
On Wednesday 18 August 2010, Ernest Mavrel wrote: > How to set up PDB server. I read doc, but I still dont know how. > > Have someone any example? Hi Ernest, what kind of problem do you face exactly? Do you have difficulties to use the kamailio script part, or to setup the networking daemon? C

[SR-Users] PDB module

2010-08-18 Thread Ernest Mavrel
Hi How to set up PDB server. I read doc, but I still dont know how. Have someone any example? Thank you Ernest ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cg