[OpenSIPS-Devel] SF.net SVN: opensips:[8152] trunk/packaging/fedora/opensips.init

2011-07-12 Thread Razvan Crainea
Revision: 8152
  http://opensips.svn.sourceforge.net/opensips/?rev=8152view=rev
Author:   razvancrainea
Date: 2011-07-12 08:09:53 + (Tue, 12 Jul 2011)

Log Message:
---
* Proper (according to LSB) return values
* Explicitly set up PID_file and lock-file
* Check for running OpenSIPs before some operations

-- applied Peter Lemenkov's patch

Modified Paths:
--
trunk/packaging/fedora/opensips.init


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


Re: [OpenSIPS-Devel] [PATCH 1/1] Various cleaus and fixes to the Fedora init-script

2011-07-12 Thread Razvan Crainea

Hi Peter,

The patch was applied on svn revision 8152.

Thank you and regards,

Razvan Crainea
OpenSIPS Developer


On 11.07.2011 17:14, Peter Lemenkov wrote:

* Proper (according to LSB) return values
* Explicitly set up PID_file and lock-file
* Check for running OpenSIPs before some operations

Signed-off-by: Peter Lemenkovlemen...@gmail.com
---
  packaging/fedora/opensips.init |   39 ++-
  1 files changed, 30 insertions(+), 9 deletions(-)

diff --git a/packaging/fedora/opensips.init b/packaging/fedora/opensips.init
index 40adb88..685d1ef 100644
--- a/packaging/fedora/opensips.init
+++ b/packaging/fedora/opensips.init
@@ -20,28 +20,49 @@
  # Source function library.
  . /etc/rc.d/init.d/functions

-oser=/usr/sbin/opensips
  prog=opensips
+oser=/usr/sbin/$prog
+pidfile=/var/run/$prog.pid
+lockfile=/var/lock/subsys/$prog
+configfile=/etc/$prog/$prog.cfg
+OPTIONS=
+
  RETVAL=0

  [ -f /etc/sysconfig/$prog ]  . /etc/sysconfig/$prog

  start() {
echo -n $Starting $prog: 
+
+   # check whether OpenSIPs was already started
+   if status $prog  /dev/null 21 ; then
+   echo -n already running  warning  echo
+   return 0
+   fi
+
# there is something at end of this output which is needed to
# report proper [ OK ] status in Fedora scripts
-   daemon $oser $OPTIONS 2/dev/null | tail -1
+   daemon $oser -P $pidfile -f $configfile $OPTIONS 2/dev/null | tail -1
RETVAL=$?
echo
-   [ $RETVAL = 0 ]  touch /var/lock/subsys/$prog
+   [ $RETVAL = 0 ]  touch $lockfile
+   return $RETVAL
  }

  stop() {
echo -n $Stopping $prog: 
-   killproc $oser
+
+   # check whether OpenSIPs is running
+   if ! status $prog  /dev/null 21 ; then
+   echo -n not running  warning  echo
+   return 0
+   fi
+
+   killproc $prog 2  /dev/null
RETVAL=$?
echo
-   [ $RETVAL = 0 ]  rm -f /var/lock/subsys/$prog /var/run/$prog.pid
+   [ $RETVAL = 0 ]  rm -f $lockfile $pidfile
+   return $RETVAL
  }

  # See how we were called.
@@ -53,22 +74,22 @@ case $1 in
stop
;;
status)
-   status $oser
+   status $prog
RETVAL=$?
;;
restart|reload)
stop
start
;;
-   condrestart)
-   if [ -f /var/run/opensips.pid ] ; then
+   condrestart|try-restart)
+   if [ -f $pidfile ] ; then
stop
start
fi
;;
*)
echo $Usage: $prog 
{start|stop|reload|restart|condrestart|status|help}
-   exit 1
+   RETVAL=2
  esac

  exit $RETVAL


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


[OpenSIPS-Devel] SF.net SVN: opensips:[8153] trunk/modules

2011-07-12 Thread Bogdan-Andrei Iancu
Revision: 8153
  http://opensips.svn.sourceforge.net/opensips/?rev=8153view=rev
Author:   bogdan_iancu
Date: 2011-07-12 14:11:57 + (Tue, 12 Jul 2011)

Log Message:
---
- fixed compiled warnings

Modified Paths:
--
trunk/modules/db_berkeley/bdb_lib.c
trunk/modules/seas/encode_contact.c
trunk/modules/seas/encode_header.c
trunk/modules/seas/encode_msg.c
trunk/modules/seas/encode_route.c
trunk/modules/seas/seas_action.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:[8155] trunk/packaging

2011-07-12 Thread Razvan Crainea
Revision: 8155
  http://opensips.svn.sourceforge.net/opensips/?rev=8155view=rev
Author:   razvancrainea
Date: 2011-07-12 14:25:06 + (Tue, 12 Jul 2011)

Log Message:
---
Updated specs to OpenSIP 1.7

Modified Paths:
--
trunk/packaging/debian/changelog
trunk/packaging/debian/control
trunk/packaging/debian/copyright
trunk/packaging/debian-etch/changelog
trunk/packaging/debian-etch/control
trunk/packaging/debian-etch/copyright
trunk/packaging/fedora/opensips.spec
trunk/packaging/freebsd/Makefile
trunk/packaging/netbsd/DESCR
trunk/packaging/netbsd/Makefile
trunk/packaging/openbsd/Makefile
trunk/packaging/openbsd/pkg/DESCR
trunk/packaging/rpm/opensips.spec.CentOS
trunk/packaging/rpm/opensips.spec.SuSE
trunk/packaging/solaris/base-pkginfo
trunk/packaging/solaris/berkeley-pkginfo
trunk/packaging/solaris/carrierroute-pkginfo
trunk/packaging/solaris/identity-pkginfo
trunk/packaging/solaris/ldap-pkginfo
trunk/packaging/solaris/mmgeoip-pkginfo
trunk/packaging/solaris/mysql-pkginfo
trunk/packaging/solaris/perl-pkginfo
trunk/packaging/solaris/pgsql-pkginfo
trunk/packaging/solaris/pkginfo
trunk/packaging/solaris/regex-pkginfo
trunk/packaging/solaris/snmp-pkginfo
trunk/packaging/solaris/tls-pkginfo
trunk/packaging/solaris/xmlrpc-pkginfo

Added Paths:
---
trunk/packaging/gentoo/opensips-1.7.0.ebuild

Removed Paths:
-
trunk/packaging/gentoo/opensips-1.6.0.ebuild


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


Re: [OpenSIPS-Devel] SF.net SVN: opensips:[8155] trunk/packaging

2011-07-12 Thread Saul Ibarra Corretge
Hi,

On Jul 12, 2011, at 4:25 PM, Razvan Crainea wrote:

 Revision: 8155
  http://opensips.svn.sourceforge.net/opensips/?rev=8155view=rev
 Author:   razvancrainea
 Date: 2011-07-12 14:25:06 + (Tue, 12 Jul 2011)
 
 Log Message:
 ---
 Updated specs to OpenSIP 1.7
 
 Modified Paths:
 --
trunk/packaging/debian/changelog
trunk/packaging/debian/control
trunk/packaging/debian/copyright
trunk/packaging/debian-etch/changelog
trunk/packaging/debian-etch/control
trunk/packaging/debian-etch/copyright

Since Debian Etch is now old-old-stable (current stable is Squeeze, and 
oldstable was Lenny) I'd remove the debian-etch directory, if nobody objects :-)


Regards,

-- 
Saúl Ibarra Corretgé
AG Projects






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


[OpenSIPS-Devel] SF.net SVN: opensips:[8156] trunk/modules/sms/libsms_modem.c

2011-07-12 Thread Bogdan-Andrei Iancu
Revision: 8156
  http://opensips.svn.sourceforge.net/opensips/?rev=8156view=rev
Author:   bogdan_iancu
Date: 2011-07-12 15:06:54 + (Tue, 12 Jul 2011)

Log Message:
---
- fixed more warnings

Modified Paths:
--
trunk/modules/sms/libsms_modem.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:[8157] trunk

2011-07-12 Thread Bogdan-Andrei Iancu
Revision: 8157
  http://opensips.svn.sourceforge.net/opensips/?rev=8157view=rev
Author:   bogdan_iancu
Date: 2011-07-12 15:12:16 + (Tue, 12 Jul 2011)

Log Message:
---
-removed debian etch packaging

Modified Paths:
--
trunk/Makefile

Removed Paths:
-
trunk/packaging/debian-etch/


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


Re: [OpenSIPS-Devel] SF.net SVN: opensips:[8155] trunk/packaging

2011-07-12 Thread Bogdan-Andrei Iancu

On 07/12/2011 06:01 PM, Saul Ibarra Corretge wrote:

Hi,

On Jul 12, 2011, at 4:25 PM, Razvan Crainea wrote:


Revision: 8155
  http://opensips.svn.sourceforge.net/opensips/?rev=8155view=rev
Author:   razvancrainea
Date: 2011-07-12 14:25:06 + (Tue, 12 Jul 2011)

Log Message:
---
Updated specs to OpenSIP 1.7

Modified Paths:
--
trunk/packaging/debian/changelog
trunk/packaging/debian/control
trunk/packaging/debian/copyright
trunk/packaging/debian-etch/changelog
trunk/packaging/debian-etch/control
trunk/packaging/debian-etch/copyright

Since Debian Etch is now old-old-stable (current stable is Squeeze, and 
oldstable was Lenny) I'd remove the debian-etch directory, if nobody objects :-)

Good point!
etch removed.

Regards,
Bogdan

--
Bogdan-Andrei Iancu
OpenSIPS eBootcamp - 2nd of May 2011
OpenSIPS solutions and know-how


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


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

2011-07-12 Thread Vlad Paiu
Revision: 8158
  http://opensips.svn.sourceforge.net/opensips/?rev=8158view=rev
Author:   vladut-paiu
Date: 2011-07-12 15:44:01 + (Tue, 12 Jul 2011)

Log Message:
---
updated migration script

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:[8159] trunk/modules/rr

2011-07-12 Thread Vlad Paiu
Revision: 8159
  http://opensips.svn.sourceforge.net/opensips/?rev=8159view=rev
Author:   vladut-paiu
Date: 2011-07-12 15:48:55 + (Tue, 12 Jul 2011)

Log Message:
---
removed enable_full_lr from code

Modified Paths:
--
trunk/modules/rr/record.c
trunk/modules/rr/rr_mod.c
trunk/modules/rr/rr_mod.h


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:[8160] trunk

2011-07-12 Thread Bogdan-Andrei Iancu
Revision: 8160
  http://opensips.svn.sourceforge.net/opensips/?rev=8160view=rev
Author:   bogdan_iancu
Date: 2011-07-12 15:54:30 + (Tue, 12 Jul 2011)

Log Message:
---
- docs and examples updated

Modified Paths:
--
trunk/examples/acc-mysql.cfg
trunk/examples/flag_reply.cfg
trunk/examples/nathelper.cfg
trunk/modules/aaa_radius/README
trunk/modules/b2b_entities/README
trunk/modules/b2b_logic/README
trunk/modules/carrierroute/README
trunk/modules/cpl-c/README
trunk/modules/db_berkeley/README
trunk/modules/db_http/README
trunk/modules/db_oracle/README
trunk/modules/db_postgres/README
trunk/modules/db_text/README
trunk/modules/db_text/doc/db_text.cfg
trunk/modules/db_unixodbc/README
trunk/modules/dialplan/README
trunk/modules/enum/README
trunk/modules/h350/README
trunk/modules/identity/README
trunk/modules/jabber/README
trunk/modules/json/README
trunk/modules/ldap/README
trunk/modules/memcached/README
trunk/modules/mmgeoip/README
trunk/modules/osp/README
trunk/modules/osp/etc/sample-osp-opensips.cfg
trunk/modules/perl/README
trunk/modules/perlvdb/README
trunk/modules/presence/README
trunk/modules/presence_dialoginfo/README
trunk/modules/presence_mwi/README
trunk/modules/presence_xml/README
trunk/modules/pua/README
trunk/modules/pua_bla/README
trunk/modules/pua_mi/README
trunk/modules/pua_usrloc/README
trunk/modules/pua_xmpp/README
trunk/modules/regex/README
trunk/modules/seas/README
trunk/modules/seas/doc/seas_admin.xml
trunk/modules/snmpstats/README
trunk/modules/speeddial/README
trunk/modules/speeddial/doc/speeddial.cfg
trunk/modules/uac/README
trunk/modules/uac_auth/README
trunk/modules/uac_registrant/README
trunk/modules/uri/README
trunk/modules/xcap_client/README
trunk/modules/xmpp/README
trunk/modules/xmpp/doc/opensips-xmpp.cfg
trunk/scripts/opensipsdbctl.base
trunk/test/12.cfg
trunk/test/13.cfg
trunk/test/14.cfg
trunk/test/2.cfg
trunk/test/21.cfg
trunk/test/26.cfg
trunk/test/5.cfg
trunk/test/7.cfg
trunk/test/presence.cfg
trunk/tls/README
trunk/tls/doc/tls_user.sgml


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:[8162] trunk

2011-07-12 Thread Bogdan-Andrei Iancu
Revision: 8162
  http://opensips.svn.sourceforge.net/opensips/?rev=8162view=rev
Author:   bogdan_iancu
Date: 2011-07-12 16:10:22 + (Tue, 12 Jul 2011)

Log Message:
---
- version, compile flags, switched prepared for release

Modified Paths:
--
trunk/Makefile.defs
trunk/scripts/opensipsctl
trunk/scripts/opensipsdbctl


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:[8164] branches/1.7/

2011-07-12 Thread Bogdan-Andrei Iancu
Revision: 8164
  http://opensips.svn.sourceforge.net/opensips/?rev=8164view=rev
Author:   bogdan_iancu
Date: 2011-07-12 16:32:40 + (Tue, 12 Jul 2011)

Log Message:
---
Creating new branch for major release 1.7.0

Added Paths:
---
branches/1.7/


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:[8165] trunk/Makefile.defs

2011-07-12 Thread Bogdan-Andrei Iancu
Revision: 8165
  http://opensips.svn.sourceforge.net/opensips/?rev=8165view=rev
Author:   bogdan_iancu
Date: 2011-07-12 16:42:25 + (Tue, 12 Jul 2011)

Log Message:
---
- increase version on trunk

Modified Paths:
--
trunk/Makefile.defs


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:[8169] branches/1.7/doc/dbschema/bookinfo.xml

2011-07-12 Thread Bogdan-Andrei Iancu
Revision: 8169
  http://opensips.svn.sourceforge.net/opensips/?rev=8169view=rev
Author:   bogdan_iancu
Date: 2011-07-12 17:18:00 + (Tue, 12 Jul 2011)

Log Message:
---
- doc updated

Modified Paths:
--
branches/1.7/doc/dbschema/bookinfo.xml


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:[8170] trunk/AUTHORS

2011-07-12 Thread Razvan Crainea
Revision: 8170
  http://opensips.svn.sourceforge.net/opensips/?rev=8170view=rev
Author:   razvancrainea
Date: 2011-07-12 17:20:44 + (Tue, 12 Jul 2011)

Log Message:
---
Updated authors list

Modified Paths:
--
trunk/AUTHORS


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:[8171] branches/1.7/AUTHORS

2011-07-12 Thread Razvan Crainea
Revision: 8171
  http://opensips.svn.sourceforge.net/opensips/?rev=8171view=rev
Author:   razvancrainea
Date: 2011-07-12 17:22:22 + (Tue, 12 Jul 2011)

Log Message:
---
Updated authors list

Modified Paths:
--
branches/1.7/AUTHORS


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:[8173] branches/1.7/NEWS

2011-07-12 Thread Razvan Crainea
Revision: 8173
  http://opensips.svn.sourceforge.net/opensips/?rev=8173view=rev
Author:   razvancrainea
Date: 2011-07-12 17:42:32 + (Tue, 12 Jul 2011)

Log Message:
---
Updated news

Modified Paths:
--
branches/1.7/NEWS


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-Feature Requests-3365035 ] Incorrect paths on osipsconsole (debian squeeze)

2011-07-12 Thread SourceForge.net

Feature Requests item #3365035, was opened at 2011-07-12 21:23
Message generated for change (Tracker Item Submitted) made by diego-plan9
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086413aid=3365035group_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: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: diego.plan9 (diego-plan9)
Assigned to: Nobody/Anonymous (nobody)
Summary: Incorrect paths on osipsconsole (debian squeeze)

Initial Comment:
The debian package for osipsconsole from the squeeze repository at 
http://debian.leurent.eu contains incorrect paths for the default OpenSIPS 
binaries, libraries and configuration. This result in osipsconsole ignoring the 
changes made at the /etc/opensips/osipsconsolerc file, as it expects by 
default to have the configuration at /usr/local/etc/opensips/osipsconsolerc, 
among other issues. In order to make it work, one has to edit 
/usr/sbin/osipsconsole by hand, which as far as I know is undesirable.

Would it be possible to modify the paths just for the debian packages, in order 
to avoid the need for editing the file by hand? I have attached a patch 
containing the proper paths. I have also noticed that bug #2795297 seems to be 
related, but the solution implemented still requires the user to modify the 
file.

squeeze / amd64
ii  opensips1.6.4-0  very fast 
and configurable SIP server
ii  opensips-console1.6.4-0



--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086413aid=3365035group_id=232389

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