Re: [OpenSER-Devel] [ openser-Bugs-1764906 ] failure route not called when TM/473 filtered

2007-09-27 Thread Alex Hermann
On Thursday 20 September 2007 20:10, SourceForge.net wrote: > Yes, I'm having this problem too. Did you find any solution, or is it > really a bug? No solution yet, but disabling the blacklists functionality is a workaround. -- Greetings, A

Re: [OpenSER-Devel] [ openser-Patches-1775285 ] Add new assignment operator (:=) to config script

2007-08-24 Thread Alex Hermann
that is fine with you This was the intent of the patch. I thought it already did this. What did you change? > - in addition, :=null is same as delete all avps with that name Ok. -- Greetings, Alex Hermann ___ Devel mailing list Devel@openser.org htt

[OpenSER-Devel] Add new assignment operator to config script

2007-08-16 Thread Alex Hermann
p: p=0xb5c4fb60, flags=0x0003 [19924]: INFO: name= [19924]: INFO: val_str= [19924]: INFO:avpops:print_avp: p=0xb5c4fbc0, flags=0x0003 [19924]: INFO: name= [19924]: INFO: val_str= -- Greetings, Alex Hermann Index: cfg.lex =

[Devel] Accounting issues

2007-03-12 Thread Alex Hermann
_cancels' is enabled) 3) Documentation on the website suggests that 'report_ack' is enabled by default, it is not. -- Met vriendelijke groet, Alex Hermann Speakup ___ Devel mailing list Devel@openser.org http://openser.org/cgi-bin/mailman/listinfo/devel

[Devel] Missing functionality after migration from avp_write to assignment operator

2007-03-12 Thread Alex Hermann
sername"; does no avp substitution, putting the string literally in the avp. So, my question is, how do i get the same functionality now that avp_write is removed? -- Met vriendelijke groet, Alex Hermann Speakup ___ Devel mailing list Devel@opense

[Devel] missing package - perl Module OpenSER::URI

2007-03-09 Thread Alex Grant
Hi all, i am currently testing the new perl module, and cannot seem to find the OpenSER::URI <#ID-EA7B3E8A4DC6DDF7AF0E02F7CEC8EEF1> package anywhere? the svn version used was 1712. I have had a quick trawl about but can't seem to find it anywhere? T

Re[2]: [Devel] Blacklist and failover

2007-02-07 Thread Alex
Hello, > the 408 timeout was locally generated by openser or was received? if it > is the first case, was there any provisional reply received from UAS? Locally generated by server. It was first try to send packet to another server which was off-line. Another requests were not sent and 477 wa

Re[2]: [Devel] Blacklist and failover

2007-02-07 Thread Alex
Hello, > > disable_dns_blacklist=yes solves trouble, but may be disable it by default, > > or use of other reply (not 477) makes sense? > > > internally there is a difference between the generic 477 error and the > blocking by the blacklists. to be honest, I was to lazy to think about a > n

Re[2]: [Devel] Blacklist and failover

2007-02-07 Thread Alex
Hello, > if you got into failure route, it was because of a negative reply - what > was that code? an IP because blacklisted only if it was a DNS-based > failover which is not visible in failure_route (not triggered). > > can you post (or send privately) the debug log for such a call? Sorry,

Re[2]: [Devel] presence messages

2007-02-06 Thread Alex
Hello, > should be fixed now on CVS. Could you give a try? Note that you have to > remove the totag_avpid parameters from sl and presence module -- it is > using the new sl api and no need for it. It works in my case. Thank you. ___ Devel mailing lis

[Devel] Blacklist and failover

2007-02-06 Thread Alex
Hello, I have discovered that new blacklist feature breaks failover in configuration like this: route[4] { rewriteuri("first uri"); t_on_failure("4"); t_relay(); } failure_route[4] { append_branch("second uri"); t_relay(); } The first try is successful. failure_route triggered and request was

