Re: [SR-Users] Segfault when trying to send MESSAGE through websocket with jsSIP

2014-04-09 Thread Alex Villací­s Lasso
El 09/04/14 16:17, Daniel-Constantin Mierla escribió: The crash was not related to websocket at all, but to usage of uac_reg_lookup() when you don't set reg_db_url parameter for uac module. So, my question is why are you using uac_reg_lookup()? Because it is useless if you dont set reg_db_url a

Re: [SR-Users] Segfault when trying to send MESSAGE through websocket with jsSIP

2014-04-09 Thread Daniel-Constantin Mierla
The crash was not related to websocket at all, but to usage of uac_reg_lookup() when you don't set reg_db_url parameter for uac module. So, my question is why are you using uac_reg_lookup()? Because it is useless if you dont set reg_db_url and you don't have records in uacreg database table. T

Re: [SR-Users] Segfault when trying to send MESSAGE through websocket with jsSIP

2014-04-09 Thread Alex Villací­s Lasso
El 09/04/14 12:36, Daniel-Constantin Mierla escribió: The safety checks were pushed to master and 4.1 branches. Can you try with the latest git version and report the result? Cheers, Daniel On 09/04/14 18:43, Daniel-Constantin Mierla wrote: OK, that's the reason, the _reg_htable is initialize

Re: [SR-Users] Segfault when trying to send MESSAGE through websocket with jsSIP

2014-04-09 Thread Daniel-Constantin Mierla
The safety checks were pushed to master and 4.1 branches. Can you try with the latest git version and report the result? Cheers, Daniel On 09/04/14 18:43, Daniel-Constantin Mierla wrote: OK, that's the reason, the _reg_htable is initialized only when reg_db_url is set, otherwise there is no so

Re: [SR-Users] Segfault when trying to send MESSAGE through websocket with jsSIP

2014-04-09 Thread Daniel-Constantin Mierla
OK, that's the reason, the _reg_htable is initialized only when reg_db_url is set, otherwise there is no source of user profile to do registration for, and no point to do uac_reg_lookup(). I will add safety checks for this case. Cheers, Daniel On 09/04/14 18:30, Alex Villací­s Lasso wrote: E

Re: [SR-Users] Segfault when trying to send MESSAGE through websocket with jsSIP

2014-04-09 Thread Alex Villací­s Lasso
El 09/04/14 03:11, Daniel-Constantin Mierla escribió: Hello, can you share here the parameters for uac module? Currently there are no explicit parameters. All parameters are currently commented out: [root@elx3 ~]# grep uac /etc/kamailio/kamailio.cfg loadmodule "uac.so" #modparam("uac", "reg_d

Re: [SR-Users] Segfault when trying to send MESSAGE through websocket with jsSIP

2014-04-09 Thread Daniel-Constantin Mierla
Hello, can you share here the parameters for uac module? Cheers, Daniel On 09/04/14 00:23, Alex Villací­s Lasso wrote: El 04/04/14 16:26, Alex Villací­s Lasso escribió: I am currently trying to replace a pure-Asterisk implementation of SIP messaging through Websockets, with a Kamailio-4.1.2-b

Re: [SR-Users] Segfault when trying to send MESSAGE through websocket with jsSIP

2014-04-08 Thread Alex Villací­s Lasso
El 04/04/14 16:26, Alex Villací­s Lasso escribió: I am currently trying to replace a pure-Asterisk implementation of SIP messaging through Websockets, with a Kamailio-4.1.2-based implementation. However, when I try to send a message with jsSIP, Kamailio crashes: Program terminated with signal

[SR-Users] Segfault when trying to send MESSAGE through websocket with jsSIP

2014-04-04 Thread Alex Villací­s Lasso
I am currently trying to replace a pure-Asterisk implementation of SIP messaging through Websockets, with a Kamailio-4.1.2-based implementation. However, when I try to send a message with jsSIP, Kamailio crashes: Program terminated with signal 11, Segmentation fault. #0 0x7f0e5cf31be3 in r