[SR-Users] sip_capture schema?

2012-10-04 Thread Juha Heinanen
i couldn't find in the source directory database schema for sip_capture
table.  why it is not included?

also, looks like sipcapture module README is missing many of module's
params.  is this module still supported or has it become obsolete?

-- juha

___
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


[SR-Users] sip_capture schema?

2012-10-04 Thread Juha Heinanen
Juha Heinanen writes:

 also, looks like sipcapture module README is missing many of module's
 params.  is this module still supported or has it become obsolete?

perhaps obsolete, because my sip proxy crashed at start when in added
loading of sipcapture module.

-- juha

Program terminated with signal 11, Segmentation fault.
#0  0x7fbec39ebcb9 in strtok () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) where
#0  0x7fbec39ebcb9 in strtok () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x7fbebebca46e in mt_init () at sipcapture.c:343
#2  0x7fbebebcb389 in mod_init () at sipcapture.c:470
#3  0x004f2339 in init_mod (m=0x7fbec2b9d4a0) at sr_module.c:936
#4  0x004f220d in init_mod (m=0x7fbec2b9d7c8) at sr_module.c:933
#5  0x004f220d in init_mod (m=0x7fbec2b9dcb8) at sr_module.c:933
#6  0x004f220d in init_mod (m=0x7fbec2b9e130) at sr_module.c:933
#7  0x004f220d in init_mod (m=0x7fbec2ba0900) at sr_module.c:933
#8  0x004f220d in init_mod (m=0x7fbec2ba0c60) at sr_module.c:933
#9  0x004f220d in init_mod (m=0x7fbec2ba0fc0) at sr_module.c:933
#10 0x004f220d in init_mod (m=0x7fbec2ba13d8) at sr_module.c:933
#11 0x004f220d in init_mod (m=0x7fbec2ba17e8) at sr_module.c:933
#12 0x004f220d in init_mod (m=0x7fbec2ba1b10) at sr_module.c:933
#13 0x004f220d in init_mod (m=0x7fbec2ba2450) at sr_module.c:933
#14 0x004f220d in init_mod (m=0x7fbec2ba2c70) at sr_module.c:933
#15 0x004f220d in init_mod (m=0x7fbec2ba3550) at sr_module.c:933
#16 0x004f220d in init_mod (m=0x7fbec2ba8ea8) at sr_module.c:933
#17 0x004f220d in init_mod (m=0x7fbec2ba9480) at sr_module.c:933
#18 0x004f220d in init_mod (m=0x7fbec2ba98c0) at sr_module.c:933
#19 0x004f220d in init_mod (m=0x7fbec2ba9c58) at sr_module.c:933
#20 0x004f220d in init_mod (m=0x7fbec2ba9f88) at sr_module.c:933
#21 0x004f220d in init_mod (m=0x7fbec2baa608) at sr_module.c:933
#22 0x004f220d in init_mod (m=0x7fbec2baa9a0) at sr_module.c:933
#23 0x004f220d in init_mod (m=0x7fbec2baade8) at sr_module.c:933
#24 0x004f220d in init_mod (m=0x7fbec2bab658) at sr_module.c:933
#25 0x004f220d in init_mod (m=0x7fbec2babc28) at sr_module.c:933
#26 0x004f220d in init_mod (m=0x7fbec2bac000) at sr_module.c:933
#27 0x004f220d in init_mod (m=0x7fbec2bac6c8) at sr_module.c:933
#28 0x004f220d in init_mod (m=0x7fbec2bacc30) at sr_module.c:933
#29 0x004f220d in init_mod (m=0x7fbec2bacf58) at sr_module.c:933
#30 0x004f220d in init_mod (m=0x7fbec2bad360) at sr_module.c:933
#31 0x004f220d in init_mod (m=0x7fbec2badb80) at sr_module.c:933
#32 0x004f220d in init_mod (m=0x7fbec2bae2e0) at sr_module.c:933
#33 0x004f220d in init_mod (m=0x7fbec2bae738) at sr_module.c:933
#34 0x004f220d in init_mod (m=0x7fbec2baf2e8) at sr_module.c:933
#35 0x004f220d in init_mod (m=0x7fbec2baf540) at sr_module.c:933
#36 0x004f249b in init_modules () at sr_module.c:963
#37 0x00468e6b in main (argc=17, argv=0x7fffceacf4c8) at main.c:2504