Re[2]: [Devel] presence messages

2007-02-02 Thread Alex
Hello, > seems to be a bug in size computation. Do you use latest CVS version? > > Cheers, > Daniel I'm encoutered the same error few days ago. Seems, like error is in this string (publish.c): 514: if (sl_reply(msg, (char*)412, (char*)"Conditional request Faild") ==

[Devel] Presence module + Oracle

2006-11-30 Thread Alex
Hello, I'm trying to work with presence module using Oracle database (via unixodbc). I have got db tables scripts from wiki (http://www.openser.org/dokuwiki/doku.php/presence:database-tables) and have adopted them for Oracle: 1. removed NOT NULL modifier for watchers.reason, active_watchers.

Re: [Devel] New openserctlrc

2006-07-14 Thread alex
On Fri, 14 Jul 2006, Norman Brandinger wrote: > I would like to suggest that the DBENGINE=PGSQL be replaced with > POSTGRES in the new openserctlrc configuration file. > > The reason for this is that within the OpenSER configuration file, > module parameters can be specified as below: > > for My

[Devel] SIP To: Header Tags issue

2006-03-30 Thread alex
Hi, Having somewhat of an interesting issue that appears to result from vagueness of SIP RFC. Issue is that if requester sent a SIP message and there is no ;tag on the To: field, the UAS is supposed to add the tag and send it back, and requester should use that value in all future references t

[Devel] Re: unixodbc trim padding result

2006-03-20 Thread Alex Gradinar
t take part in comparing. My patch strip padding spaces from all column type. It's possible to use ODBC function SQLDescribeCol to find out type of column and strip pad space only for SQL_CHAR type. Best regards, Alex Gradinar Hello, I am not sure that we have to integrate this in the data

[Devel] unixodbc trim padding result

2006-03-17 Thread Alex Gradinar
omain' module and if the string contains spaces the function is_from_local returns False. Best regards, Alex Gradinar unixodbc-res-trim.patch Description: Binary data ___ Devel mailing list Devel@openser.org http://openser.org/cgi-bin/mailman/listinfo/devel

[Devel] unixodbc reconnect & stored procedures

2006-03-15 Thread Alex Gradinar
*(sql_buf + off) = '\0'; } The correct code is if (_n) { ret = snprintf(sql_buf + off, SQL_BUF_LEN - off, " where "); if (ret < 0 || ret >= (SQL_BUF_LEN - off)) goto error; off += ret; ret = print_where(&CON_CONNECT

Re: [Devel] unixodbc reconnect

2006-03-14 Thread Alex Gradinar
Hello, I've made patch... see attachment. I also modified LOG error for SQLExecDirect. I've added SQL query to log string. Best regards, Alex Gradinar - Original Message - From: "Daniel-Constantin Mierla" <[EMAIL PROTECTED]> To: "Alex Gradinar" &l

[Devel] unixodbc reconnect

2006-03-14 Thread Alex Gradinar
OG(L_ERR, "Statement allocation error %d\n", (int)(long)CON_CONNECTION(_h)); extract_error("SQLAllocStmt", CON_CONNECTION(_h), SQL_HANDLE_DBC); return ret; } } Best regards, Alex Gradinar - Original Message - From: "Alex Gradinar" <[EMAIL P

[Devel] unixodbc & stored procedures

2006-02-28 Thread Alex Gradinar
Hi guys Is it possible instead of use insert/delete/update use stored procedures? Best regards, Alex Gradinar ___ Devel mailing list Devel@openser.org http://openser.org/cgi-bin/mailman/listinfo/devel

[Devel] unixodbc bugs

2006-02-28 Thread Alex Gradinar
1. function convert_rows in file res.c while allocationg memery to columns of row in this code == CON_ROW(_h) = (strn*)pkg_malloc((int)columns); == allocate only amount of bytes as number of columns, but we have to allocate number of columns * sizeof struct strn This is corre