Re: [SR-Users] Core dump while saving user location in mongo

2015-01-30 Thread Mickael Marrache
Hi, Thanks for the patch, Kamailio doesn't crash anymore. However, I'm encountering another issue with usrloc + Mongo, I will write a new post. Thanks, Mickael From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Friday, January 30, 2015 7:22 AM To: Mickael Marrache Cc

Re: [SR-Users] Can kamailio generate a PRACK

2015-01-30 Thread Olle E. Johansson
On 30 Jan 2015, at 07:58, Rahul MathuR wrote: > Hello, > > I was wondering whether Kamailio (as proxy) can generate a PRACK on its own ( > since one of the custom written dialer is not sending PRACK) ? > Is there any way I can achieve this ? Kamailio can not participate in a dialog between two

[SR-Users] Wrong location entries when using usrloc with Mongo

2015-01-30 Thread Mickael Marrache
Hi, I start with no location nor in Mongo, nor in memory. My UA registers successfully and I can see the location entry in Mongo. Then, I close my UA which unregisters (by setting Expires header to 0). Then, I open the app again and a new registration is made. The entry after first registra

Re: [SR-Users] Wrong location entries when using usrloc with Mongo

2015-01-30 Thread Mickael Marrache
I forgot to precise that I allow only one contact per AOR. modparam("registrar", "max_contacts", 1) save("location", "0x04") From: Mickael Marrache [mailto:mickaelmarra...@gmail.com] Sent: Friday, January 30, 2015 10:51 AM To: sr-users@lists.sip-router.org Subject: Wrong location entries

Re: [SR-Users] why do not support tcp:eth1:5062,only support eht1:5062

2015-01-30 Thread 张顺通
Jan 30 16:54:17 voip098023 kamailio: : [cfg.y:3436]: yyerror_at(): parse error in config file /home/shuntong.zhang/install_voip/cc_test/edge/etc/kamailio/edge.cfg, line 44, column 8-16: syntax error Jan 30 16:54:17 voip098023 kamailio: : [cfg.y:3436]: yyerror_at(): parse error in config file /ho

[SR-Users] tls_port_no maybe do not work

2015-01-30 Thread 张顺通
I set cfg like this: tls_port_no=9004 listen=bond0:9002 but result is: udp: 10.232.98.23 [10.232.98.23]:9002 tcp: 10.232.98.23 [10.232.98.23]:9002 tls: 10.232.98.23 [10.232.98.23]:9003 ___ SIP Express Router (SE

Re: [SR-Users] Wrong location entries when using usrloc with Mongo

2015-01-30 Thread Daniel-Constantin Mierla
Hello, it seems that the fileds inside the object are deleted, not the entire object. The match was done on username and ruid for deletion, both of them are missing. I will look at the mongo api to see if something was set wrong there for the delete command. Cheers, Daniel On Fri, Jan 30, 2015

Re: [SR-Users] why do not support tcp:eth1:5062,only support eht1:5062

2015-01-30 Thread Daniel-Constantin Mierla
I just tested on my computer with: listen=tcp:wlan0:5060 and kamailio started ok, listening on the ip assigned to wlan0. Can you set debug=3 in kamailio.cfg, then run and send all debug messages? Cheers, Daniel On Fri, Jan 30, 2015 at 9:55 AM, 张顺通 wrote: > Jan 30 16:54:17 voip098023 kamailio

Re: [SR-Users] why do not support tcp:eth1:5062,only support eht1:5062

2015-01-30 Thread 张顺通
already set debug=3 cfg file : debug=3 #log_stderror=no log_facility=LOG_LOCAL0 log_name="ka_cctest_edge" fork=yes # FIXME #user="admin" children=1 tcp_children=1 disable_core_dump=no auto_aliases=no alias=ab.com listen=tcp:bond0:9002 open_files_limit=1 tcp_max_connections=1 tcp_no

Re: [SR-Users] NDB_REDIS password to REDIS remote DB

2015-01-30 Thread Marc Soda
Thanks for the insight. I ended up doing something like this: redis_cmd("localredis", "AUTH REDIS_PASS", "r"); if ($redis(r=>type) == REDIS_REPLY_ERROR) { xlog("L_ERROR", "Redis authentication error"); exit; } I think the confusion came from the fact that you do not specify the password

Re: [SR-Users] NDB_REDIS password to REDIS remote DB

2015-01-30 Thread Daniel-Constantin Mierla
I don't remember the reason authentication was not approached at the time implementing the module, could be that it was not available in hiredis at that time. Now I just googled quickly to see how can be done. Perhaps makes sense to add it inside the code, I guess it is not complex. For the moment

Re: [SR-Users] Wrong location entries when using usrloc with Mongo

2015-01-30 Thread Daniel-Constantin Mierla
I checked quickly the code and mongo c api, it looks ok. Can you see a debug message with content like: ... delete filter document: ... when running with debug=3? If yes, can you send it over to check if is correct? Cheers, Daniel On Fri, Jan 30, 2015 at 10:45 AM, Daniel-Constantin Mierla < mic

Re: [SR-Users] Possible memory leak dealing with presence in kamailio

2015-01-30 Thread Nuno Reis
Hi Daniel. Thanks for answering me back. I'll follow the exact procedures from here: http://www.kamailio.org/wiki/tutorials/troubleshooting/memory and will let you know about my exact finding soon. Cheers, -- *Nuno Miguel Reis* | *Unified Communication** Systems* M. +351 913907481 | nr...@wavec

[SR-Users] What could cause an intermittent fault (28) with http_query()?

2015-01-30 Thread Tim Chubb
Hi All I seem to be experiencing an intermittent fault with the utils http_query() method. We are implementing a routing and white list component that is accessed via a REST api, however i have observed several occasions where this is logged: Jan 30 16:04:17 vs-kam-prod02 /usr/local/sbin/kamai

[SR-Users] Kamailio IMS: can not register

2015-01-30 Thread dfretes
Hi all. I'm trying to setup Kamailio for IMS server, but I've reached a point where I can not move. Trying to register from the Boghe client, I get these errors from the pcscf: tail -f /var/log/syslog|grep './pcscf' Jan 29 22:36:29 kamailioast ./pcscf[3841]: ERROR: *** cfgtrace:request_route=

Re: [SR-Users] Dispatcher weight dont work

2015-01-30 Thread Will Ferrer
Hi Yuriy Sounds great. I am glad to hear you got a good working solution. I hope you have a great weekend. All the best. Will On Thu, Jan 29, 2015 at 2:52 AM, Yuriy Gorlichenko wrote: > Will, thanks for your answer. I already implemented my own lgorithm > without using dispatcher module. It

Re: [SR-Users] Async module taking down our server

2015-01-30 Thread Will Ferrer
Hi Brandon The feature fixed some issues one of our clients auto dialer were having. I hope you have a great weekend. All the best. Will On Thu, Jan 29, 2015 at 5:06 AM, Brandon Armstead wrote: > Why not just kill the call and have billing fix up for minimum duration > occur during CDR creat