Re: [SR-Users] kamailio-3.1.0+lenny3 + siptrace

2010-10-13 Thread Daniel-Constantin Mierla

 Hello,

for 1. send the backtrace.

For 2. is not a duplicate, one is the incoming message and second is 
outgoing message, see the direction field.


Cheers,
Daniel


On 10/13/10 7:51 AM, MÉSZÁROS Mihály wrote:

Hello!

I am still experiencing two problem with siptrace modul:

   1. If i set
  modparam(siptrace, trace_sl_acks, 1)

   
  Then kamailio is crashing.

  Please see this log:


  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
  [t_hooks.c:374]: DBG: trans=0xb2a719f4, callback type 1, id 0
  entered
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
  [t_funcs.c:351]: SER: new INVITE
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: core
  [msg_translator.c:207]: check_via_address(193.6.222.35,
  193.6.222.35, 0)
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: core
  [mem/shm_mem.c:105]: WARNING:vqm_resize: resize(0) called
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
  [t_hooks.c:288]: DBG: trans=0xb2a719f4, callback type 2097152,
  id 0 entered
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: siptrace
  [siptrace.c:530]: storing info...
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: core
  [parser/parse_to.c:803]: end of header reached, state=29
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: core
  [parser/msg_parser.c:185]: DEBUG: get_hdr_field: To [70];
  uri=[sip:9...@mgc.vvc.niif.hu]
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: core
  [parser/msg_parser.c:187]: DEBUG: to body
  [sip:9...@mgc.vvc.niif.hu]
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: sl
  [sl_funcs.c:326]: SL local ACK found - dropping it!
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: : core
  [pass_fd.c:293]: ERROR: receive_fd: EOF on 15
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: DEBUG: core
  [tcp_main.c:3551]: DBG: handle_ser_child: dead child 2, pid
  24745 (shutting down?)
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: DEBUG: core
  [io_wait.h:617]: DBG: io_watch_del (0x82491c0, 15, -1, 0x0)
  fd_no=24 called
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: siptrace
  [siptrace.c:548]: storing info...
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: ALERT: core
  [main.c:741]: child process 24745 exited by a signal 11
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: ALERT: core
  [main.c:744]: core was not generated
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: INFO: core
  [main.c:756]: INFO: terminating due to SIGCHLD
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24760]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24749]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24748]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24752]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24751]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24750]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24759]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24756]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24762]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24761]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24763]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24753]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24746]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24747]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG:
  presence_xml [presence_xml.c:329]: start
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: core
  [db_pool.c:102]: removing connection from the pool
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: tm
  [t_funcs.c:122]: DEBUG: tm_shutdown : start
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: tm
  [t_funcs.c:125]: DEBUG: tm_shutdown : emptying hash table
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: tm
  [t_funcs.c:127]: DEBUG: tm_shutdown : removing semaphores
  Oct 

Re: [SR-Users] kamailio-3.1.0+lenny3 + siptrace

2010-10-13 Thread Daniel-Constantin Mierla
 If you don't run it with a privileged user that can write in / or the 
working directory you gave, try to provide '-w /tmp' command line parameter.


Cheers,
Daniel

On 10/13/10 10:42 AM, MÉSZÁROS Mihály wrote:

Hello


for 1. send the backtrace.


I don't have the core file, as you can see in the log:
core was not generated

I set already this flag to yes, but you can see it is not generating 
core file.


hal:/# cat /etc/default/kamailio  | grep DUMP
DUMP_CORE=yes
hal:/#

Can you please suggest what should i change to generate the core file?

For 2. is not a duplicate, one is the incoming message and second is 
outgoing message, see the direction field.



Thanks in advance!

Misi

Cheers,
Daniel


On 10/13/10 7:51 AM, MÉSZÁROS Mihály wrote:

Hello!