___
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] sip_capture schema?

2012-10-04 Thread Dragos Dinu

Hi,
This module is not obsolete. Which version are you using?
I'll also take a look at the crash. Please give me the module parameters 
that you used for sipcapture.

Here is the documentation for 3.4:
http://www.kamailio.org/docs/modules/3.4.x/modules/sipcapture.html

Dragos

On 10/04/2012 09:49 AM, Juha Heinanen wrote:

Juha Heinanen writes:


also, looks like sipcapture module README is missing many of module's
params.  is this module still supported or has it become obsolete?

perhaps obsolete, because my sip proxy crashed at start when in added
loading of sipcapture module.

-- juha

Program terminated with signal 11, Segmentation fault.
#0  0x7fbec39ebcb9 in strtok () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) where
#0  0x7fbec39ebcb9 in strtok () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x7fbebebca46e in mt_init () at sipcapture.c:343
#2  0x7fbebebcb389 in mod_init () at sipcapture.c:470
#3  0x004f2339 in init_mod (m=0x7fbec2b9d4a0) at sr_module.c:936
#4  0x004f220d in init_mod (m=0x7fbec2b9d7c8) at sr_module.c:933
#5  0x004f220d in init_mod (m=0x7fbec2b9dcb8) at sr_module.c:933
#6  0x004f220d in init_mod (m=0x7fbec2b9e130) at sr_module.c:933
#7  0x004f220d in init_mod (m=0x7fbec2ba0900) at sr_module.c:933
#8  0x004f220d in init_mod (m=0x7fbec2ba0c60) at sr_module.c:933
#9  0x004f220d in init_mod (m=0x7fbec2ba0fc0) at sr_module.c:933
#10 0x004f220d in init_mod (m=0x7fbec2ba13d8) at sr_module.c:933
#11 0x004f220d in init_mod (m=0x7fbec2ba17e8) at sr_module.c:933
#12 0x004f220d in init_mod (m=0x7fbec2ba1b10) at sr_module.c:933
#13 0x004f220d in init_mod (m=0x7fbec2ba2450) at sr_module.c:933
#14 0x004f220d in init_mod (m=0x7fbec2ba2c70) at sr_module.c:933
#15 0x004f220d in init_mod (m=0x7fbec2ba3550) at sr_module.c:933
#16 0x004f220d in init_mod (m=0x7fbec2ba8ea8) at sr_module.c:933
#17 0x004f220d in init_mod (m=0x7fbec2ba9480) at sr_module.c:933
#18 0x004f220d in init_mod (m=0x7fbec2ba98c0) at sr_module.c:933
#19 0x004f220d in init_mod (m=0x7fbec2ba9c58) at sr_module.c:933
#20 0x004f220d in init_mod (m=0x7fbec2ba9f88) at sr_module.c:933
#21 0x004f220d in init_mod (m=0x7fbec2baa608) at sr_module.c:933
#22 0x004f220d in init_mod (m=0x7fbec2baa9a0) at sr_module.c:933
#23 0x004f220d in init_mod (m=0x7fbec2baade8) at sr_module.c:933
#24 0x004f220d in init_mod (m=0x7fbec2bab658) at sr_module.c:933
#25 0x004f220d in init_mod (m=0x7fbec2babc28) at sr_module.c:933
#26 0x004f220d in init_mod (m=0x7fbec2bac000) at sr_module.c:933
#27 0x004f220d in init_mod (m=0x7fbec2bac6c8) at sr_module.c:933
#28 0x004f220d in init_mod (m=0x7fbec2bacc30) at sr_module.c:933
#29 0x004f220d in init_mod (m=0x7fbec2bacf58) at sr_module.c:933
#30 0x004f220d in init_mod (m=0x7fbec2bad360) at sr_module.c:933
#31 0x004f220d in init_mod (m=0x7fbec2badb80) at sr_module.c:933
#32 0x004f220d in init_mod (m=0x7fbec2bae2e0) at sr_module.c:933
#33 0x004f220d in init_mod (m=0x7fbec2bae738) at sr_module.c:933
#34 0x004f220d in init_mod (m=0x7fbec2baf2e8) at sr_module.c:933
#35 0x004f220d in init_mod (m=0x7fbec2baf540) at sr_module.c:933
#36 0x004f249b in init_modules () at sr_module.c:963
#37 0x00468e6b in main (argc=17, argv=0x7fffceacf4c8) at main.c:2504


