Re: [SR-Users] Working with Variables.

2010-10-26 Thread dotnetdub
On 27 October 2010 07:27, Alex Balashov wrote: > On 10/27/2010 02:16 AM, dotnetdub wrote: > > Where is the best place to lookup documentation about working with >> variables. >> >> I come from the if len(x$)=y then >> >> xxx >>

Re: [SR-Users] Working with Variables.

2010-10-26 Thread Alex Balashov
On 10/27/2010 02:16 AM, dotnetdub wrote: Where is the best place to lookup documentation about working with variables. I come from the if len(x$)=y then xxx xxx xxx

[SR-Users] Working with Variables.

2010-10-26 Thread dotnetdub
Hi List, Where is the best place to lookup documentation about working with variables. I come from the if len(x$)=y then xxx xxx xxx End If school! Looking for

[SR-Users] About "reply_code" in 'carrierroute' module

2010-10-26 Thread Iñaki Baz Castillo
Hi, how is the syntax of the "reply_code" column in 'carrierroute' module? In the doc I some examples: 408 404 50. Obviously "50." means any code starting by "50", but is it a typical regular expression? For example, does it allow something like "500|503" or "50[03]"? Thanks. -- Iñaki Ba

[SR-Users] Dialplan module sample

2010-10-26 Thread Uriel Rozenbaum
Hey guys, Does someone have an example for rules used with this module? I understand how to use the module, but not how to fill the database. I intend to use some prefix matching and regex (if available). Thanks in advance! Uriel ___ SIP Express Route

Re: [SR-Users] Sanity module documentation error?

2010-10-26 Thread Daniel-Constantin Mierla
On 10/26/10 1:15 PM, Jeremya wrote: While you are on the topic of documentation errors: The module documentation for DB_TEXT is still wrong - after a long while. The URL should be text:// rather that dbtext:// fixed, thanks for reporting/reminder. Cheers, Daniel Sergey Okhapkin wrote:

Re: [SR-Users] provoke delay?

2010-10-26 Thread Alex Balashov
Interesting stuff! Just to clarify, I was not accusing you. I was being a little tongue- in-cheek. :) -- Alex Balashov - Principal Evariste Systems LLC 1170 Peachtree Street 12th Floor, Suite 1200 Atlanta, GA 30309 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/ On

Re: [SR-Users] provoke delay?

2010-10-26 Thread Iñaki Baz Castillo
2010/10/26 "Nicolas Rüger" : > I want to delay some of these suspicios calls instead of rejecting them > completly as rejecting a call is really hard. > > Further I expect automatically initiated calls to have a timeout. If the > "spitting" party won't get an answer fast enough it might walk on a

Re: [SR-Users] provoke delay?

2010-10-26 Thread Nicolas Rüger
Hi Alex, NO that definitely NOT the motive!!! I do write my master's thesis about SPIT prevention (SPAM over Internet Telephony) and I try to implement several ideas in kamailio to detect SIP-URI's that try to "spit". So don't worry...I won't use your help to do illegal stuff! Hope that's cla

Re: [SR-Users] provoke delay?

2010-10-26 Thread Alex Balashov
I get this question a lot privately from people who want to play games to pad out the billable time in a call by sitting on it for a while before passing it up to their vendors/upstreams. If by chance that is the real motive, don't do it. :-) It's far more trouble than it's worth. -- Alex

Re: [SR-Users] provoke delay?

2010-10-26 Thread Daniel-Constantin Mierla
On 10/26/10 5:34 PM, "Nicolas Rüger" wrote: Hello, thank you. I see the problem with the worker processes now. I had a look at PIKE module and RATELIMIT module as well. My idea was to delay the call WITHOUT sending any reply-message to the caller, as I wanted to save performance and I can i

Re: [SR-Users] provoke delay?

2010-10-26 Thread Nicolas Rüger
Hello, thank you. I see the problem with the worker processes now. I had a look at PIKE module and RATELIMIT module as well. My idea was to delay the call WITHOUT sending any reply-message to the caller, as I wanted to save performance and I can identify suspicios users by a reputation that I

Re: [SR-Users] provoke delay?

2010-10-26 Thread marius zbihlei
On 10/26/2010 05:09 PM, Alex Balashov wrote: Pike or ratelimit modules may facilitate this; otherwise, no. -- Alex Balashov - Principal Evariste Systems LLC 1170 Peachtree Street 12th Floor, Suite 1200 Atlanta, GA 30309 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys

Re: [SR-Users] provoke delay?

2010-10-26 Thread Alex Balashov
Pike or ratelimit modules may facilitate this; otherwise, no. -- Alex Balashov - Principal Evariste Systems LLC 1170 Peachtree Street 12th Floor, Suite 1200 Atlanta, GA 30309 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/ On Oct 26, 2010, at 9:55 AM, "Nicolas Rüger"

[SR-Users] provoke delay?

2010-10-26 Thread Nicolas Rüger
Hello, is there a mechanism to provoke a DELAY for certain incoming INVITES before passing them to the callee??? Just the single message needs to be delayed as the caller might be suspicios. I do already have a list in database and can check the caller against the list. I do need something in