I am still experiencing two problem with siptrace modul:

   1. If i set
  modparam(siptrace, trace_sl_acks, 1)

   
  Then kamailio is crashing.

  Please see this log:


  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
  [t_hooks.c:374]: DBG: trans=0xb2a719f4, callback type 1, id 0
  entered
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
  [t_funcs.c:351]: SER: new INVITE
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: core
  [msg_translator.c:207]: check_via_address(193.6.222.35,
  193.6.222.35, 0)
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: core
  [mem/shm_mem.c:105]: WARNING:vqm_resize: resize(0) called
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
  [t_hooks.c:288]: DBG: trans=0xb2a719f4, callback type 2097152,
  id 0 entered
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: siptrace
  [siptrace.c:530]: storing info...
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: core
  [parser/parse_to.c:803]: end of header reached, state=29
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: core
  [parser/msg_parser.c:185]: DEBUG: get_hdr_field: To [70];
  uri=[sip:9...@mgc.vvc.niif.hu]
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: core
  [parser/msg_parser.c:187]: DEBUG: to body
  [sip:9...@mgc.vvc.niif.hu]
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: sl
  [sl_funcs.c:326]: SL local ACK found - dropping it!
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: : core
  [pass_fd.c:293]: ERROR: receive_fd: EOF on 15
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: DEBUG: core
  [tcp_main.c:3551]: DBG: handle_ser_child: dead child 2, pid
  24745 (shutting down?)
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: DEBUG: core
  [io_wait.h:617]: DBG: io_watch_del (0x82491c0, 15, -1, 0x0)
  fd_no=24 called
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: siptrace
  [siptrace.c:548]: storing info...
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: ALERT: core
  [main.c:741]: child process 24745 exited by a signal 11
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: ALERT: core
  [main.c:744]: core was not generated
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: INFO: core
  [main.c:756]: INFO: terminating due to SIGCHLD
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24760]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24749]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24748]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24752]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24751]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24750]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24759]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24756]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24762]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24761]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24763]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24753]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24746]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24747]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG:
  

Re: [SR-Users] kamailio-3.1.0+lenny3 + siptrace

2010-10-13 Thread MÉSZÁROS Mihály

Hello Daniel!

Please find attached the backtrace.

Cheers,
Misi
2010-10-13 10:46 keltezéssel, Daniel-Constantin Mierla írta:
If you don't run it with a privileged user that can write in / or the 
working directory you gave, try to provide '-w /tmp' command line 
parameter.


Cheers,
Daniel

On 10/13/10 10:42 AM, MÉSZÁROS Mihály wrote:

Hello


for 1. send the backtrace.


I don't have the core file, as you can see in the log:
core was not generated

I set already this flag to yes, but you can see it is not generating 
core file.


hal:/# cat /etc/default/kamailio  | grep DUMP
DUMP_CORE=yes
hal:/#

Can you please suggest what should i change to generate the core file?

For 2. is not a duplicate, one is the incoming message and second is 
outgoing message, see the direction field.



Thanks in advance!

Misi

Cheers,
Daniel


On 10/13/10 7:51 AM, MÉSZÁROS Mihály wrote:

Hello!

I am still experiencing two problem with siptrace modul:

   1. If i set
  modparam(siptrace, trace_sl_acks, 1)

   
  Then kamailio is crashing.

  Please see this log:


  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
  [t_hooks.c:374]: DBG: trans=0xb2a719f4, callback type 1, id 0
  entered
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
  [t_funcs.c:351]: SER: new INVITE
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: core
  [msg_translator.c:207]: check_via_address(193.6.222.35,
  193.6.222.35, 0)
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: core
  [mem/shm_mem.c:105]: WARNING:vqm_resize: resize(0) called
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
  [t_hooks.c:288]: DBG: trans=0xb2a719f4, callback type
  2097152, id 0 entered
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG:
  siptrace [siptrace.c:530]: storing info...
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: core
  [parser/parse_to.c:803]: end of header reached, state=29
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: core
  [parser/msg_parser.c:185]: DEBUG: get_hdr_field: To [70];
  uri=[sip:9...@mgc.vvc.niif.hu]
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: core
  [parser/msg_parser.c:187]: DEBUG: to body
  [sip:9...@mgc.vvc.niif.hu]
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: sl
  [sl_funcs.c:326]: SL local ACK found - dropping it!
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: : core
  [pass_fd.c:293]: ERROR: receive_fd: EOF on 15
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: DEBUG: core
  [tcp_main.c:3551]: DBG: handle_ser_child: dead child 2, pid
  24745 (shutting down?)
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: DEBUG: core
  [io_wait.h:617]: DBG: io_watch_del (0x82491c0, 15, -1, 0x0)
  fd_no=24 called
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG:
  siptrace [siptrace.c:548]: storing info...
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: ALERT: core
  [main.c:741]: child process 24745 exited by a signal 11
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: ALERT: core
  [main.c:744]: core was not generated
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: INFO: core
  [main.c:756]: INFO: terminating due to SIGCHLD
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24760]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24749]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24748]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24752]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24751]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24750]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24759]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24756]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24762]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24761]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24763]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24753]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24746]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal 

Re: [SR-Users] kamailio-3.1.0+lenny3 + siptrace

2010-10-13 Thread Daniel-Constantin Mierla

 Hello,

On 10/13/10 12:36 PM, MÉSZÁROS Mihály wrote:

Hello Daniel!

Please find attached the backtrace.

thanks, I committed the fix for it - take the latest 3.1 branch.

For 3.1 I added that sl module runs event_route[sl:filtered-ack] and I 
was tracing acks from there during my tests, so this issue went through 
testing uncaught ...


Thanks,
Daniel



Cheers,
Misi
2010-10-13 10:46 keltezéssel, Daniel-Constantin Mierla írta:
If you don't run it with a privileged user that can write in / or the 
working directory you gave, try to provide '-w /tmp' command line 
parameter.


Cheers,
Daniel

On 10/13/10 10:42 AM, MÉSZÁROS Mihály wrote:

Hello


for 1. send the backtrace.


I don't have the core file, as you can see in the log:
core was not generated

I set already this flag to yes, but you can see it is not generating 
core file.


hal:/# cat /etc/default/kamailio  | grep DUMP
DUMP_CORE=yes
hal:/#

Can you please suggest what should i change to generate the core file?

For 2. is not a duplicate, one is the incoming message and second 
is outgoing message, see the direction field.



Thanks in advance!

Misi

Cheers,
Daniel


On 10/13/10 7:51 AM, MÉSZÁROS Mihály wrote:

Hello!

I am still experiencing two problem with siptrace modul:

   1. If i set
  modparam(siptrace, trace_sl_acks, 1)

   
  Then kamailio is crashing.

  Please see this log:


  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
  [t_hooks.c:374]: DBG: trans=0xb2a719f4, callback type 1, id
  0 entered
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
  [t_funcs.c:351]: SER: new INVITE
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: core
  [msg_translator.c:207]: check_via_address(193.6.222.35,
  193.6.222.35, 0)
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: core
  [mem/shm_mem.c:105]: WARNING:vqm_resize: resize(0) called
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
  [t_hooks.c:288]: DBG: trans=0xb2a719f4, callback type
  2097152, id 0 entered
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG:
  siptrace [siptrace.c:530]: storing info...
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: core
  [parser/parse_to.c:803]: end of header reached, state=29
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: core
  [parser/msg_parser.c:185]: DEBUG: get_hdr_field: To [70];
  uri=[sip:9...@mgc.vvc.niif.hu]
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: core
  [parser/msg_parser.c:187]: DEBUG: to body
  [sip:9...@mgc.vvc.niif.hu]
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: sl
  [sl_funcs.c:326]: SL local ACK found - dropping it!
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: : core
  [pass_fd.c:293]: ERROR: receive_fd: EOF on 15
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: DEBUG: core
  [tcp_main.c:3551]: DBG: handle_ser_child: dead child 2, pid
  24745 (shutting down?)
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: DEBUG: core
  [io_wait.h:617]: DBG: io_watch_del (0x82491c0, 15, -1, 0x0)
  fd_no=24 called
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG:
  siptrace [siptrace.c:548]: storing info...
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: ALERT: core
  [main.c:741]: child process 24745 exited by a signal 11
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: ALERT: core
  [main.c:744]: core was not generated
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: INFO: core
  [main.c:756]: INFO: terminating due to SIGCHLD
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24760]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24749]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24748]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24752]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24751]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24750]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24759]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24756]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24762]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24761]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24763]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: INFO: core

Re: [SR-Users] kamailio-3.1.0+lenny3 + siptrace

2010-10-13 Thread MÉSZÁROS Mihály

Thank You!!

Cheers,
Misi

2010-10-13 13:24 keltezéssel, Daniel-Constantin Mierla írta:

Hello,

On 10/13/10 12:36 PM, MÉSZÁROS Mihály wrote:

Hello Daniel!

Please find attached the backtrace.

thanks, I committed the fix for it - take the latest 3.1 branch.

For 3.1 I added that sl module runs event_route[sl:filtered-ack] and I 
was tracing acks from there during my tests, so this issue went 
through testing uncaught ...


Thanks,
Daniel



Cheers,
Misi
2010-10-13 10:46 keltezéssel, Daniel-Constantin Mierla írta:
If you don't run it with a privileged user that can write in / or 
the working directory you gave, try to provide '-w /tmp' command 
line parameter.


Cheers,
Daniel

On 10/13/10 10:42 AM, MÉSZÁROS Mihály wrote:

Hello


for 1. send the backtrace.


I don't have the core file, as you can see in the log:
core was not generated

I set already this flag to yes, but you can see it is not 
generating core file.


hal:/# cat /etc/default/kamailio  | grep DUMP
DUMP_CORE=yes
hal:/#

Can you please suggest what should i change to generate the core file?

For 2. is not a duplicate, one is the incoming message and second 
is outgoing message, see the direction field.



Thanks in advance!

Misi

Cheers,
Daniel


On 10/13/10 7:51 AM, MÉSZÁROS Mihály wrote:

Hello!

I am still experiencing two problem with siptrace modul:

   1. If i set
  modparam(siptrace, trace_sl_acks, 1)

   
  Then kamailio is crashing.

  Please see this log:


  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
  [t_hooks.c:374]: DBG: trans=0xb2a719f4, callback type 1, id
  0 entered
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
  [t_funcs.c:351]: SER: new INVITE
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG:
  core [msg_translator.c:207]:
  check_via_address(193.6.222.35, 193.6.222.35, 0)
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG:
  core [mem/shm_mem.c:105]: WARNING:vqm_resize: resize(0)
  called
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
  [t_hooks.c:288]: DBG: trans=0xb2a719f4, callback type
  2097152, id 0 entered
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG:
  siptrace [siptrace.c:530]: storing info...
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG:
  core [parser/parse_to.c:803]: end of header reached,
  state=29
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG:
  core [parser/msg_parser.c:185]: DEBUG: get_hdr_field:
  To [70]; uri=[sip:9...@mgc.vvc.niif.hu]
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG:
  core [parser/msg_parser.c:187]: DEBUG: to body
  [sip:9...@mgc.vvc.niif.hu]
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: sl
  [sl_funcs.c:326]: SL local ACK found - dropping it!
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: : core
  [pass_fd.c:293]: ERROR: receive_fd: EOF on 15
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: DEBUG:
  core [tcp_main.c:3551]: DBG: handle_ser_child: dead child
  2, pid 24745 (shutting down?)
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: DEBUG:
  core [io_wait.h:617]: DBG: io_watch_del (0x82491c0, 15,
  -1, 0x0) fd_no=24 called
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG:
  siptrace [siptrace.c:548]: storing info...
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: ALERT:
  core [main.c:741]: child process 24745 exited by a signal 11
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: ALERT:
  core [main.c:744]: core was not generated
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: INFO: core
  [main.c:756]: INFO: terminating due to SIGCHLD
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24760]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24749]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24748]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24752]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24751]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24750]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24759]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24756]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24762]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24761]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24763]: INFO: core
  [main.c:807]: INFO: signal 15 received
  Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: INFO: core
  

Re: [SR-Users] kamailio-3.1.0+lenny3 + siptrace

2010-10-12 Thread MÉSZÁROS Mihály

Hello!

