Re: [SR-Users] Call disconnects within 30 seconds

2014-08-14 Thread Rahul MathuR
Hello Davy, I am attaching the abridged pcap file for the simplicity. Please guide me how to resolve this issue. Thanks again for your help !! On Tue, Aug 12, 2014 at 1:42 PM, davy davy.van.de.mo...@gmail.com wrote: If your Kamailio setup is close to vanilla, it should do it by default.

[SR-Users] Fwd: Call disconnects within 30 seconds

2014-08-14 Thread Rahul MathuR
Hello Davy, My constraint is that I cannot use TCP for this solution. I am attaching my kamailio.cfg file, please please help me to resolve this issue as soon as possible (it has already chewed many nights :( ) On Wed, Aug 13, 2014 at 8:50 PM, davy van de moere davy.van.de.mo...@gmail.com

Re: [SR-Users] Call disconnects within 30 seconds

2014-08-14 Thread Rahul MathuR
Thanks for the help !! It is now resolved.. my special thanks to Davy !! On Thu, Aug 14, 2014 at 7:12 AM, Rahul MathuR rahul.ultim...@gmail.com wrote: Hello Davy, My constraint is that I cannot use TCP for this solution. I am attaching my kamailio.cfg file, please please help me to

Re: [SR-Users] New Kamailio module Obfuscate

2014-08-14 Thread Daniel-Constantin Mierla
There are variable declared in corex_nio.h and this file is included in two .c files. That results in separate global variables in both .c files. You have to declare them in a .c file and in the .h with 'extern'. Cheers, Daniel On 13/08/14 15:05, Muhammad Shahzad wrote: OK, no problem.

[SR-Users] INVITE to provider

2014-08-14 Thread Yuriy Gorlichenko
Hello. I Use UAC module for register to my porviders (I have several porviders at my server and). I successfully ring from provider to my asterisk servers and route calls to users that registers at Kamailio. So now I need route calls from users to my providers, But can not understand how to send

Re: [SR-Users] Send socket and sequential requests

2014-08-14 Thread Alex Balashov
On 08/13/2014 11:28 AM, Daniel-Constantin Mierla wrote: On 13/08/14 17:21, Alex Balashov wrote: On 08/13/2014 11:03 AM, Daniel-Constantin Mierla wrote: Btw, is any of these sockets bound to a virtual network interface? Yes; it's eth0 and eth0:1. Is that a factor? Could be. Is

Re: [SR-Users] Send socket and sequential requests

2014-08-14 Thread Daniel-Constantin Mierla
On 14/08/14 12:14, Alex Balashov wrote: On 08/13/2014 11:28 AM, Daniel-Constantin Mierla wrote: On 13/08/14 17:21, Alex Balashov wrote: On 08/13/2014 11:03 AM, Daniel-Constantin Mierla wrote: Btw, is any of these sockets bound to a virtual network interface? Yes; it's eth0 and eth0:1. Is

Re: [SR-Users] Send socket and sequential requests

2014-08-14 Thread Alex Balashov
On 08/14/2014 06:41 AM, Daniel-Constantin Mierla wrote: On 14/08/14 12:14, Alex Balashov wrote: On 08/13/2014 11:28 AM, Daniel-Constantin Mierla wrote: On 13/08/14 17:21, Alex Balashov wrote: On 08/13/2014 11:03 AM, Daniel-Constantin Mierla wrote: Btw, is any of these sockets bound to a

Re: [SR-Users] Send socket and sequential requests

2014-08-14 Thread Daniel-Constantin Mierla
On 14/08/14 12:47, Alex Balashov wrote: On 08/14/2014 06:41 AM, Daniel-Constantin Mierla wrote: On 14/08/14 12:14, Alex Balashov wrote: On 08/13/2014 11:28 AM, Daniel-Constantin Mierla wrote: On 13/08/14 17:21, Alex Balashov wrote: On 08/13/2014 11:03 AM, Daniel-Constantin Mierla wrote:

Re: [SR-Users] Send socket and sequential requests

2014-08-14 Thread Alex Balashov
You know what? I do have double RR disabled. I thought about that, and was so sure I wouldn't have turned it off that I didn't even check. But it's disabled. I feel quite stupid. Let me retest and let you know what happens. On 14 August 2014 07:13:36 GMT-04:00, Daniel-Constantin Mierla

[SR-Users] Rate Limiting with Kamailio

2014-08-14 Thread AliReza Khoshgoftar Monfared
Hi list, A quick question, What is the best way to limit the rate of the kamailio, Say I want it to process only 200 INVITEs per second I know this can be done using ratelimit module, but what if I want to change this rate dynamically? say, in an overload control scenario, I am getting a

[SR-Users] Text Operations on a Message

2014-08-14 Thread AliReza Khoshgoftar Monfared
Hi list, How can I extract a specific part of my message body? I know that textops has the function search_body(re) but it returns True/False upon finding re in the body of the text, how can I return the actual text that regular expression matches? As an example, my message body is rate is

Re: [SR-Users] New Kamailio module Obfuscate

2014-08-14 Thread Muhammad Shahzad
Sorry for late relay, we have had internet blockage due to mass protests here. Anyways, i think the variables are declared static, so there should be only one copy of them in memory. But anyways let me analyze it in gdb. Thank you. On Thu, Aug 14, 2014 at 12:21 PM, Daniel-Constantin Mierla

Re: [SR-Users] New Kamailio module Obfuscate

2014-08-14 Thread Muhammad Shahzad
oops, spoke too soon. These are not declared static. Anyways, let me apply your suggestion. Thank you. On Fri, Aug 15, 2014 at 12:13 AM, Muhammad Shahzad shaherya...@gmail.com wrote: Sorry for late relay, we have had internet blockage due to mass protests here. Anyways, i think the

Re: [SR-Users] New Kamailio module Obfuscate

2014-08-14 Thread Muhammad Shahzad
Fixed as discussed, webrtc.voip-demos.com/0001-added-support-for-network-io-intercept.patch Thank you. On Fri, Aug 15, 2014 at 12:15 AM, Muhammad Shahzad shaherya...@gmail.com wrote: oops, spoke too soon. These are not declared static. Anyways, let me apply your suggestion. Thank you.

[SR-Users] Handling 407 reply

2014-08-14 Thread Yuriy Gorlichenko
Hello I use UAC module to register trunks to my providers. I've try to call to my provider. I send INVITE to my porvider and then It recieve me 407 reply proxy authentication required. Offcourse I can handle this reply manualy (by adding headers throuch header_add) and add md5 summ, but I think

Re: [SR-Users] Rate Limiting with Kamailio

2014-08-14 Thread Alex Balashov
On 08/14/2014 12:49 PM, AliReza Khoshgoftar Monfared wrote: Hi list, A quick question, What is the best way to limit the rate of the kamailio, Say I want it to process only 200 INVITEs per second I know this can be done using ratelimit module, but what if I want to change this rate

Re: [SR-Users] Text Operations on a Message

2014-08-14 Thread Alex Balashov
On 08/14/2014 02:59 PM, AliReza Khoshgoftar Monfared wrote: Hi list, How can I extract a specific part of my message body? I know that textops has the function search_body(re) but it returns True/False upon finding re in the body of the text, how can I return the actual text that regular

Re: [SR-Users] Text Operations on a Message

2014-08-14 Thread AliReza Khoshgoftar Monfared
Thanks very much Alex. You are right. In general kamailio does not offer much functionality of a general purpose language. The other option for the task that I found was s.rm transformation. Although it works the other way :) you need to match what needs to be removed :) Now a general question (