[SR-Users] setdebug() and 3.X

2010-10-26 Thread Sergey Okhapkin
setdebug() function is no longer provided by core. How to change debug level dynamically in the script to trace execution of a few statements only? ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org

Re: [SR-Users] Psuedo Variable.

2010-10-26 Thread Daniel-Constantin Mierla
Hello, $ad is exported by pv module so it should work. Can you try to use $(ad) and see if works? Can you run with - -E and paste the log messages here? Cheers, Daniel On 10/26/10 3:03 AM, David J. wrote: Hello List; I was following along the Kamailio Asterisk Realtime Integration; I

Re: [SR-Users] Drouting usage

2010-10-26 Thread Javier Gallart
Thanks Marius, that was it. Regards Javier On Mon, Oct 25, 2010 at 10:08 PM, wrote: > Send sr-users mailing list submissions to >sr-users@lists.sip-router.org > > To subscribe or unsubscribe via the World Wide Web, visit >http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr

Re: [SR-Users] Sanity module documentation error?

2010-10-26 Thread Sergey Okhapkin
Nevermind, I did refresh in firefox and now see new error codes. On Tuesday 26 October 2010, Sergey Okhapkin wrote: > Correct, the page mentions old 3.0 error codes, but not new error codes > returned by merged auth module. For example, functions return -3 for > invalid user condition. > > On Tu

Re: [SR-Users] Sanity module documentation error?

2010-10-26 Thread Jeremya
While you are on the topic of documentation errors: The module documentation for DB_TEXT is still wrong - after a long while. The URL should be text:// rather that dbtext:// Sergey Okhapkin wrote: > Documentation of auth_db module is wrong too, error codes returned by > www_authorize and proxy_

Re: [SR-Users] Sanity module documentation error?

2010-10-26 Thread Sergey Okhapkin
Correct, the page mentions old 3.0 error codes, but not new error codes returned by merged auth module. For example, functions return -3 for invalid user condition. On Tuesday 26 October 2010, Daniel-Constantin Mierla wrote: > On 10/26/10 12:56 PM, Sergey Okhapkin wrote: > > Documentation of aut

Re: [SR-Users] Sanity module documentation error?

2010-10-26 Thread Daniel-Constantin Mierla
On 10/26/10 12:56 PM, Sergey Okhapkin wrote: Documentation of auth_db module is wrong too, error codes returned by www_authorize and proxy_authorize are different. do you mean the last version of it? http://kamailio.org/docs/modules/3.1.x/modules_k/auth_db.html I did some fixes regarding the

Re: [SR-Users] Sanity module documentation error?

2010-10-26 Thread Sergey Okhapkin
Documentation of auth_db module is wrong too, error codes returned by www_authorize and proxy_authorize are different. On Tuesday 26 October 2010, Daniel-Constantin Mierla wrote: > Hello, > > indeed, the readme was misleading, the function return false when a > check fails. I updated the readme

[SR-Users] SIP application type

2010-10-26 Thread Mino Haluz
Hi, I'm using radius server to do an accounting, but it does not store an application type (audo/video). Audio/video calls has to be rated with cdrtool, that is why I need this information. It is not even sent through radius protocol, so the radius server cannot get it. My extra-params are: modpa

[SR-Users] SMS module big error ????????????

2010-10-26 Thread peter_green lion
hi all, i have configure SMS module and have some error. please help to fix it. my configure in kamailio : modparam("sms", "modems", "nokia[d=/dev/ttyUSB0;p=;m=old;s=1;l=10;r=20]") modparam("sms", "networks", "MOBIFONE[m=10]") modparam("sms", "links", "nokia[MOBIFONE]") if(method == "MESSAG

[SR-Users] libosip2 parse body error

2010-10-26 Thread t
Hi, Not sure how to provide this info (or even if anybody cares), but libosip2 parser objects to incorrect (short) Content-Length from iptel.org. Regards, Tony. 20:15:21 sock.c:434 send UDP packet to 213.192.59.75: 5060 ---BUFFER DUMP follows--- 53 49 50 2f 32 2e 30 20 32 30 30 20 4f 4b 0d 0a S

Re: [SR-Users] ERROR

2010-10-26 Thread Elena-Ramona Modroiu
On 10/22/2010 01:48 PM, michel freiha wrote: Guys I'm getting the below error...Can anybody help please? Oct 22 12:27:17 localhost /usr/local/sbin/kamailio[28566]: ERROR:

Re: [SR-Users] Sanity module documentation error?

2010-10-26 Thread Daniel-Constantin Mierla
Hello, indeed, the readme was misleading, the function return false when a check fails. I updated the readme and committed to git. Thanks, Daniel On 10/25/10 12:48 AM, Sergey Okhapkin wrote: The routing script has if(sanity_check("1159", "6")) { xlog("L_INFO","Bad

Re: [SR-Users] Outbound load balancing

2010-10-26 Thread Kenny Lee
I am currently using carrierroute on 3.0.x for outbound load balancing. Dispatcher is also available on 3.0.x. Regards,Kenny Date: Mon, 25 Oct 2010 14:00:20 +0100 From: lee.arc...@thebigword.com To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Outbound load balancing Message bodyThank