I am still experiencing two problem with siptrace modul:

  1. If i set

 modparam(siptrace, trace_sl_acks, 1)

  


 Then kamailio is crashing.
 Please see this log:


 Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
 [t_hooks.c:374]: DBG: trans=0xb2a719f4, callback type 1, id 0 entered
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
 [t_funcs.c:351]: SER: new INVITE
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: core
 [msg_translator.c:207]: check_via_address(193.6.222.35,
 193.6.222.35, 0)
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: core
 [mem/shm_mem.c:105]: WARNING:vqm_resize: resize(0) called
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
 [t_hooks.c:288]: DBG: trans=0xb2a719f4, callback type 2097152, id
 0 entered
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: siptrace
 [siptrace.c:530]: storing info...
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: core
 [parser/parse_to.c:803]: end of header reached, state=29
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: core
 [parser/msg_parser.c:185]: DEBUG: get_hdr_field: To [70];
 uri=[sip:9...@mgc.vvc.niif.hu]
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: core
 [parser/msg_parser.c:187]: DEBUG: to body
 [sip:9...@mgc.vvc.niif.hu]
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: sl
 [sl_funcs.c:326]: SL local ACK found - dropping it!
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: : core
 [pass_fd.c:293]: ERROR: receive_fd: EOF on 15
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: DEBUG: core
 [tcp_main.c:3551]: DBG: handle_ser_child: dead child 2, pid 24745
 (shutting down?)
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: DEBUG: core
 [io_wait.h:617]: DBG: io_watch_del (0x82491c0, 15, -1, 0x0)
 fd_no=24 called
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: siptrace
 [siptrace.c:548]: storing info...
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: ALERT: core
 [main.c:741]: child process 24745 exited by a signal 11
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: ALERT: core
 [main.c:744]: core was not generated
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: INFO: core
 [main.c:756]: INFO: terminating due to SIGCHLD
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24760]: INFO: core
 [main.c:807]: INFO: signal 15 received
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24749]: INFO: core
 [main.c:807]: INFO: signal 15 received
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24748]: INFO: core
 [main.c:807]: INFO: signal 15 received
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24752]: INFO: core
 [main.c:807]: INFO: signal 15 received
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24751]: INFO: core
 [main.c:807]: INFO: signal 15 received
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24750]: INFO: core
 [main.c:807]: INFO: signal 15 received
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24759]: INFO: core
 [main.c:807]: INFO: signal 15 received
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24756]: INFO: core
 [main.c:807]: INFO: signal 15 received
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24762]: INFO: core
 [main.c:807]: INFO: signal 15 received
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24761]: INFO: core
 [main.c:807]: INFO: signal 15 received
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24763]: INFO: core
 [main.c:807]: INFO: signal 15 received
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: INFO: core
 [main.c:807]: INFO: signal 15 received
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: INFO: core
 [main.c:807]: INFO: signal 15 received
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24753]: INFO: core
 [main.c:807]: INFO: signal 15 received
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24746]: INFO: core
 [main.c:807]: INFO: signal 15 received
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24747]: INFO: core
 [main.c:807]: INFO: signal 15 received
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: presence_xml
 [presence_xml.c:329]: start
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: core
 [db_pool.c:102]: removing connection from the pool
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: tm
 [t_funcs.c:122]: DEBUG: tm_shutdown : start
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: tm
 [t_funcs.c:125]: DEBUG: tm_shutdown : emptying hash table
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: tm
 [t_funcs.c:127]: DEBUG: tm_shutdown : removing semaphores
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: tm
 [t_funcs.c:129]: DEBUG: tm_shutdown : destroying tmcb lists
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: tm
 [t_funcs.c:132]: DEBUG: tm_shutdown : done
 Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: tls
 

Re: [SR-Users] kamailio-3.1.0+lenny3 + siptrace

2010-10-11 Thread Daniel-Constantin Mierla

 Hello,

On 10/11/10 2:58 PM, MÉSZÁROS Mihály wrote:

Hello all!

I am getting the following problem with 3.1.0 kamailio:

ERROR: core [sr_module.c:875]: init_mod(): Error while initializing 
module siptrace (/usr/lib/kamailio/modules_k/siptrace.so)
is there any other error message before this one. Siptrace module prints 
its own messages in error cases.


Cheers,
Daniel



config:

loadmodule siptrace.so

# - siptrace params -
modparam(siptrace, db_url, 
mysql://openser:opense...@localhost/openser)

modparam(siptrace, table, sip_trace)
modparam(siptrace, trace_flag, 22)
modparam(siptrace, traced_user_avp, $avp(s:user))
modparam(siptrace, trace_on, 1)
modparam(siptrace, trace_sl_acks, 1)
modparam(siptrace, trace_local_ip, 10.1.1.1:5064)

Any help appreciated.

Best Regards,
Misi

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


--
Daniel-Constantin Mierla
http://www.asipto.com


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] kamailio-3.1.0+lenny3 + siptrace

2010-10-11 Thread MÉSZÁROS Mihály

Hello,
is there any other error message before this one. Siptrace module 
prints its own messages in error cases.



No!

