Re: [SR-Users] Dropped registrar bindings with 1.5.3

2011-11-18 Thread Alex Balashov
I think I've figured out what's going on. Unsurprisingly, it isn't a Kamailio problem--my proposed thesis seemed as improbable to me as to all of you. I had been going off the assumption that the absolute timestamps in the packet captures off the edge router, from which I was basing my analy

Re: [SR-Users] Dropped registrar bindings with 1.5.3

2011-11-18 Thread Alex Balashov
On 11/18/2011 04:23 PM, Andres wrote: There is just one registrar -- the one under discussion. It's the main reason Kamailio is used here; it is the only OSS registrar I know of that has enough throughput capacity to sustain thousands of devices banging on it with relatively short re-registrati

Re: [SR-Users] Dropped registrar bindings with 1.5.3

2011-11-18 Thread Andres
There is just one registrar -- the one under discussion. It's the main reason Kamailio is used here; it is the only OSS registrar I know of that has enough throughput capacity to sustain thousands of devices banging on it with relatively short re-registration intervals. Hi Alex, At this

Re: [SR-Users] Dropped registrar bindings with 1.5.3

2011-11-18 Thread Alex Balashov
On 11/18/2011 03:16 PM, Andres wrote: My logic tells me: 1) If its not hitting your xlog in your register section then its not registering to this server The registrar is running inside an OpenVZ container, so the first possibility I investigated was that someone had inadvertently cloned the

Re: [SR-Users] Dropped registrar bindings with 1.5.3

2011-11-18 Thread Andres
On 11/17/2011 10:28 PM, Alex Balashov wrote: I have a 1.5.3 installation functioning as a registrar that is exhibiting a very curious, if only infrequent set of behaviours. The host is CentOS 5.x, with PostgreSQL 9.0 backing usrloc, and db_mode = 1 (immediate write-through). I have a registrat

Re: [SR-Users] Dropped registrar bindings with 1.5.3

2011-11-18 Thread Alex Balashov
On 11/18/2011 02:04 PM, Edson - Lists wrote: It can look stupidity, but, I dislike this 'else if' structure so, suppressing the 'else' from the 'else if' wouldn't change in nothing the logic, so have you tested this suppression? It logically protects from situations in which, hypotheticall

Re: [SR-Users] Dropped registrar bindings with 1.5.3

2011-11-18 Thread Edson - Lists
It can look stupidity, but, I dislike this 'else if' structure so, suppressing the 'else' from the 'else if' wouldn't change in nothing the logic, so have you tested this suppression? Edson. Em 18/11/2011 09:32, Alex Balashov escreveu: On 11/18/2011 06:24 AM, Fred Posner wrote: What hap

Re: [SR-Users] [Kamailio-Users] Converting rtpproxy recorded .rtp file to .wav file

2011-11-18 Thread Ovidiu Sas
I ran into a similar issue and while searching for a solution, I found a few threads describing the same problem but no solution.It turns out that the sox command must have the proper arguments in order to properly decode raw files.Feeding sox with an u-law stream and asking to be decoded as an a-l

Re: [SR-Users] Core compiled with Sctp support

2011-11-18 Thread Stefan Ljung
Just one more question. Iget these warnings: CC (gcc) [ser] sctp_server.o sctp_server.c:504:2: warning: #warning no sctp lib support for SCTP_FRAGMENT_INTERLEAVE, consider upgrading sctp_server.c:550:2: warning: #warning no sctp lib support for SCTP_PARTIAL_DELIVERY_POINT, consider upgr

Re: [SR-Users] Core compiled with Sctp support

2011-11-18 Thread Stefan Ljung
YES ! Its up. SCTP=1 did the difference Many thanks /Stefan From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: den 18 november 2011 12:53 To: Stefan Ljung; kamailio users Subject: Re: [SR-Users] Core compiled with Sctp support Don't forget to keep th

Re: [SR-Users] sqlops crash when connection does not exist

2011-11-18 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > I pushed a commit on the master that tries to make a graceful shutdown: > > http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2396dde7230e04f853e6936cfff9059661c55635 > > Maybe you can try it with your case again and see if all goes fine now,

Re: [SR-Users] Core compiled with Sctp support

2011-11-18 Thread Daniel-Constantin Mierla
Don't forget to keep the mailing list cc-ed -- private emails sent from mailing lists discussion are going to be discarded. If you have libsctp devel package installed, try compilation with: make SCTP=1 ... all Cheers, Daniel On 11/18/11 12:13 PM, Stefan Ljung wrote: So, its not. [test032@

Re: [SR-Users] Dropped registrar bindings with 1.5.3

2011-11-18 Thread Alex Balashov
On 11/18/2011 06:24 AM, Fred Posner wrote: What happens if you move the Register to the beginning of the if statement? While I have not empirically investigated this, the structure literally looks like this: if(is_method("OPTIONS")) { # respond to OPTIONS pings exit; }

Re: [SR-Users] Dropped registrar bindings with 1.5.3

2011-11-18 Thread Fred Posner
On Nov 18, 2011, at 5:47 AM, Klaus Darilion wrote: > > > On 18.11.2011 05:07, Alex Balashov wrote: >> On 11/17/2011 11:02 PM, Juha Heinanen wrote: >> else if(is_method("REGISTER")) { xlog("L_INFO", "... Processing REGISTER from $si:$sp for AOR $tu\n"); route(2); exit;

Re: [SR-Users] Core compiled with Sctp support

2011-11-18 Thread Daniel-Constantin Mierla
Hello, when sctp support is available, if you do 'kamailio -V' or 'ser -V' you should see USE_SCTP flag there. Not sure if sctp is enabled by default in listen sockets, you can do it anyhow with global parameter: enable_sctp=yes Cheers, Daniel On 11/18/11 11:49 AM, Stefan Ljung wrote: I'v

Re: [SR-Users] Dropped registrar bindings with 1.5.3

2011-11-18 Thread Alex Balashov
On 11/18/2011 05:47 AM, Klaus Darilion wrote: Then, the problem may be the logging: - sychronous vs asynchronous syslogging? It's asynchronous. - local or via UDP to a remote syslog server? It's local. -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 A

[SR-Users] Core compiled with Sctp support

2011-11-18 Thread Stefan Ljung
I've downloaded sip-router 3.1.2 and have been struggling with the make commands for configuring. Compiling and installing. Can't really say that I master it. But I have finally managed to do all steps and started a example ser.cfg. One of the features I want to play around eith is the sctp tran

Re: [SR-Users] Dropped registrar bindings with 1.5.3

2011-11-18 Thread Klaus Darilion
On 18.11.2011 05:07, Alex Balashov wrote: On 11/17/2011 11:02 PM, Juha Heinanen wrote: else if(is_method("REGISTER")) { xlog("L_INFO", "... Processing REGISTER from $si:$sp for AOR $tu\n"); route(2); exit; } no matter what db you use, the above would print the syslog message IF the piece of

[SR-Users] Access to multivalue responses in ndb_redis

2011-11-18 Thread Javier Gallart
Hello do you know if it's possible to access the different values in a complex response using ndb_redis? For instance: ZREVRANGE key 0 -1 1) "123456" 2) "123" 3) "1" I'd like to store the first value (123456); is it possible? Thanks in advance Javi __

[SR-Users] Problem trying to play recorded message before call

2011-11-18 Thread Juha Heinanen
check if sems's early_announce app would solve your problem. -- juha ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] FW: db_mysql -> unhandled data type column

2011-11-18 Thread Daniel-Constantin Mierla
Hello, On 11/18/11 9:46 AM, Stephen Dodge (Bistech) wrote: Hello, I thought I'd post this again just in case anyone has some suggestions. Apologies if this is a basic question!! We are using Kamailio 3.1.5 in production. We use the sqlops module to run a mysql function to return paramet

Re: [SR-Users] Problem trying to play recorded message before call

2011-11-18 Thread Carsten Bock
Hi, the RTPProxy does not play wav-files directly. You need to convert them into a custom rtpproxy-format using "makeann", which is part of the rtpproxy-package. Makeann encodes the file directly into PCMA/PCMU/GSM-Codec files. Also: To whom do you want to play the announcement? To the Calller? T

[SR-Users] FW: db_mysql -> unhandled data type column

2011-11-18 Thread Stephen Dodge (Bistech)
Hello, I thought I'd post this again just in case anyone has some suggestions. Apologies if this is a basic question!! We are using Kamailio 3.1.5 in production. We use the sqlops module to run a mysql function to return parameters. In the logs I am seeing the flowing warnings. /usr/sbin