[Kamailio-Users] How can I access dialog attributes from within timeout route?

2009-09-17 Thread Nathan Angelacos
Hi, In kamailio 1.5.2-notls, I'm trying to get the CallID of a dialog that has timed out: if (is_method( "INVITE" ) && !has_totag()) { $dlg_ctx(timeout_route) = 21; } ... route[21] { xlog ("L_WARN", "Dead dialog: $dlg(callid)"); ex

Re: [Kamailio-Users] PCRE / Regex Module

2009-09-17 Thread brandon
Inaki, Ahah! thank you for this bit of information. Sent from my Verizon Wireless BlackBerry -Original Message- From: Iñaki Baz Castillo Date: Fri, 18 Sep 2009 02:42:29 To: Subject: Re: [Kamailio-Users] PCRE / Regex Module El Viernes, 18 de Septiembre de 2009, Brandon Armstead e

Re: [Kamailio-Users] PCRE / Regex Module

2009-09-17 Thread Iñaki Baz Castillo
El Viernes, 18 de Septiembre de 2009, Brandon Armstead escribió: > Hello, > I do not know why it did not dawn upon me to simply use the =~ > operator. However it does appear to error out / not compile: > > "(?i)(restricted|anonymous|private|unknown|unavailable)", i.e. > > produces a runtime

Re: [Kamailio-Users] PCRE / Regex Module

2009-09-17 Thread Brandon Armstead
Hello, I do not know why it did not dawn upon me to simply use the =~ operator. However it does appear to error out / not compile: "(?i)(restricted|anonymous|private|unknown|unavailable)", i.e. produces a runtime error: if($hdr(From) =~ "(?i)(restricted|anonymous|private|unknown|unavailable

Re: [Kamailio-Users] PCRE / Regex Module

2009-09-17 Thread Iñaki Baz Castillo
El Viernes, 18 de Septiembre de 2009, Iñaki Baz Castillo escribió: > El Viernes, 18 de Septiembre de 2009, Brandon Armstead escribió: > > Hello, > > I have the following pcre regex method call: > > > > pcre_match("$hdr(From)", "(?i)^(restricted|anonymous|private|unknown| > > unavailable)")

Re: [Kamailio-Users] PCRE / Regex Module

2009-09-17 Thread Iñaki Baz Castillo
El Viernes, 18 de Septiembre de 2009, Brandon Armstead escribió: > Hello, > I have the following pcre regex method call: > > pcre_match("$hdr(From)", "(?i)^(restricted|anonymous|private|unknown| unavailable)") > > to match calls that are sent without a proper ANI in a case-insensitive > m

Re: [Kamailio-Users] PCRE / Regex Module

2009-09-17 Thread Brandon Armstead
Hello, Just realized the " and the ^ is probably why it is not matching -- total oversight. Thanks guys! Sincerely, Brandon Armstead On Thu, Sep 17, 2009 at 4:55 PM, Brandon Armstead wrote: > Hello, > I have the following pcre regex method call: pcre_match("$hdr(From)", > "(?i)^(restricted

[Kamailio-Users] PCRE / Regex Module

2009-09-17 Thread Brandon Armstead
Hello, I have the following pcre regex method call: pcre_match("$hdr(From)", "(?i)^(restricted|anonymous|private|unknown|unavailable)") to match calls that are sent without a proper ANI in a case-insensitive manner, however it does not seem to return true for the following example From Header:

Re: [Kamailio-Users] Kamailio speed dial

2009-09-17 Thread Elena-Ramona Modroiu
Hi, please do not forget to CC the list. Your xlog statements print $tu - to header uri, not $ru, request-uri, which is the one updated by speed dial. Make the update and if you still get same result either is an error printed by sd_lookup() in log or the table is not populated properly. Se

Re: [Kamailio-Users] RTPproxy pre-filling callee // media address

2009-09-17 Thread Andreas Granig
Nick, I thought those flags/ip address settings was the change the SDP part of the SIP message. I tried your suggestion anyway, but it didn't work. What I'm really looking for is how to change what Kamailio is telling RTPProxy via the socket. You can configure rtpproxy by listening to two

Re: [Kamailio-Users] RTPproxy pre-filling callee // media address

2009-09-17 Thread Nick Lemberger
I thought those flags/ip address settings was the change the SDP part of the SIP message. I tried your suggestion anyway, but it didn't work. What I'm really looking for is how to change what Kamailio is telling RTPProxy via the socket. -Nick >>> On 9/17/2009 at 8:31 AM, in message , Laszlo

[Kamailio-Users] questions about TLS

2009-09-17 Thread zhangchao00001
Hello everybody: I've have some questions about tls connection. How to build the tls connection between two proxy? there's just one function is_peer_verified() in tlsops module. Is it that we set the paramer, the proxy will connect by itself or we should build the connection in the config

[Kamailio-Users] RTPproxy pre-filling callee // media address

2009-09-17 Thread Nick Lemberger
Sone background: I'm trying to use Kamailio as a multi-homed proxy in front of a softswitch, one NIC has a public IP, the other a private. The softswitch is in the private network and all SIP messaging goes through a 'virtual IP' on the softswitch which allows for statefull failover between the

Re: [Kamailio-Users] kamailio 1.4.3 slow

2009-09-17 Thread Juan Perez
than you a lot Henning for your suggestions, I will try to do all of that  but the lab stuff because we already have a lab setup but it works superb too, only on the new machine is when we have found the prob. in all our other scenarios kamailio runs super fast, processing a lot of calls per sec

Re: [Kamailio-Users] SIP Router Development Meeting - Oct 2, 2009, Berlin, Germany

2009-09-17 Thread Daniel-Constantin Mierla
Hello, here is the exact address of the event: FhG Fokus, Room 1008 Kaiserin-Augusta-Allee 31 10589 Berlin - venue of the location: http://www.fokus.fraunhofer.de/en/fokus/institut/service/anfahrt/anfahrt_berlin/index.html A hotel well connected to public transportation and within walking dist

Re: [Kamailio-Users] kamailio 1.4.3 slow

2009-09-17 Thread Henning Westerholt
On Mittwoch, 16. September 2009, Juan Perez wrote: > In another scenario in our secondary site I am using another Dell Poweredge > 1950, with dual quad core almost at the same speed and 64 bits , same > version of CentOS and it is working like a charm. A lot of calls and CPU > idle almost 100% all

Re: [Kamailio-Users] room does not exists in IMC

2009-09-17 Thread Schumann Sebastian
You should check if it sends plain text. Some clients send HTML formatted messages, so the module does not interpret your command as command, but normal "text" to the channel (that does indeed not exist then). If that does not work, try to create the room "manually" into the imc_rooms table *BE

Re: [Kamailio-Users] room does not exists in IMC

2009-09-17 Thread Daniel-Constantin Mierla
Hello, put this line before the imc_manager() xlog("going to imd: F [$fu] T [$tu] B [$rb]\n"); -- you have something with xdbg(), can change it to xlog, and send it here. Cheers, Daniel On 17.09.2009 6:59 Uhr, Rajesh wrote: Dear Experts, I have been trying to configu