You can see in this longer log  what i cutted out, that no other error 
message presented in near environment, no ERROR only DEBUG messages.


Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: db_mysql 
[km_res.c:85]: allocate 8 bytes for RES_NAMES[3] at 0x8316a88
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: db_mysql 
[km_res.c:92]: RES_NAMES(0x8316a88)[3]=[weight]
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: db_mysql 
[km_res.c:100]: use DB1_INT result type
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: db_mysql 
[km_dbase.c:326]: no rows returned from the query
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: lcr 
[lcr_mod.c:1344]: loading, cycle 0 with 0 rows
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[db_res.c:81]: freeing 4 columns
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[db_res.c:85]: freeing RES_NAMES[0] at 0x83147b0
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[db_res.c:85]: freeing RES_NAMES[1] at 0x83147e8
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[db_res.c:85]: freeing RES_NAMES[2] at 0x8316a50
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[db_res.c:85]: freeing RES_NAMES[3] at 0x8316a88
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[db_res.c:94]: freeing result names at 0x8316a0c
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[db_res.c:99]: freeing result types at 0x8316ac0
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[db_res.c:136]: freeing result set at 0x83162f4
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[db_pool.c:102]: removing connection from the pool
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[sr_module.c:871]: DEBUG: init_mod: tls
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[cfg/cfg.c:168]: DEBUG: register_cfg_def(): new config group has been 
registered: 'tls' (num=27, size=140)
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[sr_module.c:871]: DEBUG: init_mod: siptrace
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: ERROR: core 
[sr_module.c:875]: init_mod(): Error while initializing module siptrace 
(/usr/lib/kamailio/modules_k/siptrace.so)
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: presence_xml 
[presence_xml.c:329]: start
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: tm [t_funcs.c:122]: 
DEBUG: tm_shutdown : start
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: tm [t_funcs.c:125]: 
DEBUG: tm_shutdown : emptying hash table
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: tm [t_funcs.c:127]: 
DEBUG: tm_shutdown : removing semaphores
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: tm [t_funcs.c:129]: 
DEBUG: tm_shutdown : destroying tmcb lists
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: tm [t_funcs.c:132]: 
DEBUG: tm_shutdown : done
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: tls 
[tls_init.c:657]: tls module final tls destroy


Thanks,
Misi

Cheers,
Daniel



config:

loadmodule siptrace.so

# - siptrace params -
modparam(siptrace, db_url, 
mysql://openser:opense...@localhost/openser)

modparam(siptrace, table, sip_trace)
modparam(siptrace, trace_flag, 22)
modparam(siptrace, traced_user_avp, $avp(s:user))
modparam(siptrace, trace_on, 1)
modparam(siptrace, trace_sl_acks, 1)
modparam(siptrace, trace_local_ip, 10.1.1.1:5064)

Any help appreciated.

Best Regards,
Misi

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users





___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] kamailio-3.1.0+lenny3 + siptrace

2010-10-11 Thread Daniel-Constantin Mierla



On 10/11/10 4:18 PM, MÉSZÁROS Mihály wrote:

Hello,
is there any other error message before this one. Siptrace module 
prints its own messages in error cases.



No!
The only error return without message was related to trace flag that 
looks ok. I added a log message for it. Also, I discovered an issue in 
binding to sl module API, but the symptoms should have been different.


Please pull last 3.1 branch and try again. Let me know if it still fails 
to load. I tested and starts ok.


Thanks,
Daniel



You can see in this longer log  what i cutted out, that no other error 
message presented in near environment, no ERROR only DEBUG messages.


Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: db_mysql 
[km_res.c:85]: allocate 8 bytes for RES_NAMES[3] at 0x8316a88
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: db_mysql 
[km_res.c:92]: RES_NAMES(0x8316a88)[3]=[weight]
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: db_mysql 
[km_res.c:100]: use DB1_INT result type
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: db_mysql 
[km_dbase.c:326]: no rows returned from the query
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: lcr 
[lcr_mod.c:1344]: loading, cycle 0 with 0 rows
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[db_res.c:81]: freeing 4 columns
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[db_res.c:85]: freeing RES_NAMES[0] at 0x83147b0
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[db_res.c:85]: freeing RES_NAMES[1] at 0x83147e8
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[db_res.c:85]: freeing RES_NAMES[2] at 0x8316a50
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[db_res.c:85]: freeing RES_NAMES[3] at 0x8316a88
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[db_res.c:94]: freeing result names at 0x8316a0c
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[db_res.c:99]: freeing result types at 0x8316ac0
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[db_res.c:136]: freeing result set at 0x83162f4
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[db_pool.c:102]: removing connection from the pool
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[sr_module.c:871]: DEBUG: init_mod: tls
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[cfg/cfg.c:168]: DEBUG: register_cfg_def(): new config group has been 
registered: 'tls' (num=27, size=140)
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: core 
[sr_module.c:871]: DEBUG: init_mod: siptrace
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: ERROR: core 
[sr_module.c:875]: init_mod(): Error while initializing module 
siptrace (/usr/lib/kamailio/modules_k/siptrace.so)
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: presence_xml 
[presence_xml.c:329]: start
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: tm 
[t_funcs.c:122]: DEBUG: tm_shutdown : start
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: tm 
[t_funcs.c:125]: DEBUG: tm_shutdown : emptying hash table
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: tm 
[t_funcs.c:127]: DEBUG: tm_shutdown : removing semaphores
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: tm 
[t_funcs.c:129]: DEBUG: tm_shutdown : destroying tmcb lists
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: tm 
[t_funcs.c:132]: DEBUG: tm_shutdown : done
Oct 11 12:42:56 hal /usr/sbin/kamailio[7359]: DEBUG: tls 
[tls_init.c:657]: tls module final tls destroy


