I'm currently setting up two kamailio sip proxy server, and was
working with 3.0.3 and still in testing phase.
Because I saw kamailio 3.1.0 was released, I tried to upgrade to 3.1.0
yesterday.
But when running with my current config, I got a segfault.
I've analysed the core with gdb.
In modules_k/nat_traversal/nat_traversal.c LINE 1731 it tries to cal
slb.register_cb.
The slb variable is correct, but the method register_cb is pointing to 0
in stead of a correct memory address.
When looking at modules/sl/sl.c, line 360-364 I see all methods of the
struct are mapped to their corresponding functions, but not the register_cb.
because that part of the code is changes between 3.0.x and 3.1.0 I
assume that some part of sl.c is missing,
because the definition of the struct in sl.h does contain the
register_cb method.
Can someone have a look at this?
Thnx!
Robert Verspuy
--
*Exa-Omicron*
Patroonsweg 10
3892 DB Zeewolde
Tel.: 088-OMICRON (66 427 66)
http://www.exa-omicron.nl
Starting today, Kamailio's debian repository offers nightly development
versions of "master" and "3.1" branches for Ubuntu and Debian distributions.
Brief summary of the repository status at the moment:
* Flavours: Kamailio
* Branches: 3.0, 3.1, master
* Distributions: Etch (3.0 stable only), Lenny, Squeeze, Lucid
* Archs: amd64, i386
* Sources (deb-src) provided for stable releases
* Nightly builds of supported branches
All the instructions and status updates can be found here:
http://www.kamailio.org/dokuwiki/doku.php/packages:debs
We hope you will find these dev builds usefull for testing or playing.
Sipdoc Team
Hi all
I'm taking a look to the postinst script under pkg/kamailio/deb/debian folder
and I see that it creates the required user, but it does not restart kamailio
services.
I was considering triggering:
- A restart on upgrades if we are upgrading inside the same mayor release (ej
3.1.1 to 3.1.2)
- No restart and display a warning message if upgrading between major
releses (ej 3.1.1 to 3.2.0). This message should point or show some
kind of UPGRADE.txt file where differences, database schema changes... etc
are explained. Maybe just show a link to the wiki would be enough.
Opinions?
Module: sip-router
Branch: master
Commit: 8c0501bfaa27acab9721953e8c1551687c96edf2
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8c0501b…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Mon Oct 11 21:16:28 2010 +0300
modules/lcr: changes and new features
- New module parameter tag_avp.
- Renamed lcr_gw table's tag field to prefix field.
- Renamed dont_strip_or_tag_flag module parameter to
dont_strip_or_prefix_flag.
- Added optional tag_avp module parameter and made lcr_flags module
parameter optional.
- Added tag field to lcr_gw table whose value is assigned to possible
tag_avp by next_gw() and from_gw() functions.
- Increased lc_gw tables version number to 2.
- load_gws() can take uri_user param, value of which is used instead of
Request URI user part by load_gws() function.
- Parameters of load_gw() function must be given without quotes.
---
lib/srdb1/schema/lcr_gw.xml | 15 ++-
modules/lcr/README | 228 +++++++++++++++++++---------------
modules/lcr/doc/lcr_admin.xml | 76 ++++++++----
modules/lcr/lcr_mod.c | 268 +++++++++++++++++++++++++----------------
modules/lcr/lcr_mod.h | 10 +-
modules/lcr/lcr_rpc.c | 7 +-
6 files changed, 367 insertions(+), 237 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=8c0…
Module: sip-router
Branch: master
Commit: caeb4ab03cefdd95efd127dd340a3bb3f55822c4
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=caeb4ab…
Author: Jon Bonilla <manwe(a)aholab.ehu.es>
Committer: Jon Bonilla <manwe(a)aholab.ehu.es>
Date: Mon Oct 11 18:56:52 2010 +0200
pkg debian generic
geoip modules added to the debian generic folder
(cherry picked from commit 21a3752bf31a8e6cc488d26e43a48dae11b90575)
---
pkg/kamailio/deb/debian/control | 22 +++++++++++-----------
pkg/kamailio/deb/debian/rules | 4 ++--
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/pkg/kamailio/deb/debian/control b/pkg/kamailio/deb/debian/control
index 73a1e26..1f44925 100644
--- a/pkg/kamailio/deb/debian/control
+++ b/pkg/kamailio/deb/debian/control
@@ -2,7 +2,7 @@ Source: kamailio
Section: net
Priority: optional
Maintainer: Jon Bonilla <manwe(a)aholab.ehu.es>
-Build-Depends: debhelper (>= 5), dpatch, libmysqlclient-dev, libexpat1-dev, libxml2-dev, libpq-dev, libradiusclient-ng-dev, flex, bison, zlib1g-dev, unixodbc-dev, libxmlrpc-c3-dev, libperl-dev, libsnmp-dev, dpkg-dev (>= 1.13.19), libdb-dev (>= 4.6.19), xsltproc, libconfuse-dev, libldap2-dev, libssl-dev, libcurl3-openssl-dev, python, libpcre3-dev, docbook-xml, libpurple-dev, libmemcache-dev, libreadline-dev, liblua5.1-0-dev, python-dev, libsasl2-dev
+Build-Depends: debhelper (>= 5), dpatch, libmysqlclient-dev, libexpat1-dev, libxml2-dev, libpq-dev, libradiusclient-ng-dev, flex, bison, zlib1g-dev, unixodbc-dev, libxmlrpc-c3-dev, libperl-dev, libsnmp-dev, dpkg-dev (>= 1.13.19), libdb-dev (>= 4.6.19), xsltproc, libconfuse-dev, libldap2-dev, libssl-dev, libcurl3-openssl-dev, python, libpcre3-dev, docbook-xml, libpurple-dev, libmemcache-dev, libreadline-dev, liblua5.1-0-dev, python-dev, libsasl2-dev, libgeoip-dev
Standards-Version: 3.8.0
Homepage: http://www.kamailio.org/
@@ -257,16 +257,16 @@ Description: contains the app_python module
This package provides the app_python module, an extension allowing to
execute embedded Python applications within configuration file.
-#Package: kamailio-geoip-modules
-#Architecture: any
-#Depends: ${shlibs:Depends}, kamailio (= ${Source-Version})
-#Description: contains the geoip module
-# Kamailio is a very fast and flexible SIP (RFC3261)
-# proxy server. Written entirely in C, Kamailio can handle thousands calls
-# per second even on low-budget hardware.
-# .
-# This package provides the geoip module, an extension allowing to
-# use GeoIP API within configuration file.
+Package: kamailio-geoip-modules
+Architecture: any
+Depends: ${shlibs:Depends}, kamailio (= ${Source-Version})
+Description: contains the geoip module
+ Kamailio is a very fast and flexible SIP (RFC3261)
+ proxy server. Written entirely in C, Kamailio can handle thousands calls
+ per second even on low-budget hardware.
+ .
+ This package provides the geoip module, an extension allowing to
+ use GeoIP API within configuration file.
Package: kamailio-nth
Architecture: any
diff --git a/pkg/kamailio/deb/debian/rules b/pkg/kamailio/deb/debian/rules
index 4ed1149..5ec2077 100755
--- a/pkg/kamailio/deb/debian/rules
+++ b/pkg/kamailio/deb/debian/rules
@@ -20,7 +20,7 @@
export DEB_BUILD_OPTIONS:="$(DEB_BUILD_OPTIONS) nostrip"
# modules not in the "main" kamailio package
-EXCLUDED_MODULES= geoip
+EXCLUDED_MODULES=
# extra modules to skip, because they are not compilable now
# - regardless if they go to the main kamailio package or to some module package,
@@ -42,7 +42,7 @@ MODULES_SP=
# on which other depend first)
PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
ldap xml perl utils purple memcached tls \
- snmpstats carrierroute xmpp cpl lua python
+ snmpstats carrierroute xmpp cpl lua python geoip
# directories with possible duplicate libraries (that should be deleted
# from current module* packages)