Re: [SR-Users] [sr-dev] testing phase for 3.1

2010-08-18 Thread Iñaki Baz Castillo
2010/8/18 Carsten Bock : > Hi, > I've noticed, my RTP-Proxy changes where for the latest K already. I have > modified them, to work with the latest rtpproxy/nathelper split. I will do > some more testing (they are in the branch carstenbock/rtpproxy). > I have added the suggested extension to th

Re: [SR-Users] [sr-dev] testing phase for 3.1

2010-08-18 Thread Carsten Bock
Hi, I've noticed, my RTP-Proxy changes where for the latest K already. I have modified them, to work with the latest rtpproxy/nathelper split. I will do some more testing (they are in the branch carstenbock/rtpproxy). I have added the suggested extension to the K-Dialog-mi-Interface: I have cr

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

2010-08-18 Thread truong ngoc THANH
dear Daniel, when i add xlog("my var value is: $sel(cfg_get.my.route_addr)\n"); i see that kamailio load right value. my scenarios as: my kamailio server(192.168.1.40) and the $sel(cfg_get.my.route_addr) is 192.168.1.110 i register with 1...@192.168.1.40 and 2...@192.168.1.40 then i make call

Re: [SR-Users] [sr-dev] preparing kamailio 3.0.3

2010-08-18 Thread Daniel-Constantin Mierla
Hello, a bit delayed to get the submitted patched for 1.5 and 3.0 some time to bake, I plan to package kamailio 3.0.3 tomorrow evening if there is nothing critical left. Thanks, Daniel On 7/21/10 2:42 PM, Daniel-Constantin Mierla wrote: On 7/21/10 1:04 PM, Andrei Pelinescu-Onciul wrote:

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

