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?

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

[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

[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 ___ SIP

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 code

[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

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

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:

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; } What happens if you move

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] 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 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

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

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

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

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,

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

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

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