Re: [Kamailio-Users] [sr-dev] Functions that don't accept pvars.

2009-10-01 Thread Alex Balashov
Henning Westerholt wrote: Ah, you mean something like a "pv_printf()" exported to the configuration file? This would be indeed a nice workaround, but not sure if its possible on a first glance. Perhaps Daniel can comment on this? Yeah, exactly. :) A container that defers binding of the stri

Re: [Kamailio-Users] [sr-dev] Functions that don't accept pvars.

2009-10-01 Thread Henning Westerholt
On Fri, October 2, 2009 6:17 am, Alex Balashov wrote: > Come to think of it, I don't even know if this is entirely possible > with rtpproxy. In order to forward packets between interfaces it > appears that "bridging mode" is required, and in order to activate it > two listen addresses must be spec

Re: [Kamailio-Users] Functions that don't accept pvars.

2009-10-01 Thread Alex Balashov
Come to think of it, I don't even know if this is entirely possible with rtpproxy. In order to forward packets between interfaces it appears that "bridging mode" is required, and in order to activate it two listen addresses must be specified - but only two, and not more than two. I just figu

Re: [Kamailio-Users] Functions that don't accept pvars.

2009-10-01 Thread Alex Balashov
The reason I need to do this, by the way, is because I have a host with 5 network interfaces and depending on where the media is going the source IP of the media needs to be different. But there are too many possible combinations for me to just put all of the possible scenarios statically into

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

2009-10-01 Thread Nathan Angelacos
Hi again, Daniel-Constantin Mierla wrote: Hello, On 01.10.2009 19:46 Uhr, Nathan Angelacos wrote: [...] 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

[Kamailio-Users] Functions that don't accept pvars.

2009-10-01 Thread Alex Balashov
It's very frustrating that some functions don't accept pseudovariables and there's no workaround. For example, in this case I need rtpproxy_offer() and rtpproxy_answer() to accept an IP address argument that is retrieved from a database. However, this won't work. rtpproxy_offer("", $var(s

Re: [Kamailio-Users] Siremis JSON error

2009-10-01 Thread Elena-Ramona Modroiu
Luis Guaman wrote: Thanks Santiago, now it works great! siremis/metadata/Config.xml with changes: DBName="openser" User="openser" Password="" /> DBName="openser" User="openser" Password="" /> so that was missing in the sample metadata/Config.xml file -- I did a quick 0

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

2009-10-01 Thread Daniel-Constantin Mierla
Hello, On 01.10.2009 19:46 Uhr, Nathan Angelacos wrote: [...] 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

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

2009-10-01 Thread Nathan Angelacos
Hello, Daniel-Constantin Mierla wrote: Hello, Nathan Angelacos wrote: 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; } ...

Re: [Kamailio-Users] Siremis JSON error

2009-10-01 Thread Luis Guaman
Thanks Santiago, now it works great! siremis/metadata/Config.xml with changes: De: Santiago Gimeno [mailto:santiago.gim...@gmail.com] Enviado el: Jueves, 01 de Octubre de 2009 4:27 Para: Luis Guaman CC: users@lists.kamailio.org Asunto: Re: [Kamailio-Users] Sire

Re: [Kamailio-Users] Book: SIP Security

2009-10-01 Thread Saúl Ibarra
Totally agree, I found it a while ago and I think it's a really good reference :) -- /Saúl http://www.saghul.net | http://www.sipdoc.net ___ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/li

Re: [Kamailio-Users] Siremis JSON error

2009-10-01 Thread Elena-Ramona Modroiu
Hello, Santiago Gimeno wrote: Hi Luis, I ran into this problem too. In order to solve it I had to add a new Database element to the siremis/metadata/Config.xml file with the Name attribute set to Default and pointing to your openser database. I don't know the reason of having two Databases e

Re: [Kamailio-Users] Book: SIP Security

2009-10-01 Thread Victor Pascual Avila
On Thu, Oct 1, 2009 at 11:28 AM, Daniel-Constantin Mierla wrote: > This book might be an interesting reading: > > http://by-miconda.blogspot.com/2009/09/book-sip-security.html I've been using this book as a reference during the last couple of months and must say it is worthy of a place on a techn

[Kamailio-Users] Book: SIP Security

2009-10-01 Thread Daniel-Constantin Mierla
This book might be an interesting reading: http://by-miconda.blogspot.com/2009/09/book-sip-security.html Cheers, Daniel -- Daniel-Constantin Mierla * Kamailio SIP Masterclass, Nov 9-13, 2009, Berlin * http://www.asipto.com/index.php/sip-router-masterclass/

Re: [Kamailio-Users] Siremis JSON error

2009-10-01 Thread Santiago Gimeno
Hi Luis, I ran into this problem too. In order to solve it I had to add a new Database element to the siremis/metadata/Config.xml file with the Name attribute set to Default and pointing to your openser database. I don't know the reason of having two Databases elements pointing to the same databas

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

2009-10-01 Thread Daniel-Constantin Mierla
Hello, Nathan Angelacos wrote: 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 di

[Kamailio-Users] Siremis JSON error

2009-10-01 Thread Luis Guaman
Hi, When we tried to run a Siremis Chart got the following error message: “Open Flash Chart JSON Parse Error [Syntax Error] Error at character 0, line 1: 0: Error m” Some help?? Atentamente, Luis Guamán Desarrollo de Negocios República 396 y Diego de Almagro Ph:+593.