[SR-Users] help to config cfg_db module in kamailio 3.0.1

2010-08-17 Thread truong ngoc THANH
Hi all , I try to configure with cfg_db, but after create and insert value into tables in mysql , I cannot start kamailio. I add My config in kamalio.cfg == Loadmodule “cfg_db.so” modparam("cfg_db", "db_url", "mysql://openser:opense...@localhost/kamailio") modparam("cfg_db", "transl_t

[SR-Users] Users are not registering on my Kamailio

2010-08-17 Thread Toyima Dias
HEllo community, I'm having some problems with my kamailio configuration, following is the section of my authentication process on my /etc/kamailio/kamailio.cfg route [3] { if (is_method("REGISTER")) { if (!www_authorize("", "subscriber")) { www_

[SR-Users] module load path and -L

2010-08-17 Thread Daniel-Constantin Mierla
Hello, the path to modules can be specified via command line option -L or cfg parameter loadpath (aliased as mpath for K backward compat). loadpath overwrites the value given by -L. The question is whether the value given via -L shouldn't be effective all the time (i.e., loadpath cfg parame

Re: [SR-Users] Evaluate Perl Return Value in Routing Logic

2010-08-17 Thread Nicolas Rüger
Hello Henning, thanks for the help. Your idea kept me trying as the C-code shows that it should return the result from the PERL subroutine as you already mentioned in your answer. Two points I want to name here: 1) I'm still confused that the methods in perl/perlfunc.c are called "perl_exec

Re: [SR-Users] Evaluate Perl Return Value in Routing Logic

2010-08-17 Thread Henning Westerholt
On Tuesday 17 August 2010, Nicolas Rüger wrote: > is there any way to use or evaluate the return-statements of a perl-script > in kamailio.cfg? > > I tried the following in the Routing Logic in kamailio.cfg: > > > > if (is_method("INVITE")) { > if (perl_exec("my_perl_subroutine") == -1){

[SR-Users] Evaluate Perl Return Value in Routing Logic

2010-08-17 Thread Nicolas Rüger
Hello, is there any way to use or evaluate the return-statements of a perl-script in kamailio.cfg? I tried the following in the Routing Logic in kamailio.cfg: if (is_method("INVITE")) { if (perl_exec("my_perl_subroutine") == -1){ xlog("PERL returns -1 \n"); } }

[SR-Users] testing phase for 3.1

2010-08-17 Thread Daniel-Constantin Mierla
Hello, fyi, we entered in testing phase in order to prepare next major release, numbered 3.1.0. Please help to fill the wiki pages for what is new in this version and migration from 3.0.x: http://sip-router.org/wiki/install/3.0.x-to-3.1.x http://sip-router.org/wiki/features/new-in-devel Te

Re: [SR-Users] [sr-dev] set From and To attributes in assignments

2010-08-17 Thread Daniel-Constantin Mierla
On 8/13/10 12:55 PM, Iñaki Baz Castillo wrote: 2010/8/13 Daniel-Constantin Mierla: Hello, I committed in master branch (to be 3.1.0) code that allows to set uri, username, domain and display name for To and From headers using assignments to their respective PVs in configuration file. For ex

Re: [SR-Users] [sr-dev] Freezing for 3.1 on Monday, Aug 16, sms module merge

2010-08-17 Thread Daniel-Constantin Mierla
Hi Henning, On 8/13/10 6:12 PM, Henning Westerholt wrote: On Tuesday 10 August 2010, Henning Westerholt wrote: [..] Probably during the freeze we can still merge some modules (in the way of moving one version to modules and removing the other as long as remaining version includes the features

Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy

2010-08-17 Thread Daniel-Constantin Mierla
Hello, please send full log at startup, your snippets include just few lines per process, being mixed from different processes. Cheers, Daniel On 8/14/10 3:54 AM, KevinJin wrote: > Hello, > > > Date: Thu, 12 Aug 2010 22:1

Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy

2010-08-17 Thread Daniel-Constantin Mierla
Hello, please send full log at startup, your snippets include just few lines per process, being mixed from different processes. Cheers, Daniel On 8/14/10 3:54 AM, KevinJin wrote: > Hello, > > > Date: Thu, 12 Aug 2010 22:1

Re: [SR-Users] Kamailio doesn't start

2010-08-17 Thread Daniel-Constantin Mierla
Hello, On 8/17/10 9:00 AM, Ernest Mavrel wrote: Have anyone tried 64-bit OS and Kamailio 3.0.2? yes, I have it on couple 64b centos and debian. No issue... Cheers, Daniel Ernest On 09. 08.

Re: [SR-Users] Kamailio doesn't start

2010-08-17 Thread Daniel-Constantin Mierla
Hello, On 8/9/10 12:51 PM, Ernest Mavrel wrote: Hi all Today I changed OS Ubunto 10.4 64-bit with Ubunto 10.4 32-bit and kamailio is on. Why I have problems with 64-bit? I had couple of days off, I will look over the last emails and see if I can spot something. Looks like the value returned

Re: [SR-Users] Kamailio doesn't start

2010-08-17 Thread Ernest Mavrel
Have anyone tried 64-bit OS and Kamailio 3.0.2? Ernest On 09. 08. 2010 12:51, Ernest Mavrel wrote: Hi all Today I changed OS Ubunto 10.4 64-bit with Ubunto 10.4 32-bit and kamailio is on. Why I have problems with 64-bit?