[OpenSIPS-Devel] dbtext module errors

2009-06-30 Thread Peter Nixon
Hi Guys

When building the dbtext module for opensips 1.5.1 on opensuse 11.1 (x86_64) 
I get the following error:

opensips-dbtext-1.5.1-0
... running 01-check-debuginfo
... testing for empty debuginfo packages
... running 02-check-gcc-output
... testing for serious compiler warnings
(using /usr/lib/build/checks-data/check_gcc_output)
(using /var/tmp/build-root/.build.log)

I: Statement is overflowing a buffer
E: opensips bufferoverflow sst_handlers.c:658

Regards

-- 

Peter Nixon
http://peternixon.net/

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [ opensips-Patches-2814800 ] fix: dialog - avoid re-init of dialogs loaded from db

2009-06-30 Thread SourceForge.net
Patches item #2814800, was opened at 2009-06-30 15:40
Message generated for change (Tracker Item Submitted) made by john_riordan
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2814800&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.5.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: John Riordan (john_riordan)
Assigned to: Nobody/Anonymous (nobody)
Summary: fix: dialog - avoid re-init of dialogs loaded from db

Initial Comment:
The create callbacks are being called again and some reinitialization is being 
done on dialogs loaded from db upon handling the next in-dialog request.


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2814800&group_id=232389

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] SF.net SVN: opensips:[5818] branches/1.5/modules/pua/pua.c

2009-06-30 Thread Bogdan-Andrei Iancu
Revision: 5818
  http://opensips.svn.sourceforge.net/opensips/?rev=5818&view=rev
Author:   bogdan_iancu
Date: 2009-06-30 18:10:49 + (Tue, 30 Jun 2009)

Log Message:
---
backport from trunk (rev #5805):
- fetch support added loading the pua info at startup

Revision Links:
--
http://opensips.svn.sourceforge.net/opensips/?rev=5805&view=rev

Modified Paths:
--
branches/1.5/modules/pua/pua.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [ opensips-Bugs-2779502 ] ERROR in re_init_statement: failed while mysql_stmt_prepare.

2009-06-30 Thread SourceForge.net
Bugs item #2779502, was opened at 2009-04-23 16:27
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2779502&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.5.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: ERROR in re_init_statement: failed while mysql_stmt_prepare.

Initial Comment:
When it happens, every registration gets rejected with 500 server internal 
error.

Apr 23 04:04:07 /usr/local/sbin/opensips[9042]: 
ERROR:db_mysql:re_init_statement: failed while mysql_stmt_prepare: (1243) 
Unknown prepared statement
handler (4) given to mysql_stmt_close
Apr 23 04:04:07 /usr/local/sbin/opensips[9042]: 
ERROR:db_mysql:db_mysql_do_prepared_query: failed to re-init statement!
Apr 23 04:04:07 /usr/local/sbin/opensips[9042]: 
ERROR:usrloc:db_update_ucontact: updating database failed
Apr 23 04:04:07 /usr/local/sbin/opensips[9042]: ERROR:usrloc:wb_timer: updating 
contact in db failed
Apr 23 04:04:13 /usr/local/sbin/opensips[9042]: 
ERROR:db_mysql:get_new_stmt_ctx: failed while mysql_stmt_prepare: (2013) Lost 
connection to MySQL ser
ver during query
[...]
Apr 23 04:07:08 /usr/local/sbin/opensips[9002]: 
ERROR:db_mysql:re_init_statement: failed while mysql_stmt_prepare: (1243) 
Unknown prepared statement
handler (1) given to mysql_stmt_close
Apr 23 04:07:08 /usr/local/sbin/opensips[9002]: 
ERROR:db_mysql:db_mysql_do_prepared_query: failed to re-init statement!
Apr 23 04:07:08 /usr/local/sbin/opensips[9002]: ERROR:siptrace:sip_trace: error 
storing trace
Apr 23 04:07:09 /usr/local/sbin/opensips[9005]: 
ERROR:db_mysql:db_mysql_do_prepared_query: mysql_stmt_bind_param() failed: 
Using unsupported buffer type: 858928432  (parameter: 2)

the later ones seems to be mysql errors, but triggered from the first one. 
Restarting opensips (1.5.1) solves the problem for a few days.

Thanks a lot!

--

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-06-30 19:55

Message:
In the last weeks there were couple of fixes that should also address this
bug. Please use the trunk version of db_mysql module and confirm the
fixing.

Thanks and regards,
Bogdan

--

Comment By: Nobody/Anonymous (nobody)
Date: 2009-04-23 16:42

Message:
sorry for the duplicate, my mistake!

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2779502&group_id=232389

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [Webinar] Next webinar is "Routing is SIP"

2009-06-30 Thread Bogdan-Andrei Iancu
Hi,

The next free webinar is scheduled for Wednesday 8th of July 2009. The 
topic is "Routing in SIP"

This webinar will help you to understand SIP routing concepts. SIP 
routing is very often a misunderstood concept. It is essential for 
anyone trying to script OpenSIPS to fully understand these concepts.

Registration form : https://www2.gotomeeting.com/register/429289130

Also see http://www.opensips.org/Training/Webinars for future updates.

Best regards,
Bogdan



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel



[OpenSIPS-Devel] [ opensips-Feature Requests-2795297 ] Path problems in osipsconsole

2009-06-30 Thread SourceForge.net
Feature Requests item #2795297, was opened at 2009-05-22 13:05
Message generated for change (Comment added) made by iulia_bublea
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086413&aid=2795297&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tools
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: ASeques (sacoo)
Assigned to: Iulia Bublea (iulia_bublea)
Summary: Path problems in osipsconsole

Initial Comment:
I am using the 1.5.1 version on a debian platform compiled by "make deb".
Everything is working as expected except for osipsconsole.
There should be a proper path detection, because it currently causes lots of 
trouble.

Currently i see this variables poiting to fixed paths to /usr/local/ , there 
might be more that I already changed.
The optimal solution would be having a definition at the start of the document 
$INSTALL_PATH or similar that could be set on compile/install time.

140:my $MYLIBDIR = "/usr/local/lib/opensips/opensipsctl";
145:my $DATA_DIR = "/usr/local/share/opensips";
146:my $DBTEXT_PATH = "/usr/local/share/opensips/dbtext/opensips";
150:$DB_PATH = "/usr/local/etc/opensips/db_berkeley";
531:$ETCDIR="/usr/local/etc/opensips";
928:if ( -x "/usr/local/bin/".$_[0] ) {
929:$TOOLPATH = "/usr/local/bin/$_[0]";


--

>Comment By: Iulia Bublea (iulia_bublea)
Date: 2009-06-30 16:24

Message:
Thanks for the patch you have uploaded. 

Iulia

--

Comment By: ASeques (sacoo)
Date: 2009-06-29 15:33

Message:
I uploaded a small fix, I wrote three variables with share, etc and libs
path so you don't have to go trough the whole file changing stuff.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086413&aid=2795297&group_id=232389

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] SF.net SVN: opensips:[5817] branches/1.5/scripts/osipsconsole

2009-06-30 Thread Iulia Bublea
Revision: 5817
  http://opensips.svn.sourceforge.net/opensips/?rev=5817&view=rev
Author:   iulia_bublea
Date: 2009-06-30 13:22:21 + (Tue, 30 Jun 2009)

Log Message:
---
 - Fixed path problem.
 - Issue submitted by sacoo - Feature Requests item #2795297.

Modified Paths:
--
branches/1.5/scripts/osipsconsole


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] SF.net SVN: opensips:[5816] trunk/scripts/osipsconsole

2009-06-30 Thread Iulia Bublea
Revision: 5816
  http://opensips.svn.sourceforge.net/opensips/?rev=5816&view=rev
Author:   iulia_bublea
Date: 2009-06-30 13:14:44 + (Tue, 30 Jun 2009)

Log Message:
---
 - Fixed path problem.
 - Issue submitted by sacoo - Feature Requests item #2795297.

Modified Paths:
--
trunk/scripts/osipsconsole


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] SF.net SVN: opensips:[5815] branches/1.5/scripts

2009-06-30 Thread Iulia Bublea
Revision: 5815
  http://opensips.svn.sourceforge.net/opensips/?rev=5815&view=rev
Author:   iulia_bublea
Date: 2009-06-30 11:40:16 + (Tue, 30 Jun 2009)

Log Message:
---
- port parameter added to postgres database connection string.
* to be set in osipsconsolerc

Modified Paths:
--
branches/1.5/scripts/osipsconsole
branches/1.5/scripts/osipsconsolerc


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [ opensips-Bugs-2813893 ] osipsconsole has wrong Postgres URI

2009-06-30 Thread SourceForge.net
Bugs item #2813893, was opened at 2009-06-29 11:01
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2813893&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tools
Group: 1.5.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Iulia Bublea (iulia_bublea)
Summary: osipsconsole has wrong Postgres URI

Initial Comment:
On line 1561 in osipsconsole, the line is:

dbh = DBI->connect("DBI:$DBENGINE:database=$DBNAME;host=$DBHOST", (...)

This does not work. The docs at http://search.cpan.org/~rudy/DBD-Pg-1.32/Pg.pm 
show that the URI should be:

dbh = DBI->connect("DBI:$DBENGINE:dbname=$DBNAME;host=$DBHOST", (...)


--

Comment By: Nobody/Anonymous (nobody)
Date: 2009-06-30 11:34

Message:
I have fixed this on trunk and 1.5, please check if it works.

Iulia

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2813893&group_id=232389

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [ opensips-Bugs-2813893 ] osipsconsole has wrong Postgres URI

2009-06-30 Thread SourceForge.net
Bugs item #2813893, was opened at 2009-06-29 14:01
Message generated for change (Settings changed) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2813893&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tools
Group: 1.5.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Iulia Bublea (iulia_bublea)
Summary: osipsconsole has wrong Postgres URI

Initial Comment:
On line 1561 in osipsconsole, the line is:

dbh = DBI->connect("DBI:$DBENGINE:database=$DBNAME;host=$DBHOST", (...)

This does not work. The docs at http://search.cpan.org/~rudy/DBD-Pg-1.32/Pg.pm 
show that the URI should be:

dbh = DBI->connect("DBI:$DBENGINE:dbname=$DBNAME;host=$DBHOST", (...)


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2813893&group_id=232389

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] SF.net SVN: opensips:[5814] trunk/scripts

2009-06-30 Thread Iulia Bublea
Revision: 5814
  http://opensips.svn.sourceforge.net/opensips/?rev=5814&view=rev
Author:   iulia_bublea
Date: 2009-06-30 10:37:11 + (Tue, 30 Jun 2009)

Log Message:
---
- port parameter added to postgres database connection string.
* to be set in osipsconsolerc

Modified Paths:
--
trunk/scripts/osipsconsole
trunk/scripts/osipsconsolerc


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] SF.net SVN: opensips:[5813] branches/1.4/modules/rls/notify.c

2009-06-30 Thread Anca Vamanu
Revision: 5813
  http://opensips.svn.sourceforge.net/opensips/?rev=5813&view=rev
Author:   anca_vamanu
Date: 2009-06-30 10:25:48 + (Tue, 30 Jun 2009)

Log Message:
---
- fixed body format for rls Notify - removed a blank line separating boundary 
string from content headers (reported by Shefali Dutta )

Modified Paths:
--
branches/1.4/modules/rls/notify.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] SF.net SVN: opensips:[5812] branches/1.5/modules/rls/notify.c

2009-06-30 Thread Anca Vamanu
Revision: 5812
  http://opensips.svn.sourceforge.net/opensips/?rev=5812&view=rev
Author:   anca_vamanu
Date: 2009-06-30 09:58:42 + (Tue, 30 Jun 2009)

Log Message:
---
- fixed body format for rls Notify - removed a blank line separating boundary 
string from content headers (reported by Shefali Dutta )

Modified Paths:
--
branches/1.5/modules/rls/notify.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] SF.net SVN: opensips:[5811] trunk/modules/rls/notify.c

2009-06-30 Thread Anca Vamanu
Revision: 5811
  http://opensips.svn.sourceforge.net/opensips/?rev=5811&view=rev
Author:   anca_vamanu
Date: 2009-06-30 09:55:14 + (Tue, 30 Jun 2009)

Log Message:
---
- fixed body format for rls Notify - removed a blank line separating boundary 
string from content headers (reported by Shefali Dutta )

Modified Paths:
--
trunk/modules/rls/notify.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [ opensips-Bugs-2813993 ] dialogs not deleted after processing bye

2009-06-30 Thread SourceForge.net
Bugs item #2813993, was opened at 2009-06-29 16:47
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2813993&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.5.x
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: kisteorg (kisteorg)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: dialogs not deleted after processing bye

Initial Comment:
I am using dialog for controlling parallel call limits. By implementing this I 
found out, that sometimes dialogs are not deleted (ATM I have a setup which 
with I can reproduce this). The strange thing is, that the dialog will be 
deleted from db, if I use db_mode=1, but not from memory. 

This is what is shown up with opensipsctrl fifo dlg_list
dialog::  hash=2529:1822924605
state:: 5
user_flags:: 0
timestart:: 1246282955
timeout:: 0
callid:: 3a5936223ce645ee47913d550a937...@10.20.138.105
from_uri:: sip:9904...@10.20.138.105:5100
from_tag:: as2f665ccf
caller_contact:: sip:9904...@10.20.138.105:5100
caller_cseq:: 102
caller_route_set:: 
caller_bind_addr:: udp:10.20.138.125:5100
to_uri:: sip:43153022...@xyz.domain.de:5100
to_tag:: as71ee8c07
callee_contact:: sip:4315302...@10.254.254.12
callee_cseq:: 102
callee_route_set:: 
callee_bind_addr:: udp:10.20.138.125:5060



--

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-06-30 10:51

Message:
Thanks Uwe,

I also made the backports.

Regards,
Bogdan

--

Comment By: kisteorg (kisteorg)
Date: 2009-06-30 09:49

Message:
Hi Bogdan, 

I patched the changes from dlg_handlers.c (rev 5806) to my 1.5.1 source
and rebuild dialog.so. The problem is fixed. 

Thanks a lot

BR

Uwe

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2813993&group_id=232389

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] SF.net SVN: opensips:[5810] branches/1.5/modules/dialog/dlg_handlers.c

2009-06-30 Thread Bogdan-Andrei Iancu
Revision: 5810
  http://opensips.svn.sourceforge.net/opensips/?rev=5810&view=rev
Author:   bogdan_iancu
Date: 2009-06-30 07:51:46 + (Tue, 30 Jun 2009)

Log Message:
---
backport from trunk (rev #5806):
- prevent executing twice the onroute callback due bogus call of loose_route 
(more than once).

Revision Links:
--
http://opensips.svn.sourceforge.net/opensips/?rev=5806&view=rev

Modified Paths:
--
branches/1.5/modules/dialog/dlg_handlers.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel