Re: [SR-Users] negative www_authorize result codes

2011-11-08 Thread Daniel-Constantin Mierla
Hello, On 11/9/11 3:10 AM, Juha Heinanen wrote: auth_db/README tells this about www_authorize() negative result codes: Negative codes may be interpreted as follows: * -1 (generic error) - some generic error occurred and no reply was sent out; * -2 (invalid password) - va

Re: [SR-Users] Kamailio Dispatcher fails in front of FreeSwitch, help (again).

2011-11-08 Thread Daniel-Constantin Mierla
Hello, sorry, haven't actually got to look deep at it, but I updated the config file in the dispatcher readme (had in mind to ping you about it, but got out of office meanwhile) -- that maybe it will help you: http://kamailio.org/docs/modules/stable/modules_k/dispatcher.html#id2523004 Should

[SR-Users] negative www_authorize result codes

2011-11-08 Thread Juha Heinanen
auth_db/README tells this about www_authorize() negative result codes: Negative codes may be interpreted as follows: * -1 (generic error) - some generic error occurred and no reply was sent out; * -2 (invalid password) - valid user, but wrong password; * -3 (invalid user)

Re: [SR-Users] Kamailio Dispatcher fails in front of FreeSwitch, help (again).

2011-11-08 Thread Henrik Aagaard Sørensen
Hi Daniel. I just wanted to hear if you have had any time to look at the Kamailio Dispatcher <-> FreeSwitch problem? This is NOT to rush you. I've followed the mailing list and can see how busy you are and how much involved you are in all this, so I fully respect all the help you give to this mai

Re: [SR-Users] uacreg question

2011-11-08 Thread Lucas Alvarez
After restarting kamailio, there isn't any packet sent to the voipprovider, how can I debug this? I'm stuck here. Thanks in advance, Lucas Alvarez On Tue, Nov 8, 2011 at 6:11 PM, Lucas Alvarez wrote: > Thanks Alex for you quick answer, I'm using kamailio 3.1.3 and I've > restarted kamaili after

Re: [SR-Users] uacreg question

2011-11-08 Thread Lucas Alvarez
Thanks Alex for you quick answer, I'm using kamailio 3.1.3 and I've restarted kamaili after I populate the table. Regards, Lucas On Tue, Nov 8, 2011 at 6:09 PM, Alex Balashov wrote: > Are you restarting Kamailio after populating the data? The table is only > loaded on boot. > > -- > This messag

Re: [SR-Users] uacreg question

2011-11-08 Thread Alex Balashov
Are you restarting Kamailio after populating the data? The table is only loaded on boot. -- This message was painstakingly thumbed out on my mobile, so apologies for brevity, errors, and general sloppiness. Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlan

[SR-Users] uacreg question

2011-11-08 Thread Lucas Alvarez
Hi, I have properly populate the table "uacreg" as says here: http://by-miconda.blogspot.com/2010/10/best-of-new-in-kamailio-310-10.html and I'm loading the uac module, is there anything I could be missing? Because I'm not seeing any register packet being sent to my sip provider. Thanks in advance,

[SR-Users] TOS=0 in kamailio.cfg

2011-11-08 Thread DELEY Marion
Hi, I'm trying to set tos value to zero but kamailio doesn't accept it. In fact, it's DSCP field which interest me but i can't set zero. Can you explain me why is it forbidden and how can i do that ? Thanks a lot Marion ___ SIP Express Router (SER)

[SR-Users] how to give integer avp name in pseudo variable?

2011-11-08 Thread Juha Heinanen
i have not been able to figure out, how to give integer avp name in a pseudo variable. test $var(name) = "i:1000"; $avp($var(name)) = "value"; xlog("L_INFO", "avp i:1000 has value <$avp(i:1000)>\n"); xlog("L_INFO", "avp s:i1000 has value <$avp(s:i:1000)>\n"); produces to syslog N

Re: [SR-Users] how to give integer avp name in pseudo variable?

2011-11-08 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > go ahead and add notes about it -- any improvement to documentation is > welcome and always good, no matter how obvious the information is for > some people or not. i added in pv doc third (pseudo variable) option for avp id. i'm a bit confused about the two

[SR-Users] db_mysql -> unhandled data type column

2011-11-08 Thread Stephen Dodge (Bistech)
Hello, We are using Kamailio 3.1.5 in production. We use the sqlops module to run a mysql function to return parameters. In the logs I am seeing the flowing warnings. /usr/sbin/kamailio[3991]: WARNING: db_mysql [km_res.c:143]: unhandled data type column (diallednumber) type id (6), use DB1_

Re: [SR-Users] how to give integer avp name in pseudo variable?

2011-11-08 Thread Daniel-Constantin Mierla
Hello, On 11/8/11 12:29 PM, Juha Heinanen wrote: answering to myself, the solution is to assign integer value to $var(name). test $var(name) = 1000; $avp($var(name)) = "value"; xlog("L_INFO", "avp i:1000 has value<$avp(i:1000)>\n"); xlog("L_INFO", "avp s:i1000 has value<$avp

[SR-Users] how to give integer avp name in pseudo variable?

2011-11-08 Thread Juha Heinanen
answering to myself, the solution is to assign integer value to $var(name). test $var(name) = 1000; $avp($var(name)) = "value"; xlog("L_INFO", "avp i:1000 has value <$avp(i:1000)>\n"); xlog("L_INFO", "avp s:i1000 has value <$avp(s:i:1000)>\n"); produces to syslog Nov 8 13:26:25

[SR-Users] how to give integer avp name in pseudo variable?

2011-11-08 Thread Juha Heinanen
i have not been able to figure out, how to give integer avp name in a pseudo variable. test $var(name) = "i:1000"; $avp($var(name)) = "value"; xlog("L_INFO", "avp i:1000 has value <$avp(i:1000)>\n"); xlog("L_INFO", "avp s:i1000 has value <$avp(s:i:1000)>\n"); produces to syslog N

Re: [SR-Users] Kamailio 1.5 and Asterisk 1.8 issue (Protocol Error, Unspecified)

2011-11-08 Thread Daniel-Constantin Mierla
Hello, the replies is coming from asterisk, so the issue is very likely to be there. Maybe you can run asterisk in debug mode and you get some log message indicating what is the problem. On another hand, the trace you provided is not complete, in order to tell whether the forwarding in kamai

Re: [SR-Users] Conditional uacreg

2011-11-08 Thread Daniel-Constantin Mierla
Hello, On 11/7/11 2:55 AM, Alex Balashov wrote: Daniel, Sorry for the mis-threaded reply; I lost your original response and am having to reply to my own. I haven't actually tried dropping uacreg registrations in onsend_route, but the explanation of onsend_route limitations in the core coo

Re: [SR-Users] SQL Server

2011-11-08 Thread Daniel-Constantin Mierla
Just for sake of completion, one can discover supported db connectors by looking inside the source tree in the folders modules/ and modules_k/ for the modules starting with 'db_'. Not all db connectors are for sql servers, some of them work with local system files (e.g., db_sqlite) Cheers, Dan