Re: [SR-Users] how to use data received from diameter answer(CCA) in kamailio config script

2015-10-01 Thread Daniel-Constantin Mierla
Hello, cdp module is the diameter peer module in kamailio, see if that one helps you. Cheers, Daniel On 01/10/15 16:03, SureshTummala wrote: > Hi, > > I want retrieve the data present in the Credit-Control-Answer response > from diameter in kamailio configuration script. Is there any provision >

Re: [SR-Users] Inconsistent string interpolation

2015-10-01 Thread Daniel-Constantin Mierla
On 01/10/15 14:34, Sven Neuhaus wrote: > Am 01.10.2015 um 12:53 schrieb Daniel-Constantin Mierla: >> there are different actions, one is assignment of an expression and the >> other is a function call. Functions can evaluate they parameters as they >> need/want by having the appropriate C code in

Re: [SR-Users] receive_fd(): EOF

2015-10-01 Thread Daniel-Constantin Mierla
You changed the source code, so send the diff, not the entire files, in order to be easier to see what code you wrote. Anyhow, the log messages say there is a buffer overflow -- you wrote more into the buffer than the buffer size. Cheers, Danie On 01/10/15 20:04, jery john wrote: > 11(12454) :

Re: [SR-Users] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2)

2015-10-01 Thread Daniel-Constantin Mierla
If you recompiled with different souce code or different flags then the binary is no longer matching the corefile properly. Cheers, Daniel On 01/10/15 17:00, Jijo wrote: > Why the backtrace doesn't show the timer function pointer? Am i > missing something? > > Im building the mongo-c-driver as be

Re: [SR-Users] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2)

2015-10-01 Thread Jijo
Why the backtrace doesn't show the timer function pointer? Am i missing something? Im building the mongo-c-driver as below get the tar file from https://github.com/mongodb/mongo-c-driver/releases/download/1.1.11/mongo-c-driver-1.1.11.tar.gz run the rpm build using the spec file attached. To disabl

Re: [SR-Users] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2)

2015-10-01 Thread Daniel-Constantin Mierla
Hello, the bracktrace is not useful. How did you compile the mongo-c library before and were there any special parameters you set to the modules in kamailio config? Are you using db_mongodb or ndb_mongodb? Cheers, Daniel On 01/10/15 16:25, Jijo wrote: > Hi Daniel, > > Thanks.. As a sidenote, I

[SR-Users] how to use data received from diameter answer(CCA) in kamailio config script

2015-10-01 Thread SureshTummala
Hi, I want retrieve the data present in the Credit-Control-Answer response from diameter in kamailio configuration script. Is there any provision in kamailio 4.1.x (or) later? Any suggestions are appreciated.  Regards,Suresh Tummala___ SIP Express Route

Re: [SR-Users] segmentation fault when mongodb & tls enabled. ( kamailio 4.3.2)

2015-10-01 Thread Jijo
Hi Daniel, Thanks.. As a sidenote, If i disable ssl from mongo-c-driver library then i don't have any crash.. Something changed in my environment. Im not able to get the full backtrace. This is what i'm getting now. aded symbols for /lib64/liblber-2.4.so.2 Reading symbols from /lib64/libnss_dn

Re: [SR-Users] blf problem

2015-10-01 Thread Daniel-Constantin Mierla
Hello, On 30/09/15 09:37, huseyin kalyoncu wrote: > Hello Daniel > > Thank you for your response. Kamailio from 4.3.2 source tarball > I got the core file now. After running backtrace i realized that the > problem might be related to our custom module we are developing. > Here is the backtrace: >

Re: [SR-Users] Inconsistent string interpolation

2015-10-01 Thread Sven Neuhaus
Am 01.10.2015 um 12:53 schrieb Daniel-Constantin Mierla: > there are different actions, one is assignment of an expression and the > other is a function call. Functions can evaluate they parameters as they > need/want by having the appropriate C code inside. After I noticed the problem and tried t

Re: [SR-Users] blf problem

2015-10-01 Thread huseyin kalyoncu
Hello Daniel, I have an update for the errors with duplicate key messages. 5678*0012 calls 5678*0002 and 5678*0007 is the subscriber for both. When the call starts i see this: kamailio=# select username, etag from presentity; username | etag ---+ 5678

Re: [SR-Users] Inconsistent string interpolation

2015-10-01 Thread Daniel-Constantin Mierla
Hello, there are different actions, one is assignment of an expression and the other is a function call. Functions can evaluate they parameters as they need/want by having the appropriate C code inside. For assignments, that is the general interpreter which considers strings as being the tokens i

[SR-Users] Inconsistent string interpolation

2015-10-01 Thread Sven Neuhaus
Hello, I'm occasionally running into issues with inconsistent string interpolation in the kamailio.cfg. Here's the latest example. Take this line: $var(x) = "sip:+$var(abc)-$var(def)-$si@$Ri:$Rp"; Here, the values of the variables will NOT be interpolated into the string. Instead, I have to use

Re: [SR-Users] SIP and conntrackd experience?

2015-10-01 Thread Daniel Tryba
On Thursday 01 October 2015 07:35:06 Grant Bagdasarian wrote: > How do big carriers handle these kinds of scenarios where a sudden outage in > a key component would cause calls to be dropped? Is this the achilles heel > of voice? Is there special kind of software or hardware (or both) for > handlin

Re: [SR-Users] SIP and conntrackd experience?

2015-10-01 Thread Grant Bagdasarian
Alright, I understand. Thanks for explaining. How do big carriers handle these kinds of scenarios where a sudden outage in a key component would cause calls to be dropped? Is this the achilles heel of voice? Is there special kind of software or hardware (or both) for handling these kinds of sce