Thanks,
Misi

Cheers,
Daniel



config:

loadmodule siptrace.so

# - siptrace params -
modparam(siptrace, db_url, 
mysql://openser:opense...@localhost/openser)

modparam(siptrace, table, sip_trace)
modparam(siptrace, trace_flag, 22)
modparam(siptrace, traced_user_avp, $avp(s:user))
modparam(siptrace, trace_on, 1)
modparam(siptrace, trace_sl_acks, 1)
modparam(siptrace, trace_local_ip, 10.1.1.1:5064)

Any help appreciated.

Best Regards,
Misi

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users





___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


--
Daniel-Constantin Mierla
http://www.asipto.com


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] kamailio-3.1.0+lenny3 + siptrace

2010-10-11 Thread Daniel-Constantin Mierla



On 10/11/10 8:20 PM, MÉSZÁROS Mihály wrote:

2010-10-11 17:56 keltezéssel, Daniel-Constantin Mierla írta:



On 10/11/10 4:18 PM, MÉSZÁROS Mihály wrote:

Hello,
is there any other error message before this one. Siptrace module 
prints its own messages in error cases.



No!
The only error return without message was related to trace flag that 
looks ok. I added a log message for it. Also, I discovered an issue 
in binding to sl module API, but the symptoms should have been 
different.


Please pull last 3.1 branch and try again. Let me know if it still 
fails to load. I tested and starts ok.



Many thanks Daniel!

I followed your instructions, so it is working now. (compiled from 
latest 3.1 git head)


Could you please update the debian repository too correct this issue?

deb http://deb.kamailio.org/kamailio31 lenny main

Thanks for testing.

Jon Bonilla is working to update the nightly deb building system for 3.1 
as well, should be available soon.


You can build debian locally, I do it with:

make FLAVOUR=kamailio modules_dirs=modules modules_k deb

But you need to install all dependencies or remove those packages you 
don't need from deb control files.


Cheers,
Daniel

--
Daniel-Constantin Mierla
http://www.asipto.com


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] kamailio-3.1.0+lenny3 + siptrace

2010-10-11 Thread MÉSZÁROS Mihály

2010-10-11 20:31 keltezéssel, Jon Bonilla (Manwe) írta:

El Mon, 11 Oct 2010 20:20:30 +0200
MÉSZÁROS Mihálym...@niif.hu  escribió:


   

I followed your instructions, so it is working now. (compiled from
latest 3.1 git head)

Could you please update the debian repository too correct this issue?

deb http://deb.kamailio.org/kamailio31 lenny main

 


Debian and ubuntu builds are created from released versions. That means that
until a new kamailio version is released, there will be no updated debian
packages in that repository.

Anyhow, we're providing nightly builds of kamailio_3.0 branch. Those builds are
created every day from latest git snapshots.

Daily builds for master and kamailio_3.1 branches are coming soon (very soon).
Once they're ready, you'll be able to add the nightly-build repo to your
sources.list



cheers,


Jon
   

Hello Jon,

Many thanks to You for the update!
Only one question: Where will it be announced if it will be ready?

Thank You again,
Misi

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] kamailio-3.1.0+lenny3 + siptrace

2010-10-11 Thread Manwe
El Mon, 11 Oct 2010 21:23:28 +0200
MÉSZÁROS Mihály m...@niif.hu escribió:

 Many thanks to You for the update!
 Only one question: Where will it be announced if it will be ready?
 
 Thank You again,
 Misi

I'll announce it in this list for sure.


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users