[OpenSER-Devel] [ openser-Bugs-1823417 ] Presence

2007-10-31 Thread Juha Heinanen
SourceForge.net writes: presence:handle_subscribe: Missing or unsupported event header field value presence:handle_subscribe: event= call-info presence:handle_subscribe: event= call-summary currently (in 1.3) openser doed not support call-info or call-summary events. i don't know

Re: [OpenSER-Devel] SF.net SVN: openser: [3048] trunk/tcp_main.c

2007-11-17 Thread Juha Heinanen
Bogdan-Andrei Iancu writes: I'm not able to reproduce this...could you get the full debug (from start to shutdown) and send it to me? bogdan, i noticed that the error message only appears when i stop openser when there is a sip ua registered to the proxy using tcp transport. to reproduce,

Re: [OpenSER-Devel] SF.net SVN: openser: [3132] trunk

2007-11-19 Thread Juha Heinanen
Bogdan-Andrei Iancu writes: actually the DB table definition was not change - there was a bug in the newly added db schema for generating the DB definitions. bogdan, i remember checking svn diffs of one .sql file and saw that some column now allowed NULL value which was now allowed in

[OpenSER-Devel] openser messages

2007-11-19 Thread Juha Heinanen
Dan Pascu writes: I've noticed that openser is very chatty lately. this reminds me about memory debug that is now on by default in trunk. if one is not interested in memory debugging, it is hard to find the relevant degug lines among the memory ones. would it be possible to make memory debug

Re: [OpenSER-Devel] openser messages

2007-11-20 Thread Juha Heinanen
Bogdan-Andrei Iancu writes: you mean to use also memlog for the memory debug logs? bogdan, i don't know but if i increase debug level from 3 to 4, i start to get these lots of kind of messages: Nov 20 10:10:23 rautu /usr/sbin/openser[6160]: core:qm_malloc: params (0x817ed60, 8), returns

Re: [OpenSER-Devel] SF.net SVN: openser: [3048] trunk/tcp_main.c

2007-11-20 Thread Juha Heinanen
Bogdan-Andrei Iancu writes: I found and fix the bug - please let me know if works for you. yes, the error messages are now gone. -- juha ___ Devel mailing list Devel@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSER-Devel] id column name

2007-11-24 Thread Juha Heinanen
Dan Pascu writes: Prefixing with the table name is not necessary to have that added value, because the table name already puts it in the right context: ... WHERE lcr.grp_id = gw_grp.id ... with added value, i was not referring added value to the code, but a user who is filling up the

Re: [OpenSER-Devel] id column name

2007-11-26 Thread Juha Heinanen
Dan Pascu writes: That's fine with me. In this case why not add the name column to the gw table? If it's a 1 to 1 relationship it doesn't need a different table linked through an id. That would only be required if you have a 1 to many relationship. gw table already has name column.

[OpenSER-Devel] textops function to add a body

2007-11-29 Thread Juha Heinanen
there is a need to add a body to a request that doesn't previously have one. i thought that such a function would already exist, but couldn't find one. instead i found several functions that manipulate an existing body. i guess the only solution is to write such a function and add it to textops

[OpenSER-Devel] wrong debug level in pua_mi/mi_func.c?

2007-12-06 Thread Juha Heinanen
i noticed that mwi publish caused the following error message to syslog: Dec 6 20:34:29 tutpro /usr/sbin/sems_openser[25383]: Handling PUBLISH to sip:[EMAIL PROTECTED] Dec 6 20:34:29 tutpro /usr/sbin/sems_openser[25377]: ERROR:pua_mi:mi_publ_rpl_cback: lexpire= 7776001 looks like it is

[OpenSER-Devel] SF.net SVN: openser: [3394] trunk/modules/auth_radius/sterman.c

2007-12-14 Thread Juha Heinanen
Revision: 3394 http://openser.svn.sourceforge.net/openser/?rev=3394view=rev Author: juhe Date: 2007-12-14 08:03:45 -0800 (Fri, 14 Dec 2007) Log Message: --- * If REJECT_RC reply has been defined, use it instead of printing an error message, when authentication fails due

[OpenSER-Devel] SF.net SVN: openser: [3397] trunk/modules/permissions

2007-12-14 Thread Juha Heinanen
Revision: 3397 http://openser.svn.sourceforge.net/openser/?rev=3397view=rev Author: juhe Date: 2007-12-14 08:47:23 -0800 (Fri, 14 Dec 2007) Log Message: --- * Introduced allow_source_address_group() function which checks if source address/port is found in cached address

[OpenSER-Devel] SF.net SVN: openser: [3398] trunk/modules/lcr

2007-12-14 Thread Juha Heinanen
Revision: 3398 http://openser.svn.sourceforge.net/openser/?rev=3398view=rev Author: juhe Date: 2007-12-14 09:00:48 -0800 (Fri, 14 Dec 2007) Log Message: --- * from_gw function can now take an optional pseudo variable argument that, if present, holds the ip address to be

[OpenSER-Devel] pvap fixup to mod_fix.c?

2007-12-14 Thread Juha Heinanen
many modules have functions that take a pseudo variable as argument. would it be possible to add pvar_fixup to mod_fix.c or is there some reason it cannot be done? -- juha ___ Devel mailing list Devel@lists.openser.org

[OpenSER-Devel] SF.net SVN: openser: [3399] trunk/modules/lcr/README

2007-12-14 Thread Juha Heinanen
Revision: 3399 http://openser.svn.sourceforge.net/openser/?rev=3399view=rev Author: juhe Date: 2007-12-14 09:01:59 -0800 (Fri, 14 Dec 2007) Log Message: --- * Forgot to generate new README. Modified Paths: -- trunk/modules/lcr/README This was sent by the

[OpenSER-Devel] SF.net SVN: openser: [3401] trunk/modules/lcr

2007-12-15 Thread Juha Heinanen
Revision: 3401 http://openser.svn.sourceforge.net/openser/?rev=3401view=rev Author: juhe Date: 2007-12-15 02:55:05 -0800 (Sat, 15 Dec 2007) Log Message: --- * Replaced dm column/flag with flags column/AVP. Modified Paths: -- trunk/modules/lcr/README

[OpenSER-Devel] SF.net SVN: openser: [3402] trunk

2007-12-15 Thread Juha Heinanen
Revision: 3402 http://openser.svn.sourceforge.net/openser/?rev=3402view=rev Author: juhe Date: 2007-12-15 03:04:24 -0800 (Sat, 15 Dec 2007) Log Message: --- * Schema changes due to gw/dm to gw/flags change. Modified Paths: -- trunk/db/schema/entities.xml

[OpenSER-Devel] SF.net SVN: openser: [3403] trunk/scripts

2007-12-16 Thread Juha Heinanen
Revision: 3403 http://openser.svn.sourceforge.net/openser/?rev=3403view=rev Author: juhe Date: 2007-12-16 22:21:59 -0800 (Sun, 16 Dec 2007) Log Message: --- * Removed lcr gateway group table related stuff from scripts (hopefully all of it). Modified Paths:

Re: [OpenSER-Devel] SF.net SVN: openser: [3395] trunk

