Re: [SR-Users] how to match exact string value in mtree (Uri Shacked)

2012-02-17 Thread Daniel-Constantin Mierla
Hello, On 2/16/12 2:51 PM, Javier Gallart wrote: Hello Uri I had similar needs and I found the ndb_redis module more suited for that type of task. Instead of a tree you have a hash like this: tname tprefix tvalue. If you do a hget nts $avp(DID) and you get a not null value you have found

[SR-Users] image missing in xmlrpc module doc

2012-02-17 Thread Andrew Pogrebennyk
Hi, Was reading through the xmlrpc docs, could anybody with an access check why Figure RPC Example is missing from http://kamailio.org/docs/modules/devel/modules/xmlrpc.html#fig.rpc_example as well as 3.1 and 3.2 module docs? Thanks, Andrew ___ SIP

Re: [SR-Users] ndb_redis module fails after a while

2012-02-17 Thread Andrew Pogrebennyk
Hi Daniel, On 02/17/2012 10:47 AM, Daniel-Constantin Mierla wrote: I made a patch for server reconnect -- I had no access to a computer with redis lib installed for the moment, hopefully it compiles. If you can try and tell the result, it would be great, I can commit then. I may be able to

Re: [SR-Users] how to match exact string value in mtree (Uri Shacked)

2012-02-17 Thread Javier Gallart
Hi Daniel, no, in order to find the best match we do a manual trick using the s.prefixes transformation (I think you suggested that). We start with the full number and stop when we find a non-null value. This kamailio is serving many thousands of calls per hour, and the response time is pretty

Re: [SR-Users] Question on (sipcapture, raw_interface, )

2012-02-17 Thread Alexandr Dubovikov
I have anwered you already: use two instance of captagent or two instance of kamailio. (each for one interface) Wbr, Alexandr 16.02.2012 15:05, Nelson Pereira wrote: but im not talking about sniff, but the SIPCAPTURE raw_interface function... On Thu, Feb 16, 2012 at 8:57 AM, Klaus

Re: [SR-Users] ndb_redis module fails after a while

2012-02-17 Thread Javier Gallart
Hi Daniel, Andrew I've just tested the patch and kamailio crashes when the redis server is stopped. This is what I could get: -From the logs: Feb 17 06:33:32 r-gate-test ./kamailio[23812]: ALERT: core [main.c:751]: child process 23819 exited by a signal 11 Feb 17 06:33:32 r-gate-test

Re: [SR-Users] Need example of Kamailio.cfg for a port mirror setup

2012-02-17 Thread Alexandr Dubovikov
The link has been not changed, you know it already: http://code.google.com/p/homer/wiki/HOWTO Homer Capture Agent (for all other unsupported system) if your SIP system (PBX, proxy) doesn't have a built-in capture agent with HEP or IPIP encapsulation support, you can use Homer Capture Agent

Re: [SR-Users] Kamailio Exits With: Segmentation Fault Error 4 in usrloc.so

2012-02-17 Thread Daniel-Constantin Mierla
Hello, On 2/17/12 2:09 PM, Alexandr Dubovikov wrote: Hi, If i got it also correct: Simpson is getting SIP messages from a raw socket in the sipcapture module and try to save all REGISTER messages to the location table through the userloc module. (user registration audit) so sipcapture is

Re: [SR-Users] how to match exact string value in mtree (Uri Shacked)

2012-02-17 Thread Javier Gallart
Hi Maybe I didn't understand your scenario, but I don't see how to do it with the dialplan module. Let's say you have two entries in your dialplan table: 09555333 (this should go first) 09555* If your string is 09555444 you will still get the second entry Regards Javi On Fri, Feb 17,

Re: [SR-Users] Topoh hiding prefixes

2012-02-17 Thread Efelin Novak
Hi Alex, thanks for the answer. My customer is on the SIP side. So my customer sees a prefix of my PSTN gateway in the contact header. Sequential requests are being sent to prefixnumber@gateway_ip. However I think when I remove the prefix from the contact, the gateway would have no problem in

Re: [SR-Users] Need example of Kamailio.cfg for a port mirror setup

2012-02-17 Thread Nelson Pereira
from the atttached kamailio.cfg file, what should be changed to get captagent receiver working in kamailio instead of port mirroring? Thanks On Fri, Feb 17, 2012 at 7:29 AM, Alexandr Dubovikov v...@start4.infowrote: The link has been not changed, you know it already:

Re: [SR-Users] Need example of Kamailio.cfg for a port mirror setup

2012-02-17 Thread Nelson Pereira
ok, tried to do the make install, getting the bellow: aurast:/usr/local/src/captagent # /usr/local/bin/captagent /usr/local/bin/captagent: error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory Do i need to compile this? Also just tried

Re: [SR-Users] Topoh hiding prefixes

2012-02-17 Thread Efelin Novak
I have to apologize. The Topoh module hides the whole contact not just a domain part. So The problem is fixed. However don't you have any experinece with clients that have problems with seq. requests being sent to some random string expect of the propagated contact? UA ---invite ---

Re: [SR-Users] Topoh hiding prefixes

2012-02-17 Thread Alex Balashov
On 02/17/2012 10:33 AM, Efelin Novak wrote: However don't you have any experinece with clients that have problems with seq. requests being sent to some random string expect of the propagated contact? Not sure I follow. The initiating UA is obligated to use whatever contact is provided by

[SR-Users] Require Certificate

2012-02-17 Thread Bruno Bresciani
Hi All, Does it possible on tls module require certificates only some hosts? My kamailio comunicate with several UA clients (Softphones and IP phones) and one SIP gateway. I want require certificate only gateway SIP, it's possible? The parameter *modparam(tls, require_certificate, 1)* require

Re: [SR-Users] Require Certificate

2012-02-17 Thread Daniel Pocock
On 17/02/12 19:01, Bruno Bresciani wrote: Hi All, Does it possible on tls module require certificates only some hosts? Yes, you have at least two options: a) just set the require_certificate 0 option - make sure your client still sends it's cert even when it is not demanded - and in your

Re: [SR-Users] Require Certificate

2012-02-17 Thread Bruno Bresciani
Thanks Daniel but I have some problems... a) my SIP gateway doesn't send the certificate when it isn't demanded... b) I was reading about TLS specific config file (tls.cfg), but my requirements doesn't allow to configure differents TLS ports. Do you have other idea? Best Regards 2012/2/17

[SR-Users] Registration replication

2012-02-17 Thread Spencer Thomason
Hello, I'm currently working on a HA setup with geographically separated proxies. Each proxy is in a different data center with an MPLS link between them. The proxies access a locally connected PostgreSQL database that is replicated from a master in the primary data center. Note that the