___
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] sip_capture schema?

2012-10-04 Thread Alexandr Dubovikov

10/4/2012 8:49 AM, Juha Heinanen wrote:

Juha Heinanen writes:


also, looks like sipcapture module README is missing many of module's
params.  is this module still supported or has it become obsolete?

perhaps obsolete, because my sip proxy crashed at start when in added
loading of sipcapture module.


no, it's not obsolete. I will add HEPv3 support soon and update the 
README file too.


please show your kamailio.conf

Wbr,
Alexandr


-- juha

Program terminated with signal 11, Segmentation fault.
#0  0x7fbec39ebcb9 in strtok () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) where
#0  0x7fbec39ebcb9 in strtok () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x7fbebebca46e in mt_init () at sipcapture.c:343
#2  0x7fbebebcb389 in mod_init () at sipcapture.c:470
#3  0x004f2339 in init_mod (m=0x7fbec2b9d4a0) at sr_module.c:936
#4  0x004f220d in init_mod (m=0x7fbec2b9d7c8) at sr_module.c:933
#5  0x004f220d in init_mod (m=0x7fbec2b9dcb8) at sr_module.c:933
#6  0x004f220d in init_mod (m=0x7fbec2b9e130) at sr_module.c:933
#7  0x004f220d in init_mod (m=0x7fbec2ba0900) at sr_module.c:933
#8  0x004f220d in init_mod (m=0x7fbec2ba0c60) at sr_module.c:933
#9  0x004f220d in init_mod (m=0x7fbec2ba0fc0) at sr_module.c:933
#10 0x004f220d in init_mod (m=0x7fbec2ba13d8) at sr_module.c:933
#11 0x004f220d in init_mod (m=0x7fbec2ba17e8) at sr_module.c:933
#12 0x004f220d in init_mod (m=0x7fbec2ba1b10) at sr_module.c:933
#13 0x004f220d in init_mod (m=0x7fbec2ba2450) at sr_module.c:933
#14 0x004f220d in init_mod (m=0x7fbec2ba2c70) at sr_module.c:933
#15 0x004f220d in init_mod (m=0x7fbec2ba3550) at sr_module.c:933
#16 0x004f220d in init_mod (m=0x7fbec2ba8ea8) at sr_module.c:933
#17 0x004f220d in init_mod (m=0x7fbec2ba9480) at sr_module.c:933
#18 0x004f220d in init_mod (m=0x7fbec2ba98c0) at sr_module.c:933
#19 0x004f220d in init_mod (m=0x7fbec2ba9c58) at sr_module.c:933
#20 0x004f220d in init_mod (m=0x7fbec2ba9f88) at sr_module.c:933
#21 0x004f220d in init_mod (m=0x7fbec2baa608) at sr_module.c:933
#22 0x004f220d in init_mod (m=0x7fbec2baa9a0) at sr_module.c:933
#23 0x004f220d in init_mod (m=0x7fbec2baade8) at sr_module.c:933
#24 0x004f220d in init_mod (m=0x7fbec2bab658) at sr_module.c:933
#25 0x004f220d in init_mod (m=0x7fbec2babc28) at sr_module.c:933
#26 0x004f220d in init_mod (m=0x7fbec2bac000) at sr_module.c:933
#27 0x004f220d in init_mod (m=0x7fbec2bac6c8) at sr_module.c:933
#28 0x004f220d in init_mod (m=0x7fbec2bacc30) at sr_module.c:933
#29 0x004f220d in init_mod (m=0x7fbec2bacf58) at sr_module.c:933
#30 0x004f220d in init_mod (m=0x7fbec2bad360) at sr_module.c:933
#31 0x004f220d in init_mod (m=0x7fbec2badb80) at sr_module.c:933
#32 0x004f220d in init_mod (m=0x7fbec2bae2e0) at sr_module.c:933
#33 0x004f220d in init_mod (m=0x7fbec2bae738) at sr_module.c:933
#34 0x004f220d in init_mod (m=0x7fbec2baf2e8) at sr_module.c:933
#35 0x004f220d in init_mod (m=0x7fbec2baf540) at sr_module.c:933
#36 0x004f249b in init_modules () at sr_module.c:963
#37 0x00468e6b in main (argc=17, argv=0x7fffceacf4c8) at main.c:2504


___
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] sip_capture schema?

2012-10-04 Thread Juha Heinanen
Alexandr Dubovikov writes:

 no, it's not obsolete. I will add HEPv3 support soon and update the 
 README file too.

that is very good.  please also include db schema in lib/srdb1/schema.

 please show your kamailio.conf

i don't yet have any sipcapture params set in the config.  i just added
line

loadmodule sipcapture

and restarted my proxy, which resulted in the crash.

-- juha

___
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] sip_capture schema?

2012-10-04 Thread Alexandr Dubovikov

10/4/2012 4:05 PM, Juha Heinanen wrote:

Alexandr Dubovikov writes:


no, it's not obsolete. I will add HEPv3 support soon and update the
README file too.

that is very good.  please also include db schema in lib/srdb1/schema.


please show your kamailio.conf

i don't yet have any sipcapture params set in the config.  i just added
line

loadmodule sipcapture

and restarted my proxy, which resulted in the crash.



without any additional modules ? anyway I will check it too.

Wbr,
Alexandr


-- juha

___
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] sip_capture schema?

2012-10-04 Thread Juha Heinanen
Alexandr Dubovikov writes:

 without any additional modules ? anyway I will check it too.

no, with lots of other modules.  below is list up to sipcapture, but i
don't think it matters.

-- juha

loadpath /usr/lib/sip-proxy/modules
loadmodule app_lua
loadmodule auth
loadmodule avpops
loadmodule db_mysql
loadmodule tm
loadmodule lcr
loadmodule cfg_rpc
loadmodule ctl
loadmodule dialplan
loadmodule enum
loadmodule geoip
loadmodule ipops
loadmodule mediaproxy
loadmodule mi_rpc
loadmodule mtree
loadmodule sanity
loadmodule sdpops
loadmodule sipcapture

___
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] sip_capture schema?

2012-10-04 Thread Alexandr Dubovikov

10/4/2012 4:31 PM, Juha Heinanen wrote:

Alexandr Dubovikov writes:


without any additional modules ? anyway I will check it too.

no, with lots of other modules.  below is list up to sipcapture, but i
don't think it matters.

-- juha


ok. i will check.

Wbr,
Alexandr


loadpath /usr/lib/sip-proxy/modules
loadmodule app_lua
loadmodule auth
loadmodule avpops
loadmodule db_mysql
loadmodule tm
loadmodule lcr
loadmodule cfg_rpc
loadmodule ctl
loadmodule dialplan
loadmodule enum
loadmodule geoip
loadmodule ipops
loadmodule mediaproxy
loadmodule mi_rpc
loadmodule mtree
loadmodule sanity
loadmodule sdpops
loadmodule sipcapture

___
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] sip_capture schema?

2012-10-04 Thread Dragos Dinu

Indeed, I have replicated the crash.

I'll commit a fix, but in the meantime, you should set the table_name 
parameter : this is the name of the table (or tables) that are used to 
insert the captured data.


You can write:
modparam(sipcapture, table_name, sip_capture);


Dragos

On 10/04/2012 05:05 PM, Juha Heinanen wrote:

Alexandr Dubovikov writes:


no, it's not obsolete. I will add HEPv3 support soon and update the
README file too.

that is very good.  please also include db schema in lib/srdb1/schema.


please show your kamailio.conf

i don't yet have any sipcapture params set in the config.  i just added
line

loadmodule sipcapture

and restarted my proxy, which resulted in the crash.

-- juha

___
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