2007-12-16 Thread Juha Heinanen
Ovidiu Sas writes: openserctl script needs to be fixed (`openserctl lcr show' is broken - at least in dbtext mode). ovidiu, i have now tried to remove all gateway group related stuff from openserctl scripts. -- juha ___ Devel mailing list

[OpenSER-Devel] Request for comment: module interface extension

2007-12-17 Thread Juha Heinanen
Henning Westerholt writes: We would suggest a extension to make this interface more flexible, to support more module function parameter, and to remove the unnecessary ones too. henning, it is great if you have time to work on this, but i would like to first see an exact syntax of what you

Re: [OpenSER-Devel] Request for comment: module interface extension

2007-12-17 Thread Juha Heinanen
Henning Westerholt writes: So for now i suggest only to change the module functions export to: typedef int (*cmd_function)(struct sip_msg*, int count, char **params); so there can be optional args, like function([arg1 [,arg2 [,arg3...]]])? -- juha

Re: [OpenSER-Devel] pvap fixup to mod_fix.c?

2007-12-17 Thread Juha Heinanen
Daniel-Constantin Mierla writes: indeed, moving that will do quite a lot of cleanup in modules, making easier to maintain in case of a change. I am for this migration. if one function has one pvar arg and another one has two, should there then be pvar1 fixup and pvar2 fixup in the library

Re: [OpenSER-Devel] SF.net SVN: openser: [3415] trunk

2007-12-17 Thread Juha Heinanen
Bogdan-Andrei Iancu writes: So, my suggestion is to revert this commit and let me add this generic logging function (which anyhow is needed by other modules, like xlog) and to add the configurable facility as acc module param. bogdan, would this generic function also allow configuration

Re: [OpenSER-Devel] SF.net SVN: openser: [3426] trunk

2007-12-18 Thread Juha Heinanen
Dan Pascu writes: This is a collaborative effort. If anyone is unsatisfied with somebody else's performance they're free to improve it in anyway they see fit. dan, this is collaborative effort, but not an anarchic one without any rules. i don't remember if we have made a formal decision

Re: [OpenSER-Devel] SF.net SVN: openser: [3426] trunk

2007-12-18 Thread Juha Heinanen
Dan Pascu writes: At this point I'm confused. Is this a generic moralizing speech not targeted to any certain individual or do you imply that I'm acting above others because I wasn't quick enough in updating the docs? dan, this has nothing to do about being quick enough. i sent the

Re: [OpenSER-Devel] SF.net SVN: openser: [3426] trunk

2007-12-18 Thread Juha Heinanen
Dan Pascu writes: I don't take offense in a reminder either. But if I say I'll do it later because I'm busy with something else and I also have to figure out how to operate the wiki, then I expect the other side to let me be for a while instead of continuing to hammer it as if it's a

[OpenSER-Devel] SF.net SVN: openser: [3434] trunk

2007-12-19 Thread Juha Heinanen
Revision: 3434 http://openser.svn.sourceforge.net/openser/?rev=3434view=rev Author: juhe Date: 2007-12-19 03:13:51 -0800 (Wed, 19 Dec 2007) Log Message: --- * Added two new pseudo vars: $pip = value of Diversion header privacy parameter $pir = value of Diversion header

[OpenSER-Devel] Merry Christmas and a good start into 2008!

2007-12-21 Thread Juha Heinanen
Henning Westerholt writes: I wish Merry Christmas to everybody involved into this project. Have a nice time with your family and friends and a good start into the new year! Henning, Thanks for contributing so much to the project. Same for everybody else. -- Juha

[OpenSER-Devel] SF.net SVN: openser: [3484] trunk/modules/uri/checks.c

2007-12-23 Thread Juha Heinanen
Revision: 3484 http://openser.svn.sourceforge.net/openser/?rev=3484view=rev Author: juhe Date: 2007-12-23 04:31:44 -0800 (Sun, 23 Dec 2007) Log Message: --- * Added check on empty pseudo variable value. Modified Paths: -- trunk/modules/uri/checks.c This

[OpenSER-Devel] SF.net SVN: openser: [3485] trunk/modules/lcr

2007-12-23 Thread Juha Heinanen
Revision: 3485 http://openser.svn.sourceforge.net/openser/?rev=3485view=rev Author: juhe Date: 2007-12-23 07:03:00 -0800 (Sun, 23 Dec 2007) Log Message: --- * Added optional caller's URI pseudo variable argument to load_gws() function. * Replaced load_gws() function with

[OpenSER-Devel] SF.net SVN: openser: [3486] trunk/modules/lcr

2007-12-23 Thread Juha Heinanen
Revision: 3486 http://openser.svn.sourceforge.net/openser/?rev=3486view=rev Author: juhe Date: 2007-12-23 07:05:31 -0800 (Sun, 23 Dec 2007) Log Message: --- * Small improvement in documentation. Modified Paths: -- trunk/modules/lcr/README

[OpenSER-Devel] SF.net SVN: openser: [3487] trunk/pvar.c

2007-12-23 Thread Juha Heinanen
Revision: 3487 http://openser.svn.sourceforge.net/openser/?rev=3487view=rev Author: juhe Date: 2007-12-23 08:22:20 -0800 (Sun, 23 Dec 2007) Log Message: --- * Pseudo variable $aU was accessed by wrong pv_get_authattr index. Modified Paths: -- trunk/pvar.c

[OpenSER-Devel] SF.net SVN: openser: [3493] trunk/modules/lcr

2007-12-28 Thread Juha Heinanen
Revision: 3493 http://openser.svn.sourceforge.net/openser/?rev=3493view=rev Author: juhe Date: 2007-12-28 02:45:16 -0800 (Fri, 28 Dec 2007) Log Message: --- * Tried to improve documentation. * Renamed gw/prefix column to gw/tag column in order to avoid confusion with

[OpenSER-Devel] SF.net SVN: openser: [3496]

2008-01-01 Thread Juha Heinanen
Revision: 3496 http://openser.svn.sourceforge.net/openser/?rev=3496view=rev Author: juhe Date: 2008-01-01 11:10:19 -0800 (Tue, 01 Jan 2008) Log Message: --- * Fixed bug that was introduced in is_uri_host_local function by

Re: [OpenSER-Devel] SF.net SVN: openser: [3483] trunk

2008-01-07 Thread Juha Heinanen
Henning Westerholt writes: Its safe to use the pv_parse_spec function instead of the pv_parse_format? Or perhaps better use the pv_parse_format in the fixup function too? What is the suggested way of fixing PVs? if argument can be just a pvar and nothing else, i want its handling

[OpenSER-Devel] SF.net SVN: openser: [3510] branches/1.3/modules/lcr/lcr_mod.c

2008-01-07 Thread Juha Heinanen
Dan Pascu writes: Log Message: --- Fixed a core dump caused by illegal memory access if the rpid AVP holds an integer value dan, thanks for the fix. -- juha ___ Devel mailing list Devel@lists.openser.org

[OpenSER-Devel] SF.net SVN: openser: [3560]

2008-01-21 Thread Juha Heinanen
Revision: 3560 http://openser.svn.sourceforge.net/openser/?rev=3560view=rev Author: juhe Date: 2008-01-21 14:08:23 -0800 (Mon, 21 Jan 2008) Log Message: --- * Fixed memory leak reported by Salahuddin Ahmed. Modified Paths: --

[OpenSER-Devel] [ openser-Bugs-1876327 ] Possible Memleak in domain module

2008-01-21 Thread Juha Heinanen
SourceForge.net writes: Bugs item #1876327, was opened at 2008-01-21 15:31 Summary: Possible Memleak in domain module thanks for pointing out the leak. i fixed it, but cannot close the ticket due to my slow internet access. -- juha ___ Devel

[OpenSER-Devel] SF.net SVN: openser: [3561]

2008-01-22 Thread Juha Heinanen
Revision: 3561 http://openser.svn.sourceforge.net/openser/?rev=3561view=rev Author: juhe Date: 2008-01-22 01:39:45 -0800 (Tue, 22 Jan 2008) Log Message: --- * load_gws make sense to be called only from request route, because gw selection is currently based on Request URI

[OpenSER-Devel] memory leak in canceled call with diversion header

2008-02-01 Thread Juha Heinanen
William Quan writes: Looking for advice on a memory problem in openser v1.2.3. A simple call is canceled, but the memory associated with the 'msg-diversion-parsed' is leaking (Invite contains a 'Diversion' header). Processing the 487 appears to be running tm callbacks that parse the

[OpenSER-Devel] RFC: memory management in database modules

2008-02-05 Thread Juha Heinanen
Henning Westerholt writes: As we have many more modules than database connectors in the code, i think it would make more sense to change the postgres and db_berkeley module to match the behaviour of the mysql module. Any comments? i'm in favor of your suggestion. in case module does

[OpenSER-Devel] $Au or $aU ?

2008-02-07 Thread Juha Heinanen
IƱaki Baz Castillo writes: $au - username from Authorization or Proxy-Authorization header $aU - whole username from Authorization or Proxy-Authorization header $adu - URI from Authorization or Proxy-Authorization header. This URI is used when calculating the HTTP

Re: [OpenSER-Devel] question on t_relay on CANCEL

2008-02-08 Thread Juha Heinanen
Bogdan-Andrei Iancu writes: CANCEL is only hop by hop (according to RFC 3261), so Route has no sense. If present, it will be ignore as the RFC clearly states that CANCEL must be sent to the same destination, with same VIA and RURI, as the INVITE it cancels. this is what i think too,

[OpenSER-Devel] question on t_relay on CANCEL

2008-02-08 Thread Juha Heinanen
trunk etc/openser.cfg has #initial requests # CANCEL processing if (is_method(CANCEL)) { if (t_check_trans()) t_relay(); exit; } if CANCEL has route headers (like some UAs include based on received

Re: [OpenSER-Devel] question on t_relay on CANCEL

2008-02-08 Thread Juha Heinanen
Dan Pascu writes: Not necessarily. You may have parallel forking and get multiple 180. Until you get a 200 OK, no dialog is really established. from section 12.1 of rfc3261: Within this specification, only 2xx and 101-199 responses with a To tag, where the request was INVITE, will

Re: [OpenSER-Devel] [OpenSER-Users] Survey for new mailing list

2008-02-08 Thread Juha Heinanen
Bogdan-Andrei Iancu writes: I see no advantage of pushing the fixes via minor release. A minor release is just a TAG and a source tarball - none of this help, as you still have to go compile stuff locally (sources from tarballs or from SVN, it's the same). i agree with this. i have

Re: [OpenSER-Devel] [ openser-Patches-1870857 ] new module: ratelimit

2008-02-12 Thread Juha Heinanen
Ovidiu Sas writes: It seems that this module doesn't present enough interest for the community :) ovidiu, if you need more votes, i vote for a standalone module. -- juha ___ Devel mailing list Devel@lists.openser.org

[OpenSER-Devel] t_relay($var(relay_destination), 0x01)

2008-02-16 Thread Juha Heinanen
i tried to make call t_relay($var(relay_destination), 0x01) but noticed, that t_relay doesn't accept a string that contains pseudo variables. it is ok, if i try to make the first argument of t_relay a pv string? -- juha ___ Devel mailing

Re: [OpenSER-Devel] t_relay($var(relay_destination), 0x01)

2008-02-16 Thread Juha Heinanen
Daniel-Constantin Mierla writes: you can set the $du to $var(relay_destination), instead of giving it as first parameter to t_relay(), and the request will be sent there. daniel, nice to know, i'll use that. i didn't find any reference to that functionality in tm/README and same thing

[OpenSER-Devel] compilation of acc module fails when radius acc is enabled

2008-02-16 Thread Juha Heinanen
in order to figure out if my != mystery would get solved by latest trunk version of openser, i tried to build it, but compilation failed. i have in acc module Makefile: #DEFS+=-DSQL_ACC ENABLE_RADIUS_ACC=true in acc_mod.c/mod_init() function there is no ifdef on db related stuff in the

[OpenSER-Devel] radius issues in IRC minutes

2008-02-20 Thread Juha Heinanen
i read irc meeting minutes (could not participate myself due to 12 hour time difference to CET). here are my comments regarding radius modules. i don't think that just having a smaller number of modules can justify putting a lot of work on writing some new api for radius modules. i would rather

[OpenSER-Devel] irc on domains for rr module

2008-02-20 Thread Juha Heinanen
there was also irc discussion on making rr module check if a domain in route uri is local. i recently implemented in domain module capability to check from other modules if domain is local: domain_api_t domain_api; bind_domain_t bind_domain; bind_domain = (bind_domain_t)find_export(bind_domain,

Re: [OpenSER-Devel] irc on domains for rr module

2008-02-21 Thread Juha Heinanen
Bogdan-Andrei Iancu writes: 2) technically simple, but solves only the particular case of RR module; and there will be no common way to check from script/other modules if some domain is local or not. bogdan, i don't understand. the api that domain module provides for other modules IS a

[OpenSER-Devel] subscribe crash

2008-02-22 Thread Juha Heinanen
a couple of days old trunk openser crashed at subscribe: Feb 23 03:40:13 rautu /usr/sbin/openser[6260]: ERROR:db_mysql:db_mysql_submit_query: driver error on query: Duplicate entry 'sip:[EMAIL PROTECTED]' for key 2 Feb 23 03:40:13 rautu /usr/sbin/openser[6260]: ERROR:core:db_do_insert: error

Re: [OpenSER-Devel] irc on domains for rr module

2008-02-25 Thread Juha Heinanen
Bogdan-Andrei Iancu writes: The idea was to have all modules using a core function (like rr does now) to check is a domain is local IP or domain, instead of having each module to use a core function and a function from other module (domains)... in that case, domain module should also

Re: [OpenSER-Devel] more presence errors

2008-02-25 Thread Juha Heinanen
Henning Westerholt writes: i've noticed that both traces have a database error in the logs. Perhaps this was caused from my recent reworks.. Or perhaps there exists an issue with the presence module if a database query fails? why would the query start failing like that when it has

[OpenSER-Devel] [ openser-Bugs-1901793 ] uri_radius error during start

2008-02-25 Thread Juha Heinanen
SourceForge.net writes: Initial Comment: The following error is thrown at startup: ERROR:uri_radius:mod_init: uri_radius: can't get code for the SIP-URI-Host attribute norm, sorry about that. try now. -- juha ___ Devel mailing list

Re: [OpenSER-Devel] irc on domains for rr module

2008-02-27 Thread Juha Heinanen
Bogdan-Andrei Iancu writes: 3) for the moment the only need for domain list in core is because of rr-domain interaction, so not sure if a general solution is really needed.. exactly. if rr module needs domain, it can very well get them from domain module using the api it provides.

[OpenSER-Devel] [ openser-Bugs-1904481 ] crash in usrloc DB_ONLY mode after seconds...

2008-02-29 Thread Juha Heinanen
SourceForge.net writes: Summary: crash in usrloc DB_ONLY mode after seconds... i noticed the same and sent email to devel list about it a few months ago. i didn't see any reaction and since the issue was not critical for me, i didn't push it. it would be nice if there would be some reaction

[OpenSER-Devel] responding to double-CRLF ping with single CRLF pong

2008-03-01 Thread Juha Heinanen
outbound draft http://tools.ietf.org/html/draft-ietf-sip-outbound-12 specifies that tcp connected UAs should keep tcp connection always open to a working outbound proxy and verify if connection is still working by periodically sending double-CRLF pings on the connection. to a double-CRLF ping,

[OpenSER-Devel] returning 0 from function

2008-03-02 Thread Juha Heinanen
i noticed that if allow_source_address_from_group() returns group value 0, statement $var(group) = allow_source_address_from_group(); never returns. is this intentional, i.e., are functions disallowed to return value 0? -- juha ___ Devel mailing

Re: [OpenSER-Devel] returning 0 from function

2008-03-03 Thread Juha Heinanen
Daniel-Constantin Mierla writes: by returning 0, the execution of the script is interrupted -- same behavior as 'exit'. that is what i suspected. in my opinion there is too much under cover things happening here. it would be easier to debug and understand things if script would not

Re: [OpenSER-Devel] returning 0 from function

2008-03-03 Thread Juha Heinanen
Daniel-Constantin Mierla writes: perhaps going to clear return codes handling will be better. Since the beginning of ser, the meaning of return codes was: - greater than 0 was considered true - less than 0 was considered false - 0 was considered exit. Now it is about backward

Re: [OpenSER-Devel] returning 0 from function

2008-03-03 Thread Juha Heinanen
Dan Pascu writes: My guess is that this will not be easy to do as there are currently functions that rely on this to stop processing the message and they do so based on some internal checks/conditions that are not testable from the script. are you saying that you have lots of

Re: [OpenSER-Devel] returning 0 from function

2008-03-03 Thread Juha Heinanen
Dan Pascu writes: AFAIK, there are functions in tm that rely on this, including t_relay if I'm not mistaken. I'd say that until a list of the module functions that use this behavior is made so we can draw a conclusion, it's premature to assume this will be easy to change, or that is

Re: [OpenSER-Devel] returning 0 from function

2008-03-03 Thread Juha Heinanen
Henning Westerholt writes: yes, i've also the same opinion. But there will be probably many configs out there that do rely on this behaviour, and will break if we change this. So i also think this is not something that we should treat lightly. in that case perhaps we can add a config

[OpenSER-Devel] 1.3.1 release, status?

2008-03-06 Thread Juha Heinanen
Juha Heinanen writes: regarding this one, i may be the same i noticed during 1.2 beta phase. sorry, it, of course, was during 1.3 beta phase. i found the message (below). looks like i didn't mention, but the crash only occurred with db_mode=3. -- juha From: [EMAIL PROTECTED] (Juha

Re: [OpenSER-Devel] [Serdev] Possible bug in the tm module in the presence of packet loss/branches

2008-03-07 Thread Juha Heinanen
Maxim Sobolev writes: The TCP/IP operates just fine in networks with 5-10% packet loss. Since it's the same 3-way handshake method, I see no reason why SIP would not. With SIP making inroads into wireless networks, which are by nature much more volatile when it comes to delays and

Re: [OpenSER-Devel] [Serdev] Possible bug in the tm module in the presence of packet loss/branches

2008-03-07 Thread Juha Heinanen
Maxim Sobolev writes: TCP has its own issues, with NAT for example. is there some other NAT problems remaining if UAs keep TCP connection to their outbound proxy open all the time and regularly issue double-CRLF keepalive? -- juha ___ Devel mailing

Re: [OpenSER-Devel] crash

2008-03-12 Thread Juha Heinanen
Dan Pascu writes: Your crash looks suspiciously similar to mine, which I have posted at https://sourceforge.net/tracker/?func=detailatid=743020aid=1912110group_id=139143 dan, your crash if with 1.3 with which i haven't so far had any problems. it may still be the same root cause. i

Re: [OpenSER-Devel] [Serdev] Possible bug in the tm module in the presence of packet loss/branches

2008-03-12 Thread Juha Heinanen
Maxim Sobolev writes: All this has nothing to do with the SIP, really. It just illustrates the point that SIP proxy is bad choice for real-time VoIP accounting. i didn't notice that someone in this discussion would have suggested to use sip proxy for accounting. accounting in the examples

Re: [OpenSER-Devel] [Serdev] Possible bug in the tm module in the presence of packet loss/branches

2008-03-13 Thread Juha Heinanen
Dan Pascu writes: Do you have any suggestion how can this be at least addressed, if not solved, using the current RFC framework? i haven't followed the proposed solutions in detail, but the solution does not need to be RFC complaint as long as it does not assume any changes in rfc complaint

Re: [OpenSER-Devel] usrloc get_all_db_ucontacts frequency

2008-03-24 Thread Juha Heinanen
Bogdan-Andrei Iancu writes: The get_all_db_ucontacts() you see every minute is actually because of distributed NAT pinging :) - instead of taking all contacts once at every n seconds, nathelper takes every seconds a subset of contacts (but taking care to scan all contacts within n

[OpenSER-Devel] returning back to db_mysql Commands out of sync errors

2008-03-24 Thread Juha Heinanen
i did again some mysql tests by restarting mysql server while openser was running. as result, i'm getting these kind of errors on some, but not all, restarts: Mar 24 14:59:18 test /usr/sbin/openser[3]: ERROR:db_mysql:db_mysql_submit_query: driver error on query: Commands out of sync; you

[OpenSER-Devel] crash at get_all_ucontacts in db_mode=3

2008-03-24 Thread Juha Heinanen
i turned on db_mode=3 and got crash at nathelper get_all_ucontacts: (gdb) where #0 0xb7966fb0 in get_all_ucontacts (buf=0x81f0070, len=8, flags=2, part_idx=18, part_max=20) at dlist.c:158 #1 0xb78b00c8 in nh_timer (ticks=1679, timer_idx=0x0) at nathelper.c:2863 #2 0x080c3a84 in

[OpenSER-Devel] unsubscribe crash

2008-03-25 Thread Juha Heinanen
=0x816e180 SUBSCRIBE sip:192.90.10.100:5060 SIP/2.0\r\nVia: SIP/2.0/UDP 192.98.100.3:5066;rport;branch=z9hG4bKmbwczjzz\r\nMax-Forwards: 69\r\nTo: sip:[EMAIL PROTECTED];tag=25.14021.1206458184.1\r\nFrom: \Juha Heinanen\ ..., len=452, rcv_info=0xbf83cb60) at receive.c:156 #19 0x080cf89e

[OpenSER-Devel] db_mysql commands out of sync

2008-03-28 Thread Juha Heinanen
i'm getting these also in usrloc db_mode = 1: Mar 28 14:50:24 tutpro /usr/sbin/openser[11688]: LOG: Handling PUBLISH to sip:[EMAIL PROTECTED] Mar 28 14:50:24 tutpro /usr/sbin/openser[11688]: ERROR:db_mysql:db_mysql_submit_query: driver error on query: Commands out of sync; you can't run this

[OpenSER-Devel] db_mysql commands out of sync

2008-03-28 Thread Juha Heinanen
Juha Heinanen writes: i would really appreciate if db experts could help in solving this problem. what does Commands out of sync sync mean? when does it happen? i found this in mysql 5.0 ref man: B.1.2.14. Commands out of sync If you get Commands out of sync; you can't run

Re: [OpenSER-Devel] db_mysql commands out of sync, presence

2008-03-28 Thread Juha Heinanen
Henning Westerholt writes: Anca commited a fix related to a bug in the presence code, that caused this problems. She also mentioned that an additional fix is necessary. I don't know if this is already fixed.. ok, i'll try with very latest trunk to see if it is still there. i just got the

Re: [OpenSER-Devel] db_mysql commands out of sync, presence

2008-03-28 Thread Juha Heinanen
Anca Vamanu writes: I will take a look. thanks. Juha, could you please help me and say if you have set the enable_sphere_check presence module parameter in your configuration file? no, i have not set it. -- juha ___ Devel mailing list

Re: [OpenSER-Devel] latest trunk openser does not start and does not tell why

2008-03-29 Thread Juha Heinanen
Norman Brandinger writes: Perhaps your problem is related to this: http://sourceforge.net/tracker/index.php?func=detailaid=1926091group_id=139143atid=743020 norm, looks like it. after sending the previous email, i started to do svn updates one rev at a time and found out that openser

[OpenSER-Devel] SF.net SVN: openser: [3959] trunk/mod_fix.c

2008-03-29 Thread Juha Heinanen
Revision: 3959 http://openser.svn.sourceforge.net/openser/?rev=3959view=rev Author: juhe Date: 2008-03-29 06:13:11 -0700 (Sat, 29 Mar 2008) Log Message: --- * Tried to fix fixup_spve (at least it does not crash anymore). Modified Paths: -- trunk/mod_fix.c

[OpenSER-Devel] charset detection of module docs

2008-03-30 Thread Juha Heinanen
my firefox browser is not able to detect correctly the charset used in module documents and thus prints some chars using unknown char symbol. it is not a problem just with my browser, because if i check, for example, http://www.openser.org/docs/modules/devel/domain.html using validator.w3.org

Re: [OpenSER-Devel] db_mysql commands out of sync, presence

2008-03-30 Thread Juha Heinanen
anca, this morning i noticed that during the night out of sync error had reappeared. the first error was this: Mar 30 23:07:10 tutpro /usr/sbin/openser[11733]: ERROR:db_mysql:db_mysql_submit_query: driver error on query: Commands out of sync; you can't run this command now Mar 30 23:07:10

Re: [OpenSER-Devel] db_mysql commands out of sync, presence

2008-03-31 Thread Juha Heinanen
Anca Vamanu writes: It is strange that this error appears when a 'delete' is being executed. Not expected from the description of the error. What version of libmysql-client are you using? it is debian etch official version: ii libmysqlclient15off 5.0.32-7etch5 mysql database

[OpenSER-Devel] REGISTRAR bug - lookup doesn't keep RURI params

2008-03-31 Thread Juha Heinanen
Eric PTAK writes: I think I found a bug in the lookup function of the REGISTRAR module. I have some request with a special parameter in the r-uri, but it's removed after lookup(location) call in the dialplan. according to lookup description in README: If there are such contacts,

Re: [OpenSER-Devel] charset detection of module docs

2008-03-31 Thread Juha Heinanen
Klaus Darilion writes: i haven't checked, but perhaps openser.org web server is adding utf-8 header in the http reply that overrides the above charset definition? yes, it does (can be easily viewed with Webdeveloper Extension) : Response Headers -

Re: [OpenSER-Devel] publish crash

2008-03-31 Thread Juha Heinanen
Anca Vamanu writes: unfortunately it does not help that much. the only sure thing is that something messes up database structures. the segmetation fault is due to memory corruption. hope to figure out who does this and how :(. thanks a lot for your help. anca, henning, when i examined

Re: [OpenSER-Devel] publish crash

2008-03-31 Thread Juha Heinanen
Henning Westerholt writes: You should be able to observe the actual query content. But the row type is not show at the moment. I could add some debugging output, should be not that difficult. With regards to the bad memory, have you tried to run memcheck86 from a live cd? i install

[OpenSER-Devel] SF.net SVN: openser: [3974] trunk/modules/lcr/lcr_mod.c

2008-04-03 Thread Juha Heinanen
Revision: 3974 http://openser.svn.sourceforge.net/openser/?rev=3974view=rev Author: juhe Date: 2008-04-03 10:00:07 -0700 (Thu, 03 Apr 2008) Log Message: --- * Normal lcr children do not need db connection. Modified Paths: -- trunk/modules/lcr/lcr_mod.c

Re: [OpenSER-Devel] SF.net SVN: openser: [3972] trunk

2008-04-03 Thread Juha Heinanen
is there something equivalent of mysql back quotes in oracle? if so, i suggest that they are used instead or renaming existing fields. if not, then i don't see a choice for renaming as long as we don't have configurable database creation scripts. -- juha

[OpenSER-Devel] changelog?

2008-04-05 Thread Juha Heinanen
i didn't find a changelog file where we could list things that have changed from one version to another. i think such a file would be useful in order to avoid questions on the mailing lists on why something that worked in version x does not work in version x+1. if such a file would exist, i

[OpenSER-Devel] ENUM / Forking

2008-04-08 Thread Juha Heinanen
Carsten Bock writes: Is it correct, that in the case of different priorities parallel forking is used? Shouldn't it be sequential forking? enum module does not determine if parallel or sequential forking is used. i just build the destination set, where q values are mapped from naptr

[OpenSER-Devel] SF.net SVN: openser: [4001] trunk/modules

2008-04-10 Thread Juha Heinanen
Bogdan-Andrei Iancu writes: Modified Paths: -- trunk/modules/auth_db/authorize.c trunk/modules/auth_radius/authorize.c i didn't find anything changed when i clicked modified on trunk/modules/auth_radius/authorize.c on viewvc page. -- juha

[OpenSER-Devel] Should fixup functons be moved co core?

2008-04-19 Thread Juha Heinanen
Peter Lemenkov writes: Just wondering why every module developer needs to create its own realization of fixup functions for variables transforming? see mod_fix.[h|c] in core. -- juha ___ Devel mailing list Devel@lists.openser.org

[OpenSER-Devel] SF.net SVN: openser: [4029] trunk/modules/pike

2008-04-19 Thread Juha Heinanen
i noticed that there is a typo in pike readme: 1.3.4. pike_log_level (integer) ... Example 1.4. Set remove_latency parameter ... modparam(pike, remove_latency, 130) -- juha ___ Devel mailing list Devel@lists.openser.org

Re: [OpenSER-Devel] TEXT vs BLOB data in database modules

2008-04-21 Thread Juha Heinanen
Bogdan-Andrei Iancu writes: maybe there is no need for TEXT, but for sure you need some escaping for BLOB type - I remember this issue some time ago in the the postgres module. i don't know if this is related, but when i write value to mysql blob column from php, i have to escape it using

Re: [OpenSER-Devel] TEXT vs BLOB data in database modules

2008-04-21 Thread Juha Heinanen
Henning Westerholt writes: According to the documentation its not necessary to do the unescaping for the retrieval of binary data in binary format, but i think we're using the text format here. yes, i don't need to do any unescaping when i read binary data from blob column. i just need

[OpenSER-Devel] [ openser-Bugs-1947841 ] Error in lcr in function next_gw

2008-04-21 Thread Juha Heinanen
SourceForge.net writes: Initial Comment: If the first gateway, got from main route, do not answer at all (we can see retransmissions), calling function next_gw for searching a next gateway in failure route cause error: openser: ERROR: append_branch: max nr of branches exceeded

[OpenSER-Devel] SF.net SVN: openser: [4063]

2008-04-21 Thread Juha Heinanen
Revision: 4063 http://openser.svn.sourceforge.net/openser/?rev=4063view=rev Author: juhe Date: 2008-04-21 08:04:23 -0700 (Mon, 21 Apr 2008) Log Message: --- * Fixed two memory leaks in next_gw() function. Modified Paths: --

  1   2   3   >