Re: [SR-Users] decode_mime_type error

2011-08-19 Thread Bucur Marius
_______ From: Jijo To: Bucur Marius ; sr-users@lists.sip-router.org Sent: Friday, August 19, 2011 11:17 AM Subject: Re: [SR-Users] decode_mime_type error Hi Marius, The existing implementation is done considering the limitation of decode_mime_type but somehow missed the change in parse_c

Re: [SR-Users] decode_mime_type error

2011-08-18 Thread Bucur Marius
till be buggy, as I explained in the example above. Cheers, Marius ____ From: Jijo To: Bucur Marius Sent: Thursday, August 18, 2011 10:48 AM Subject: Re: [SR-Users] decode_mime_type error Hi Marius, Right, the same function is used for Accept and  Content-Type. I

Re: [SR-Users] decode_mime_type error

2011-08-17 Thread Bucur Marius
Hello Jijo, It seems like the decode_mime_type is a somehow broken. The comma is very well allowed in boundary, as you said. The BNF specified in RFC2046 permits it. But, the decode_mime_type function ignores everything coming after comma. More than that, it notifies the function caller that thi

Re: [SR-Users] xcap server - http load–balancer: xcap authentication problem

2011-07-21 Thread Bucur Marius
Hello Laura, I made a patch with the changes required for a pure DB_ONLY mode. You can find it on master branch. Any feedback is very welcomed. Regards, Marius From: laura testi To: Henning Westerholt ; "Bucur, Marius Ovidiu" Cc: "sr-

Re: [SR-Users] Kamailio presence server problem with PostgreSQL

2011-07-20 Thread Bucur Marius
Hi, It think there is something wrong with the sql scripts, hence the code obviously accepts a null sender. presentity.c:357 if( presentity->sender) { query_cols[n_query_cols] = &str_sender_col; query_vals[n_query_cols].type = DB1_STR; query_vals[n_query_cols].nul = 0; query_vals[n_query_cols].v

Re: [SR-Users] xcap server - http load–balancer: xcap authentication problem

2011-07-20 Thread Bucur Marius
o for the "presentity" table when running in db_only mode. I will make a patch this evening with this change, and commit it on the master branch. If anyone has other suggestions, please let me know. Cheers, Marius From: laura testi To: Henning Westerh

Re: [SR-Users] xcap server - http load–balancer: xcap authentication problem

2011-07-15 Thread Bucur Marius
lease tell me more about the scenario you are using? Is there any usecase in which you can see the subscription in memory but not in the active_watchers table? Regards, Marius From: Henning Westerholt To: "Bucur, Marius Ovidiu" Cc: "sr-users@

Re: [SR-Users] : about presence

2011-05-03 Thread Bucur Marius
Hello, If you disable "#!define WITH_PRECENCE" you will not use presence at all - so it is most probably that you don't want that. When you use db_fallback mode, the subscribers are only written to database once in a while (in your case every 20 seconds). Also, if the subscribers are not autho

[SR-Users] xlogl and pseudo variables

2011-01-29 Thread Bucur Marius
Hello, From my opinion, the logging itself will be a performance killer, not appending the pseudo variables to the log string - which should consist just in fast memory operations. Make sure you have "-" before the filename though for asynchronous writing to the log file (syslog.conf). Finally