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?

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

2010-08-09 Thread Ernest Mavrel
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? Ernest On 06. 08. 2010 14:24, Ernest Mavrel wrote: On 06. 08. 2010 14:21, Ernest Mavrel wrote: And so on: (gdb) print values $1 = (db_val_t *) 0x0 (gdb

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

2010-08-06 Thread Ernest Mavrel
On 06. 08. 2010 14:21, Ernest Mavrel wrote: And so on: (gdb) print values $1 = (db_val_t *) 0x0 (gdb) backtrace #0  build_rule (values=0x0) at dp_db.c:375 #1  0x7f1bbef393ef in dp_load_db () at dp_db.c:248 #2  0x7f1bbef39a52 in init_db_data () at dp_db.c:97 #3  0x7f1bbef39e9d

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

2010-08-06 Thread Ernest Mavrel
This is what I got: gdb /usr/local/sbin/kamailio /tmp/core GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by

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

2010-08-06 Thread Ernest Mavrel
What should I do with core dump file? I cant open it. Ernest On 06. 08. 2010 12:53, Ernest Mavrel wrote: With /usr/local/sbin/kamailio -w /tmp I got a core dump file in /tmp directory. I's size is 38MB. BR Ernest On 06. 08. 2010 12:29, Daniel-Constantin Mierla wrote: yes, you need argume

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

2010-08-06 Thread Ernest Mavrel
With /usr/local/sbin/kamailio -w /tmp I got a core dump file in /tmp directory. I's size is 38MB. BR Ernest On 06. 08. 2010 12:29, Daniel-Constantin Mierla wrote: yes, you need argument to -w. In my previous email was a dot '.' -- so the parameter is '-w .' -- which means working directory

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

2010-08-06 Thread Daniel-Constantin Mierla
yes, you need argument to -w. In my previous email was a dot '.' -- so the parameter is '-w .' -- which means working directory is current directory. You can do '-w /tmp' and then look in /tmp directory. Daniel On 8/6/10 12:22 PM, Ernest Mavrel wrote: You mean: /usr/local/sbin/kamailio -w O

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

2010-08-06 Thread Ernest Mavrel
You mean: /usr/local/sbin/kamailio -w Option `-w' requires an argument. Use -h for help. -W poll method BR Ernest On 06. 08. 2010 12:10, Daniel-Constantin Mierla wrote: Hello, On 8/3/10 7:11 AM, Ernest Mavrel wrote: Hi On 02. 08. 2010 18:19, Daniel-Constantin Mierla wrot

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

2010-08-06 Thread Daniel-Constantin Mierla
Hello, On 8/3/10 7:20 AM, Ernest Mavrel wrote: Hi, On 02. 08. 2010 18:24, Daniel-Constantin Mierla wrote: Hello, the dialplan module seems to be loaded ok, the last message is related to uac module.. On 8/2/10 9:26 AM, Ernest Mavrel wrote: Is something wrong with table? I insert into dia

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

2010-08-06 Thread Daniel-Constantin Mierla
Hello, On 8/3/10 7:11 AM, Ernest Mavrel wrote: Hi On 02. 08. 2010 18:19, Daniel-Constantin Mierla wrote: Hello, is nothing after messages? No, after this messages is nothing. 0(4311) DEBUG: [db_val.c:117]: converting STRING [] 0(4311) DEBUG: dialplan [dp_db.c:374]: build_rule the se

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

2010-08-02 Thread Ernest Mavrel
Hi, On 02. 08. 2010 18:24, Daniel-Constantin Mierla wrote: Hello, the dialplan module seems to be loaded ok, the last message is related to uac module.. On 8/2/10 9:26 AM, Ernest Mavrel wrote: Is something wrong with table? I insert into dialplan: mysql> select * from dialplan; ++

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

2010-08-02 Thread Ernest Mavrel
Hi On 02. 08. 2010 18:19, Daniel-Constantin Mierla wrote: Hello, is nothing after messages? No, after this messages is nothing. 0(4311) DEBUG: [db_val.c:117]: converting STRING [] 0(4311) DEBUG: dialplan [dp_db.c:374]: build_rule the second set of messages looks ok. If you do: ps aux

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

2010-08-02 Thread Daniel-Constantin Mierla
Hello, the dialplan module seems to be loaded ok, the last message is related to uac module.. On 8/2/10 9:26 AM, Ernest Mavrel wrote: Is something wrong with table? I insert into dialplan: mysql> select * from dialplan; ++--++--+---+---+---+---

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

2010-08-02 Thread Daniel-Constantin Mierla
Hello, is nothing after messages? 0(4311) DEBUG: [db_val.c:117]: converting STRING [] 0(4311) DEBUG: dialplan [dp_db.c:374]: build_rule the second set of messages looks ok. If you do: ps auxw | grep kamailio is no kamailio running? Cheers, Daniel On 8/2/10 9:09 AM, Ernest Mavrel wrote:

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

2010-08-02 Thread Ernest Mavrel
Is something wrong with table? I insert into dialplan: mysql> select * from dialplan; ++--++--+---+---+---+--+---+ | id | dpid | pr | match_op | match_exp | match_len | subst_exp | repl_exp | attrs | ++--++--+--

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

2010-08-02 Thread Ernest Mavrel
Hi If I turn on !define WITH_DEBUG. The output: 0(4311) DEBUG: [sr_module.c:871]: DEBUG: init_mod: dialplan 0(4311) DEBUG: dialplan [dialplan.c:128]: db_url=mysql://:x...@10.60.10.102/kamailio/48/0x89a268 0(4311) DEBUG: [usr_avp.c:890]: Parsing 's:dest' 0(4311) DEBUG: dialplan [dp_db

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

2010-07-23 Thread Ernest Mavrel
In cfg I have: debug=4 log_stderror=yes On 22. 07. 2010 21:51, Daniel-Constantin Mierla wrote: On 7/22/10 8:48 PM, Iñaki Baz Castillo wrote: 2010/7/22 Ernest Mavrel:    Hi This is what i get: kamailio -E -dd [...]      0(150

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

2010-07-23 Thread Ernest Mavrel
No it hasnt started. It not listed on process list. Ernest On 22. 07. 2010 20:48, Iñaki Baz Castillo wrote: 2010/7/22 Ernest Mavrel: Hi This is what i get: kamailio -E -dd [...] 0(15033) WARNING: [socket_info.c:896]: WARNING: fix_hostname: could not rev. resolve 10.50.11

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

2010-07-22 Thread Daniel-Constantin Mierla
On 7/22/10 8:48 PM, Iñaki Baz Castillo wrote: 2010/7/22 Ernest Mavrel: Hi This is what i get: kamailio -E -dd [...] 0(15033) WARNING: [socket_info.c:896]: WARNING: fix_hostname: could not rev. resolve 10.50.11.103 0(15033) WARNING: [socket_info.c:896]: WARNING: fix_host

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

2010-07-22 Thread Iñaki Baz Castillo
2010/7/22 Ernest Mavrel : > Hi > > This is what i get: > > kamailio -E -dd [...] >  0(15033) WARNING: [socket_info.c:896]: WARNING: fix_hostname: could > not rev. resolve 10.50.11.103 >  0(15033) WARNING: [socket_info.c:896]: WARNING: fix_hostname: could > not rev. resolve 10.60.10.103 >  0(15033

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

2010-07-22 Thread Daniel-Constantin Mierla
Hello, On 7/22/10 12:34 PM, Ernest Mavrel wrote: Version is 3.0.2 BR Ernest On 22. 07. 2010 12:27, Ernest Mavrel wrote: Hi I have problems with starting of kamailio. When is rule in table dialplan, kamailio doesn't start. Dialplan table: id dpid pr match_op match_exp

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

2010-07-22 Thread Ernest Mavrel
Version is 3.0.2 BR Ernest On 22. 07. 2010 12:27, Ernest Mavrel wrote: Hi I have problems with starting of kamailio. When is rule in table dialplan, kamailio doesn't start. Dialplan table: id dpid pr match_op match_exp match_len subst_exp

[SR-Users] Kamailio doesn't start

2010-07-22 Thread Ernest Mavrel
Hi I have problems with starting of kamailio. When is rule in table dialplan, kamailio doesn't start. Dialplan table: id dpid pr match_op match_exp match_len subst_exp repl_exp attrs 1 1 0 1 ^0[1-9] 0 ^(0)([1-9])(.+) 386\2 Cu