2010-08-18 Thread Daniel-Constantin Mierla
On 8/17/10 7:14 PM, KevinJin wrote: > Hello Daniel, > > What does the nathelper error messages mean? > == > hmm, invalid argurment ... try with this line: > > LM_ERR("can't send command to a RTP proxy (%s/%d) [sock %d (%d), vcnt > %d]\n", > strerror(errno), errno, rtpp_socks[node->idx], n

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

2010-08-18 Thread Daniel-Constantin Mierla
Hello, that is only the part to configure the cfg_db module. That creates the config variables, but you need to use them somewhere in routing blocks, like: if($sel(cfg_get.my.route_addr)=="some value") ... Or at least you can use xlog to print the value of this variable: xlog("my var value

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

2010-08-18 Thread truong ngoc THANH
dear Daniel, my configure as : I add My config in kamalio.cfg == Loadmodule “cfg_db.so” modparam("cfg_db", "db_url", "mysql://openser:openserrw localhost/kamailio") modparam("cfg_db", "transl_tbl", "cfg_transl") modparam("cfg_db", "custom_tbl",

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

2010-08-18 Thread Daniel-Constantin Mierla
On 8/18/10 7:20 PM, truong ngoc THANH wrote: i don`t know, the kamailio is start ok, is command 'ps auxw|grep kamailio' showing you some running kamailio processes? but my configure in cfg_db is not work. please suggest what i do and what happen ? How you figure out is not working? How

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

2010-08-18 Thread truong ngoc THANH
i don`t know, the kamailio is start ok, but my configure in cfg_db is not work. please suggest what i do and what happen ? thanks for help me. TRUONG NGOC THANH Telecommunications Engineer Tel: 0984 480 646 Y!M: ngoc217thanh From: Daniel-Constantin Mierla To:

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

2010-08-18 Thread Daniel-Constantin Mierla
Hello, On 8/18/10 6:34 PM, truong ngoc THANH wrote: Thanks so much, but the log is more. 0(2285) DEBUG: [main.c:1800]: read 972552225 from /dev/urandom 0(2285) DEBUG: [main.c:1806]: seeding PRNG with 2254742755 0(2285) DEBUG: [main.c:1810]: test random numbers 1619886338 1418625528 23448

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

2010-08-18 Thread Daniel-Constantin Mierla
Hello, apart of the email with logs, or private data that was required, please continue the discussion on public mailing list. I need some time to check the logs, the first inconvenience is the rar archive, a zip or tgz is much better -- not a fan of installing binaries from unknown companies on

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

2010-08-18 Thread truong ngoc THANH
Thanks so much, but the log is more. 0(2285) DEBUG: [main.c:1800]: read 972552225 from /dev/urandom 0(2285) DEBUG: [main.c:1806]: seeding PRNG with 2254742755 0(2285) DEBUG: [main.c:1810]: test random numbers 1619886338 1418625528 2344803195 loading modules under /usr/local/lib/kamailio/mod

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

2010-08-18 Thread Daniel-Constantin Mierla
Hello, first, keep the mailing list on cc, otherwise future emails will be ignored. Then, the -ddd and -E parameters are for kamailio, not kamctl. Just run: kamailio -ddd -E of course, if you have a custom path to your config, keep you -c /path/to/cfg parameter. Cheers, Daniel On 8/18/1

Re: [SR-Users] PDB module

2010-08-18 Thread Henning Westerholt
On Wednesday 18 August 2010, Ernest Mavrel wrote: > Kamailio script I thing is ok. I have problem with setup PDB server. In doc > is written: "The client is this module and the server exists in the > /utils/pdbt directory." How to establish PDB server. I went to the > /utils/pdbt, compile and in

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

2010-08-18 Thread Daniel-Constantin Mierla
Hello, not a user of this module, however, start kamailio with parameters -ddd -E and paste the output here. Do you declare my.route_addr in config file as well? Might be that the parameter is declared in cfg_custom table, the startup debug log should give more hints. Thanks, Daniel On

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

2010-08-18 Thread Daniel-Constantin Mierla
Hello, run Kamailio with higher debug value (debug=4) and watch the syslog, you should get some hints about authentication failure - can be wrong password, invalid nonce, etc Also, you should consider using 3.0 directly if you just start the configuration. It has lot of improvements and nex

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

2010-08-18 Thread Henning Westerholt
On Tuesday 17 August 2010, Nicolas Rüger wrote: > 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

Re: [SR-Users] PDB module

2010-08-18 Thread Ernest Mavrel
Kamailio script I thing is ok. I have problem with setup PDB server. In doc is written: "The client is this module and the server exists in the /utils/pdbt directory." How to establish PDB server. I went to the /utils/pdbt, compile and install. What is next step? Th

Re: [SR-Users] PDB module

2010-08-18 Thread Henning Westerholt
On Wednesday 18 August 2010, Ernest Mavrel wrote: > How to set up PDB server. I read doc, but I still dont know how. > > Have someone any example? Hi Ernest, what kind of problem do you face exactly? Do you have difficulties to use the kamailio script part, or to setup the networking daemon? C

[SR-Users] PDB module

2010-08-18 Thread Ernest Mavrel
Hi How to set up PDB server. I read doc, but I still dont know how. Have someone any example? Thank you Ernest ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cg

Re: [SR-Users] [sr-dev] testing phase for 3.1

2010-08-18 Thread Iñaki Baz Castillo
2010/8/18 Carsten Bock : > Hi Inaki, > probably you are right. I have not thought about this. I will take a look at > it and put a patch for this on the tracker. But i think, you are right, that > should be easy to implement. I've added a comment about it in the wiki: http://www.kamailio.com/do

Re: [SR-Users] [sr-dev] testing phase for 3.1

2010-08-18 Thread Carsten Bock
Hi Inaki, probably you are right. I have not thought about this. I will take a look at it and put a patch for this on the tracker. But i think, you are right, that should be easy to implement. By the way: If you make a dlg_list_dlg with Call-ID and From-Tag (what i do), you just get the one dialog

Re: [SR-Users] [sr-dev] testing phase for 3.1

2010-08-18 Thread Iñaki Baz Castillo
2010/8/18 Carsten Bock : > - if the name of the timeout-socket starts with "http://";, it assumes it is > an Kamailio-XML-RPC-Server. It will then retrieve the according dialog-info > by issueing a dlg_list with the call-id and with this information execute a > dlg_end_dlg using XML-RPC. Hi. Havi

Re: [SR-Users] [sr-dev] testing phase for 3.1

2010-08-18 Thread Carsten Bock
Hi, I will put my patches on the tracker then, ok, great :-) The extensions for the RTP-Proxy are the following: - if the name of the timeout-socket starts with "http://";, it assumes it is an Kamailio-XML-RPC-Server. It will then retrieve the according dialog-info by issueing a dlg_list with the

Re: [SR-Users] [sr-dev] module load path and -L

2010-08-18 Thread Daniel-Constantin Mierla
On 8/18/10 9:35 AM, Klaus Darilion wrote: IMO command line parameters should always overwrite settings from the config file. IIRC think there are more settings than -L and we had this discussion long time ago (e.g. debug=, ) that was <=K1.5 time, in 3.0 many command line options overwrite

Re: [SR-Users] [sr-dev] testing phase for 3.1

2010-08-18 Thread Daniel-Constantin Mierla
Hello, On 8/18/10 8:59 AM, Carsten Bock wrote: Hi everyone, i know, i am a little late (due to a new job since the beginning of the month), but is it ok to push some last-minute changes (some changes to the nathelper/rtpproxy-module) to the git? I have the changes ready for K1.5 and i would

Re: [SR-Users] [sr-dev] module load path and -L

2010-08-18 Thread Klaus Darilion
IMO command line parameters should always overwrite settings from the config file. IIRC think there are more settings than -L and we had this discussion long time ago (e.g. debug=, ) regards klaus Am 17.08.2010 17:37, schrieb Daniel-Constantin Mierla: Hello, the path to modules can be sp

Re: [SR-Users] [sr-dev] testing phase for 3.1

2010-08-18 Thread Carsten Bock
Hi everyone, i know, i am a little late (due to a new job since the beginning of the month), but is it ok to push some last-minute changes (some changes to the nathelper/rtpproxy-module) to the git? I have the changes ready for K1.5 and i would migrate them to K-Trunk tonight... The changes are: