[SR-Users] Kamailio/Radius problem

2013-11-13 Thread jonathan augenstine
I am working on the configuration to enable RADIUS in Kamailio 4.0. The basic install worked successfully and the daemon started without problems. I then install radiusclient-ng and configured RADIUS in the Kamailio build/configuration. All seemed OK until the Kamailio restart and I encountered

[SR-Users] Fwd: Query regd the dispatcher algorithm support

2013-11-13 Thread santosh satapathy
Hi, Any input for the below query is highly appreciated. *Question:* Does the dispatcher module allow combination like "weighted round robin" algorithm. Or Do we have any similar algorithm ? Example: 3 of 5 nodes are in better condition so I set them as weight 1 and the other two as weight 2.

Re: [SR-Users] Disable NAT for given IP range

2013-11-13 Thread John Murray
John, You can switch rfc1918 checking by changing the nat_uac_test flags. See: http://www.kamailio.org/docs/modules/4.0.x/modules/nathelper.html#idp1537653 6 Looks like 18 might fit for you. Regards John -Original Message- From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-b

[SR-Users] Disable NAT for given IP range

2013-11-13 Thread David Dean
Hello all, I have a kamailio server on a public IP address with a private interconnect into my office network. The private interconnect allows the server to see requests from individual 10.x.x.x IP addresses instead of everything coming through the public NAT. This avoids timeout issues and red

Re: [SR-Users] Kamailio stability/timing problem w.r.t. registrations?

2013-11-13 Thread Ovidiu Sas
In a previous e-mail, you posted a warning that you had while compiling: "no native memory barrier implementations, falling back to slow lock based workarround" which means that you are already running without atomic locks. Regards, Ovidiu Sas On Wed, Nov 13, 2013 at 10:40 AM, Sotas Development

Re: [SR-Users] Kamailio stability/timing problem w.r.t. registrations?

2013-11-13 Thread Sotas Development
Hi, Here's an update of this topic. We've tried again with the latest stable version 4.0.4. Unfortunately the problem still exists. In mails above it is mentioned to use kamailio without atomic locks. How do we this (e.g. which makefile options)? Kind regards, Bert (on behalf of Michiel Veldkam

Re: [SR-Users] Stuck dialogs

2013-11-13 Thread Daniel W. Graham
I will be storing signaling but am not currently. ACC is being done by asterisk and I don't have ACC in kamailio active currently. Is there a way to handle situations when BYE is not received? From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Wednesday, November 13, 2013 6:22 AM To

Re: [SR-Users] forward audio to another sip server

2013-11-13 Thread Daniel Grotti
Hi Joli, if you need to use an external media-relay, you need to change the IP in the SDP for INVITE (main route) and 200 OK (onreply route): You can try to use the fix_nated_sdp("2", "EXT_IP_ADDR"). http://kamailio.org/docs/modules/4.0.x/modules/nathelper.html#idp15360968 make sure that "EXT_

Re: [SR-Users] extract part of string / INVITE

2013-11-13 Thread Alex Balashov
Hi Oli, On 11/13/2013 06:13 AM, Oliver Roth wrote: Hi all I need to extract a part of the INVITE msg: INVITE sip:+4179615@82.197.185.185;user=CSC10824 SIP/2.0 I need 10824 in a avp variable. Hi Oli, The string you are operating on is called the Request URI, which is exposed by the

Re: [SR-Users] Stuck dialogs

2013-11-13 Thread Daniel-Constantin Mierla
Hello, if it is in both memory and database, then might be that the BYE was not received. Are you doing accounting with acc separately or store the signaling to check if the bye was processed? Cheers, Daniel On 11/12/13 9:23 PM, Daniel W. Graham wrote: Full output -- version: kamailio 4.0

Re: [SR-Users] extract part of string / INVITE

2013-11-13 Thread Daniel Grotti
Hi, have a look at Kamailio transformation: http://www.kamailio.org/wiki/cookbooks/4.0.x/transformations#uri_transformations Daniel On 11/13/2013 12:19 PM, Daniel-Constantin Mierla wrote: > Hello, > > try: > > $(ru{uri.param,user}{s.substr,3,0}) > > Cheers, > Daniel > > On 11/13/13 12:13 PM

Re: [SR-Users] extract part of string / INVITE

2013-11-13 Thread Daniel-Constantin Mierla
Hello, try: $(ru{uri.param,user}{s.substr,3,0}) Cheers, Daniel On 11/13/13 12:13 PM, Oliver Roth wrote: Hi all I need to extract a part of the INVITE msg: INVITE sip:+4179615@82.197.185.185;user=CSC10824 SIP/2.0 I need 10824 in a avp variable. Is there a regex function where I can

[SR-Users] DBTEXT / AVPOPS and custom database

2013-11-13 Thread Hugh James
Thanks Daniel, That helped my understanding further along , but it wasn't the full story . If I use $var(rc)=avp_db_load("$to/username","$avp(inbound)/LineIDs"); Then I still get no matches . But if I place entries in the uuid column of the table , then it works. I had assumed that since I

[SR-Users] extract part of string / INVITE

2013-11-13 Thread Oliver Roth
Hi all I need to extract a part of the INVITE msg: INVITE sip:+4179615@82.197.185.185;user=CSC10824 SIP/2.0 I need 10824 in a avp variable. Is there a regex function where I can extract this? Or how can this be done? Something like: Avp(myCSC) = string after CSC - length 5 Please be aware,