New upstream version 5.2.3

changes/03/31803/1 upstream/5.2.3
Marco Capetta 7 years ago
parent d4ee3e500d
commit 5ea5133405

@ -36,8 +36,6 @@ BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Mozilla
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 80
CommentPragmas: '^ IWYU pragma:'
ConstructorInitializerAllOnOneLineOrOnePerLine: false
@ -55,12 +53,9 @@ IncludeCategories:
Priority: 3
- Regex: '.*'
Priority: 1
IncludeIsMainRegex: '$'
IndentCaseLabels: true
IndentWidth: 4
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ''
MacroBlockEnd: ''

@ -9,10 +9,11 @@ env:
services:
- docker
before_install:
- docker pull kamailio/pkg-kamailio-docker:5.1-$DIST
script: docker run -v $TRAVIS_BUILD_DIR:/code:rw kamailio/pkg-kamailio-docker:5.1-$DIST /bin/bash -c "cd /code; CC=$CC DIST=$DIST ./test/travis/build_travis.sh"
- docker pull kamailio/pkg-kamailio-docker:dev-$DIST
script: docker run -v $TRAVIS_BUILD_DIR:/code:rw kamailio/pkg-kamailio-docker:dev-$DIST /bin/bash -c "cd /code; CC=$CC DIST=$DIST ./test/travis/build_travis.sh"
branches:
only:
- 'master'
- '/^5\.[0-9]+$/'
notifications:
irc:

@ -0,0 +1,31 @@
# Kamailio Code of Conduct
## Be respectful
Inevitably there will be people in the Kamailio project with whom you may disagree, or find it difficult to cooperate. Accept that, but even so, remain respectful. Disagreement is no excuse for poor behaviour or personal attacks, and a community in which people feel threatened is not a healthy community.
## Assume good faith
Contributors have many ways of reaching the common goals of the project which may differ from your ways. Assume that other people are working towards this goal. Note that many of our Contributors are not native English speakers or may have different cultural backgrounds.
## Be collaborative
It's good to ask for help when you need it. Similarly, offers for help should be seen in the context of our shared goal of improving Kamailio. When you make something for the benefit of the project, be willing to explain to others how it works, so that they can build on your work to make it even better.
## Try to be concise
Keep in mind that what you write once will be read by many persons. Writing a short email means people can understand the conversation as efficiently as possible. When a long explanation is necessary, consider adding a summary.
## Be open
Most ways of communication used within Kamailio allow for public and private communication. You should preferably use public methods of communication for Kamailio-related messages, unless posting something sensitive. This applies also to messages for help or Kamailio-related support.
## In case of problems
While this code of conduct should be adhered to by participants, we recognize that sometimes people may have a bad day, or be unaware of the Kamailio code of conduct. When that happens, you may reply to them and point out this code of conduct. Such messages may be in public or in private, whatever is most appropriate. However, your message should still adhere to the relevant parts of this code of conduct; in particular, it should not be abusive or disrespectful. Assume good faith; participants are probably unaware of their bad behaviour.
Serious or persistent offenders will be temporarily or permanently banned from the Kamailio project infrastructure. Complaints should be made (in private) to the Kamailio management board, by email to: management [at] kamailio (dot) org
The Kamailio management board, while committed to applying its discretion sparingly and judiciously, is the final arbiter on controversies arising from this code of conduct, and indeed, any other controversies.
#### Adapted from the Debian Code of Conduct: https://www.debian.org/code_of_conduct.

@ -12,7 +12,7 @@ IMPORTANT NOTES
(see http://www.gnu.org/copyleft/gpl-faq.html#GPLAndPlugins
for a detailed explanation)
3) Note that the GPL bellow is copyrighted by the Free Software Foundation,
3) Note that the GPL below is copyrighted by the Free Software Foundation,
but the Kamailio software is copyrighted by multiple individuals and
companies.

24771
ChangeLog

File diff suppressed because it is too large Load Diff

@ -18,6 +18,8 @@
- https://www.kamailio.org/w/documentation/
- https://www.kamailio.org/wiki/
Recommended install tutorial:
- http://kamailio.org/docs/tutorials/5.2.x/kamailio-install-guide-git/
Table of Contents
=================
@ -508,11 +510,11 @@ A) Getting Help
http://www.kamailio.org to learn how to configure Kamailio for your site.
If the documentation does not resolve your problem you may try contacting
our user forum by E-mail at sr-users@lists.sip-router.org -- that is the
our user forum by E-mail at sr-users@lists.kamailio.org -- that is the
mailing list of the Kamailio community. To participate in the mailing list,
please subscribe at the following web address:
https://lists.sip-router.org/cgi-bin/mailman/listinfo
https://lists.kamailio.org/cgi-bin/mailman/listinfo
B) Disclaimers

@ -31,4 +31,4 @@ Contact
If you have further questions about reporting an issue, email to:
* sr-dev@lists.sip-router.org
* sr-dev@lists.kamailio.org

@ -1,6 +1,6 @@
Kamailio v5.1
Kamailio v5.2
=============
https://www.kamailio.org
@ -141,5 +141,5 @@ Particularly, it includes:
- download links
- etc.
You can also follow us on Twitter as @kamailioproject and like us on Facebook
You can also follow us on Twitter as @kamailio and like us on Facebook
to get regular updates.

@ -1,6 +1,7 @@
# Kamailio - The Open Source SIP Server
[![Build Status](https://travis-ci.org/kamailio/kamailio.svg?branch=master)](https://travis-ci.org/kamailio/kamailio)
[![Code Triage Badge](https://www.codetriage.com/kamailio/kamailio/badges/users.svg)](https://www.codetriage.com/kamailio/kamailio)
Project Website:
@ -109,7 +110,7 @@ An open IRC discussion channel is managed by the community:
News:
* https://www.kamailio.org/w/category/news/
* Twitter @kamailioproject
* Twitter @kamailio
## Travis-CI - Testing Build Environment

@ -27,4 +27,4 @@ Contact
If you have further questions, you can contact the developers via sr-dev
mailing list:
* sr-dev@lists.sip-router.org
* sr-dev@lists.kamailio.org

@ -29,7 +29,6 @@
<!ENTITY kamailiodevlink "<ulink url='&kamailiodev;'>&kamailiodev;</ulink>">
<!ENTITY kamailiodbdocslink "<ulink url='&kamailiodbdocs;'>&kamailiodbdocs;</ulink>">
<!ENTITY kamailiohelpmail "<email>sr-users@lists.kamailio.org</email>">
<!ENTITY kamailiousersmail "<email>sr-users@lists.kamailio.org</email>">
<!ENTITY kamailiodevmail "<email>sr-dev@lists.kamailio.org</email>">

@ -195,6 +195,6 @@ https://github.com/kamailio/kamailio/issues.
.PP
Mailing lists:
.nf
sr-users@lists.sip-router.org - kamailio user community
sr-users@lists.kamailio.org - kamailio user community
.nf
sr-dev@lists.sip-router.org - kamailio development, new features and unstable version
sr-dev@lists.kamailio.org - kamailio development, new features and unstable version

@ -44,6 +44,6 @@ https://github.com/kamailio/kamailio/issues
.PP
Mailing lists:
.nf
sr-users@lists.sip-router.org - Kamailio user community
sr-users@lists.kamailio.org - Kamailio user community
.nf
sr-dev@lists.sip-router.org - Kamailio development, new features and unstable version
sr-dev@lists.kamailio.org - Kamailio development, new features and unstable version

@ -0,0 +1,126 @@
<?xml version='1.0'?>
<!--
* $Id: $
*
* XSL converter script for db_redis
*
* Copyright (C) 2001-2007 FhG Fokus
*
* This file is part of Kamailio, a free SIP server.
*
* Kamailio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version
*
* Kamailio is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version='1.0'
xmlns:xi="http://www.w3.org/2001/XInclude">
<xsl:import href="common.xsl"/>
<xsl:output method="text" indent="no" omit-xml-declaration="yes"/>
<!-- Create the file for the table in dbtext subdirectory -->
<xsl:template match="table">
<xsl:variable name="name">
<xsl:call-template name="get-name"/>
</xsl:variable>
<xsl:variable name="path" select="concat($dir, concat('/', concat($prefix, $name)))"/>
<xsl:document href="{$path}" method="text" indent="no" omit-xml-declaration="yes">
<xsl:apply-imports/>
<!-- Insert version data -->
<xsl:apply-templates select="version"/>
<!-- this is not exactly what we want for dbtext, as the version data gets
appended to the actual table file, and no to the 'version' table.
But its not possible (at least with XSL 1.0, AFAIK) to append data to a
file. So it's much more easier to do this in the Makefile -->
</xsl:document>
</xsl:template>
<!-- version data template -->
<xsl:template match="version">
<xsl:value-of select="text()"/>
<xsl:text>&#x0A;</xsl:text>
</xsl:template>
<!-- Create column definitions -->
<xsl:template match="column">
<xsl:variable name="type">
<xsl:call-template name="get-type"/>
</xsl:variable>
<xsl:variable name="null">
<xsl:call-template name="get-null"/>
</xsl:variable>
<xsl:call-template name="get-name"/>
<xsl:text>/</xsl:text>
<xsl:choose>
<xsl:when test="type[@db=$db]">
<xsl:value-of select="normalize-space(type[@db=$db])"/>
</xsl:when>
<xsl:when test="$type='char' or
$type='short' or
$type='int' or
$type='long' or
$type='datetime'">
<xsl:text>int</xsl:text>
</xsl:when>
<xsl:when test="$type='float' or
$type='double'">
<xsl:text>double</xsl:text>
</xsl:when>
<xsl:when test="$type='string' or
$type='text' or
$type='binary' or
$type='largetext' or
$type='largebinary'">
<xsl:text>string</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="type-error"/>
</xsl:otherwise>
</xsl:choose>
<!--
<xsl:if test="$null=1">
<xsl:text>&amp;null</xsl:text>
</xsl:if>
-->
<xsl:text>,</xsl:text>
<xsl:if test="position()=last()">
<xsl:text>&#x0A;</xsl:text>
</xsl:if>
</xsl:template>
<!-- Escape all : occurrences -->
<xsl:template name="escape">
<xsl:param name="value"/>
<xsl:choose>
<xsl:when test="contains($value, ':')">
<xsl:value-of select="concat(substring-before($value, ':'), '\:')"/>
<xsl:call-template name="escape">
<xsl:with-param name="value" select="substring-after($value, ':')"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$value"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>

@ -53,7 +53,7 @@ ALL CHANGES DONE HERE WILL BE LOST IF THE FILE IS REGENERATED&#x0A;</xsl:comment
<para>URL to the database containing the data.</para>
<para>
<!-- TODO use ro or rw URL depending on the module -->
<emphasis>Default value is <quote>mysql://openserro:openserro@localhost/openser</quote>.</emphasis>
<emphasis>Default value is <quote>mysql://kamailio:kamailiorw@localhost/kamailio</quote>.</emphasis>
</para>
<example>
<title>Set <varname>db_url</varname> parameter</title>

@ -170,12 +170,6 @@ DNS Resolver Compile Options
NAPTR support still has to be enabled from Kamailio's config file (it's
off by default).
RESOLVE_DBG - if defined, the resolver will be very verbose: it will log
a lot of debugging information at L_DBG level.
NAPTR_DBG - if defined the NAPTR related resolver functions will be very
verbose.
DNS Cache and Failover Config Variables
---------------------------------------
@ -307,9 +301,6 @@ DNS Cache Compile Options
If this option is not defined (experimental), everything in the AR
section will be added to the cache.
DNS_CACHE_DEBUG - if defined the DNS cache will be very verbose (it will
log lots of messages at the L_DBG levell).
Note: To remove a compile options, edit Kamailio's Makefile.defs and remove it
from DEFS list. To add a compile options add it to the make command line,
e.g.: make proper; make all extra_defs=-DUSE_DNS_FAILOVER

@ -41,13 +41,13 @@ to do this or that, you can:
<itemizedlist>
<listitem><para>Try to search for similar problem in mailing lists on
<ulink url="http://www.sip-router.org/">SIP-router's main page</ulink> or in
<ulink url="http://lists.sip-router.org/cgi-bin/mailman/listinfo/">list archives</ulink>.
<ulink url="http://lists.kamailio.org/cgi-bin/mailman/listinfo/">list archives</ulink>.
</para></listitem>
<listitem><para>Send an email to <ulink
url="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</ulink> for
url="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</ulink> for
user related problem or
<ulink url="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</ulink>
<ulink url="mailto:sr-dev@lists.kamailio.org">sr-dev@lists.kamailio.org</ulink>
for development related things. There are lots of interesting people on
these lists with lots of experiences with SIP related stuff ;-).
</para></listitem>

@ -1271,7 +1271,7 @@ route{
For example, we use the UA functionality to shield
SMS gateway and instant message store from SIP transactional
processing.
The simple example bellow issues a log report on receipt
The simple example below issues a log report on receipt
of a new transaction.
If we did not use a stateful UA, every single request retransmission
would cause the application to be re-executed which would result in

@ -417,7 +417,7 @@ warning: IP extract from warning activated to be more informational
</programlisting>
<para>
The following SIP message causes then logging output as shown
bellow.
below.
</para>
<programlisting>
REGISTER sip:192.168.2.16 SIP/2.0

@ -1,6 +1,6 @@
#!KAMAILIO
#
# Kamailio (OpenSER) SIP Server v5.1 - default configuration script
# Kamailio (OpenSER) SIP Server v5.2 - default configuration script
# - web: https://www.kamailio.org
# - git: https://github.com/kamailio/kamailio
#
@ -158,12 +158,16 @@ memlog=5
log_facility=LOG_LOCAL0
log_prefix="{$mt $hdr(CSeq) $ci} "
/* number of SIP routing processes */
/* number of SIP routing processes for each UDP socket
* - value inherited by tcp_children and sctp_children when not set explicitely */
children=8
/* uncomment the next line to disable TCP (default on) */
# disable_tcp=yes
/* number of SIP routing processes for all TCP/TLS sockets */
# tcp_children=8
/* uncomment the next line to disable the auto discovery of local aliases
* based on reverse DNS on IPs (default on) */
# auto_aliases=no
@ -175,14 +179,20 @@ children=8
* bind on a specific interface/port/proto (default bind on all available) */
# listen=udp:10.0.0.10:5060
#!ifdef WITH_TLS
enable_tls=yes
#!endif
/* life time of TCP connection when there is no traffic
* - a bit higher than registration expires to cope with UA behind NAT */
tcp_connection_lifetime=3605
/* upper limit for TCP connections (it includes the TLS connections) */
tcp_max_connections=2048
#!ifdef WITH_TLS
enable_tls=yes
/* upper limit for TLS connections */
tls_max_connections=2048
#!endif
####### Custom Parameters #########
/* These parameters can be modified runtime via RPC interface
@ -577,7 +587,7 @@ route[REQINIT] {
exit;
}
if(!sanity_check("1511", "7")) {
if(!sanity_check("17895", "7")) {
xlog("Malformed SIP message from $si:$sp\n");
exit;
}
@ -854,6 +864,13 @@ route[PSTN] {
exit;
}
# normalize target number for pstn gateway
# - convert leading 00 to +
if (starts_with("$rU", "00")) {
strip(2);
prefix("+");
}
if (strempty($sel(cfg_get.pstn.gw_port))) {
$ru = "sip:" + $rU + "@" + $sel(cfg_get.pstn.gw_ip);
} else {

@ -16,7 +16,7 @@
#
# If you look for documentation, try http://sip-router.org/wiki/.
# The right mailing lists for questions about this file is
# <sr-users@lists.sip-router.org>.
# <sr-users@lists.kamailio.org>.
# To get this config running you need to execute the following commands
# with the new serctl (the capital word are just place holders)

@ -7,7 +7,7 @@
# Refer to the Core CookBook at http://www.kamailio.org/dokuwiki/doku.php
# for an explanation of possible statements, functions and parameters.
#
# Direct your questions about this file to: <sr-users@lists.sip-router.org>.
# Direct your questions about this file to: <sr-users@lists.kamailio.org>.
#
# For more information about the various parameters, functions and statements
# try http://sip-router.org/wiki/ .

@ -162,6 +162,9 @@ loadmodule "statistics"
loadmodule "ims_dialog"
loadmodule "ims_usrloc_pcscf"
loadmodule "ims_registrar_pcscf"
#!ifdef WITH_IPSEC
loadmodule "ims_ipsec_pcscf"
#!endif
#!ifdef WITH_XMLRPC
loadmodule "xmlrpc"
@ -366,6 +369,12 @@ modparam("ims_registrar_pcscf", "subscribe_to_reginfo", 0)
modparam("ims_registrar_pcscf", "publish_reginfo", 0)
#!endif
#!ifdef WITH_IPSEC
modparam("ims_ipsec_pcscf", "ipsec_listen_addr", IPSEC_LISTEN_ADDR)
modparam("ims_ipsec_pcscf", "ipsec_client_port", IPSEC_CLIENT_PORT)
modparam("ims_ipsec_pcscf", "ipsec_server_port", IPSEC_SERVER_PORT)
#!endif
#!ifdef WITH_RX
# -- CDP params --
modparam("cdp","config_file","/etc/kamailio_pcscf/pcscf.xml")
@ -700,7 +709,11 @@ route[REQINIT] {
send_reply("503", "Server shutting down");
exit;
}
if (!is_method("REGISTER")) {
ipsec_forward("location");
}
# Ignore Re-Transmits:
if (t_lookup_request()) {
exit;
@ -852,6 +865,7 @@ event_route[uac:reply] {
}
xlog(" Unregistering $uac_req(ruri);$var(alias)\n");
setdebug("9");
ipsec_destroy("location");
pcscf_unregister("location", "$uac_req(ruri);$var(alias)", "$(uac_req(ouri){uri.host})", "$(uac_req(ouri){uri.port})");
resetdebug();
$sht(natping=>$uac_req(ouri)) = $null;

@ -7,6 +7,11 @@ listen=udp:11.22.33.44:5060
# SIP / TCP/TLS
#listen=tls:11.22.33.44:5061
# IPSEC / UDP
#!define IPSEC_LISTEN_ADDR "11.22.33.44"
#!define IPSEC_CLIENT_PORT 5062
#!define IPSEC_SERVER_PORT 5063
alias=pcscf.mnc001.mcc001.3gppnetwork.org
#!define MY_WS_PORT 80
@ -104,4 +109,4 @@ alias=pcscf.mnc001.mcc001.3gppnetwork.org
##!define WITH_REGINFO
##!define WITH_RTPPING
##!define WITH_WEBSOCKET
##!define WITH_IPSEC

@ -95,6 +95,9 @@ onreply_route[MO_reply] {
remove_hf("C-Params");
append_hf("Contact: $ct;$hdr(C-Params)\r\n");
}
#!ifdef WITH_IPSEC
ipsec_forward("location");
#!endif
# In case of 1xx and 2xx do NAT
if(status=~"[12][0-9][0-9]")
route(NATMANAGE);
@ -112,7 +115,7 @@ onreply_route[MO_reply] {
$avp(TTAG_CUSTOM_AVP)=$tt;
$avp(CALLID_CUSTOM_AVP)=$ci;
$var(aarret) = Rx_AAR("MO_aar_reply","orig");
$var(aarret) = Rx_AAR("MO_aar_reply","orig","",-1);
xlog("L_DBG", "AAR return code is $var(aarret)\n");
switch ($var(aarret)) {
@ -135,6 +138,7 @@ onreply_route[MO_reply] {
}
}
}
route[MO_aar_reply]
{
@ -184,7 +188,7 @@ onreply_route[MO_indialog_reply] {
$avp(TTAG_CUSTOM_AVP)=$tt;
$avp(CALLID_CUSTOM_AVP)=$ci;
$var(aarret) = Rx_AAR("MO_indialog_aar_reply","orig");
$var(aarret) = Rx_AAR("MO_indialog_aar_reply","orig","",-1);
xlog("L_DBG", "AAR return code is $var(aarret)\n");
switch ($var(aarret)) {

@ -30,7 +30,7 @@ onreply_route[MT_reply] {
$avp(TTAG_CUSTOM_AVP)=$tt;
$avp(CALLID_CUSTOM_AVP)=$ci;
$var(aarret) = Rx_AAR("MT_aar_reply","term");
$var(aarret) = Rx_AAR("MT_aar_reply","term","",-1);
xlog("L_DBG", "AAR return code is $var(aarret)\n");
switch ($var(aarret)) {
@ -104,7 +104,7 @@ onreply_route[MT_indialog_reply] {
$avp(TTAG_CUSTOM_AVP)=$tt;
$avp(CALLID_CUSTOM_AVP)=$ci;
$var(aarret) = Rx_AAR("MT_indialog_aar_reply","term");
$var(aarret) = Rx_AAR("MT_indialog_aar_reply","term","",-1);
xlog("L_DBG", "AAR return code is $var(aarret)\n");
switch ($var(aarret)) {

@ -156,7 +156,15 @@ onreply_route[REGISTER_reply]
xlog("L_DBG", "REGISTER SUCCESS[$ci] took $var(stat_add)ms\n");
update_stat("register_success", "+1");
update_stat("register_time", "$var(stat_add)");
#!ifdef WITH_IPSEC
ipsec_forward("location");
}
else {
if (t_check_status("401")) {
ipsec_create("location");
}
#!endif
}
exit;
}

@ -7,7 +7,7 @@
# Refer to the Core CookBook at http://www.kamailio.org/dokuwiki/doku.php
# for an explanation of possible statements, functions and parameters.
#
# Direct your questions about this file to: <sr-users@lists.sip-router.org>.
# Direct your questions about this file to: <sr-users@lists.kamailio.org>.
#
# For more information about the various parameters, functions and statements
# try http://sip-router.org/wiki/ .

@ -17,7 +17,6 @@ var FLB_NATSIPPING=7
// equivalent of request_route{}
function ksr_request_route()
{
var METHOD = KSR.pv.get("$rm");
// KSR.sl.sl_send_reply(100,"Intelligent trying");
// KSR.info("===== request - from kamailio lua script\n");
@ -28,7 +27,7 @@ function ksr_request_route()
ksr_route_natdetect();
// CANCEL processing
if (METHOD == "CANCEL") {
if (KSR.is_CANCEL()) {
if(KSR.tm.t_check_trans()>0) {
ksr_route_relay();
}
@ -41,11 +40,13 @@ function ksr_request_route()
// -- only initial requests (no To tag)
// handle retransmissions
if (KSR.tmx.t_precheck_trans()>0) {
KSR.tm.t_check_trans();
return;
if (!KSR.is_ACK()) {
if (KSR.tmx.t_precheck_trans()>0) {
KSR.tm.t_check_trans();
return;
}
if (KSR.tm.t_check_trans()==0) { return; }
}
if (KSR.tm.t_check_trans()==0) { return; }
// authentication
ksr_route_auth();
@ -53,12 +54,12 @@ function ksr_request_route()
// record routing for dialog forming requests (in case they are routed)
// - remove preloaded route headers
KSR.hdr.remove("Route");
if (METHOD=="INVITE" || METHOD=="SUBSCRIBE") {
if (KSR.is_method_in("IS")) {
KSR.rr.record_route();
}
// account only INVITEs
if (METHOD=="INVITE") {
if (KSR.is_INVITE()) {
KSR.setflag(FLT_ACC); // do accounting
}
@ -70,7 +71,7 @@ function ksr_request_route()
// handle registrations
ksr_route_registrar();
if (KSR.pv.is_null("$rU")) {
if (KSR.corex.has_ruri_user() < 0) {
// request with no Username in RURI
KSR.sl.sl_send_reply(484, "Address Incomplete");
return;
@ -87,20 +88,18 @@ function ksr_route_relay()
{
// enable additional event routes for forwarded requests
// - serial forking, RTP relaying handling, a.s.o.
var METHOD = KSR.pv.get("$rm");
if (METHOD=="INVITE" || METHOD=="BYE" || METHOD=="SUBSCRIBE"
|| METHOD=="UPDATE") {
if (KSR.is_method_in("IBSU")) {
if (KSR.tm.t_is_set("branch_route")<0) {
KSR.tm.t_on_branch("ksr_branch_manage");
}
}
if (METHOD=="INVITE" || METHOD=="SUBSCRIBE" || METHOD=="UPDATE") {
if (KSR.is_method_in("ISU")) {
if (KSR.tm.t_is_set("onreply_route")<0) {
KSR.tm.t_on_reply("ksr_onreply_manage");
}
}
if (METHOD=="INVITE") {
if (KSR.is_INVITE()) {
if (KSR.tm.t_is_set("failure_route")<0) {
KSR.tm.t_on_failure("ksr_failure_manage");
}
@ -116,7 +115,7 @@ function ksr_route_relay()
// Per SIP request initial checks
function ksr_route_reqinit()
{
if (!KSR.is_myself(KSR.pv.get("$si"))) {
if (!KSR.is_myself_srcip()) {
if (!KSR.pv.is_null("$sht(ipban=>$si)")) {
// ip is already blocked
KSR.dbg("request from blocked IP - " + KSR.pv.get("$rm")
@ -132,8 +131,8 @@ function ksr_route_reqinit()
KSR.x.exit();
}
}
if (!KSR.pv.is_null("$ua")) {
var UA = KSR.pv.get("$ua");
if (KSR.corex.has_user_agent()>0) {
var UA = KSR.pv.gete("$ua");
if (UA.indexOf("friendly-scanner")>=0 || UA.indexOf("sipcli")>=0) {
KSR.sl.sl_send_reply(200, "OK");
KSR.x.exit();
@ -145,9 +144,9 @@ function ksr_route_reqinit()
KSR.x.exit();
}
if (KSR.pv.get("$rm")=="OPTIONS"
&& KSR.is_myself(KSR.pv.get("$ru"))
&& KSR.pv.is_null("$rU")) {
if (KSR.is_OPTIONS()
&& KSR.is_myself_ruri()
&& KSR.corex.has_ruri_user() < 0) {
KSR.sl.sl_send_reply(200,"Keepalive");
KSR.x.exit();
}
@ -165,25 +164,24 @@ function ksr_route_withindlg()
{
if (KSR.siputils.has_totag()<0) { return; }
var METHOD = KSR.pv.get("$rm");
// sequential request withing a dialog should
// take the path determined by record-routing
if (KSR.rr.loose_route()>0) {
ksr_route_dlguri();
if (METHOD=="BYE") {
if (KSR.is_BYE()) {
KSR.setflag(FLT_ACC); // do accounting ...
KSR.setflag(FLT_ACCFAILED); // ... even if the transaction fails
} else if (METHOD=="ACK") {
} else if (KSR.is_ACK()) {
// ACK is forwarded statelessly
ksr_route_natmanage();
} else if (METHOD=="NOTIFY") {
} else if (KSR.is_NOTIFY()) {
// Add Record-Route for in-dialog NOTIFY as per RFC 6665.
KSR.rr.record_route();
}
ksr_route_relay();
KSR.x.exit();
}
if (METHOD=="ACK") {
if (KSR.is_ACK()) {
if (KSR.tm.t_check_trans() >0) {
// no loose-route, but stateful ACK;
// must be an ACK after a 487
@ -202,7 +200,7 @@ function ksr_route_withindlg()
// Handle SIP registrations
function ksr_route_registrar()
{
if (KSR.pv.get("$rm")!="REGISTER") { return; }
if (!KSR.is_REGISTER()) { return; }
if (KSR.isflagset(FLT_NATS)) {
KSR.setbflag(FLB_NATB);
// do SIP NAT pinging
@ -230,7 +228,7 @@ function ksr_route_location()
}
// when routing via usrloc, log the missed calls also
if (KSR.pv.get("$rm")=="INVITE") {
if (KSR.is_INVITE()) {
KSR.setflag(FLT_ACCMISSED);
}
@ -242,30 +240,29 @@ function ksr_route_location()
// IP authorization and user uthentication
function ksr_route_auth()
{
var METHOD = KSR.pv.get("$rm");
if (METHOD!="REGISTER") {
if (!KSR.is_REGISTER()) {
if (KSR.permissions.allow_source_address(1)>0) {
// source IP allowed
return;
}
}
if (METHOD=="REGISTER" || KSR.is_myself(KSR.pv.get("$fu"))) {
if (KSR.is_REGISTER() || KSR.is_myself_furi()) {
// authenticate requests
if (KSR.auth_db.auth_check(KSR.pv.get("$fd"), "subscriber", 1)<0) {
KSR.auth.auth_challenge(KSR.pv.get("$fd"), 0);
KSR.x.exit();
}
// user authenticated - remove auth header
if (METHOD!="REGISTER" && METHOD!="PUBLISH") {
if (!KSR.is_method_in("RP")) {
KSR.auth.consume_credentials();
}
}
// if caller is not local subscriber, then check if it calls
// a local destination, otherwise deny, not an open relay here
if ((! KSR.is_myself(KSR.pv.get("$fu"))
&& (! KSR.is_myself(KSR.pv.get("$ru"))))) {
if ((!KSR.is_myself_furi())
&& (!KSR.is_myself_ruri())) {
KSR.sl.sl_send_reply(403,"Not relaying");
KSR.x.exit();
}
@ -278,7 +275,7 @@ function ksr_route_natdetect()
{
KSR.force_rport();
if (KSR.nathelper.nat_uac_test(19)>0) {
if (KSR.pv.get("$rm")=="REGISTER") {
if (KSR.is_REGISTER()) {
KSR.nathelper.fix_nated_register();
} else if (KSR.siputils.is_first_hop()>0) {
KSR.nathelper.set_contact_alias();
@ -331,7 +328,7 @@ function ksr_route_dlguri()
// Routing to foreign domains
function ksr_route_sipout()
{
if (KSR.is_myself(KSR.pv.get("$ru"))) { return; }
if (KSR.is_myself_ruri()) { return; }
KSR.hdr.append_hf("P-Hint: outbound\r\n");
ksr_route_relay();

@ -33,7 +33,7 @@ function ksr_request_route()
ksr_route_natdetect();
-- CANCEL processing
if KSR.pv.get("$rm") == "CANCEL" then
if KSR.is_CANCEL() then
if KSR.tm.t_check_trans()>0 then
ksr_route_relay();
end
@ -58,12 +58,13 @@ function ksr_request_route()
-- record routing for dialog forming requests (in case they are routed)
-- - remove preloaded route headers
KSR.hdr.remove("Route");
if string.find("INVITE|SUBSCRIBE", KSR.pv.get("$rm")) then
-- if INVITE or SUBSCRIBE
if KSR.is_method_in("IS") then
KSR.rr.record_route();
end
-- account only INVITEs
if KSR.pv.get("$rm")=="INVITE" then
if KSR.is_INVITE() then
KSR.setflag(FLT_ACC); -- do accounting
end
@ -75,7 +76,7 @@ function ksr_request_route()
-- handle registrations
ksr_route_registrar();
if KSR.pv.is_null("$rU") then
if KSR.corex.has_ruri_user() < 0 then
-- request with no Username in RURI
KSR.sl.sl_send_reply(484,"Address Incomplete");
return 1;
@ -91,18 +92,18 @@ end
function ksr_route_relay()
-- enable additional event routes for forwarded requests
-- - serial forking, RTP relaying handling, a.s.o.
if string.find("INVITE,BYE,SUBSCRIBE,UPDATE", KSR.pv.get("$rm")) then
if KSR.is_method_in("IBSU") then
if KSR.tm.t_is_set("branch_route")<0 then
KSR.tm.t_on_branch("ksr_branch_manage");
end
end
if string.find("INVITE,SUBSCRIBE,UPDATE", KSR.pv.get("$rm")) then
if KSR.is_method_in("ISU") then
if KSR.tm.t_is_set("onreply_route")<0 then
KSR.tm.t_on_reply("ksr_onreply_manage");
end
end
if KSR.pv.get("$rm")=="INVITE" then
if KSR.is_INVITE() then
if KSR.tm.t_is_set("failure_route")<0 then
KSR.tm.t_on_failure("ksr_failure_manage");
end
@ -133,11 +134,13 @@ function ksr_route_reqinit()
KSR.x.exit();
end
end
if (not KSR.pv.is_null("$ua"))
and (string.find(KSR.pv.get("$ua"), "friendly-scanner")
or string.find(KSR.pv.get("$ua"), "sipcli")) then
KSR.sl.sl_send_reply(200, "OK");
KSR.x.exit();
if KSR.corex.has_user_agent() > 0 then
local ua = KSR.pv.gete("$ua");
if string.find(ua, "friendly-scanner")
or string.find(ua, "sipcli") then
KSR.sl.sl_send_reply(200, "OK");
KSR.x.exit();
end
end
if KSR.maxfwd.process_maxfwd(10) < 0 then
@ -145,9 +148,9 @@ function ksr_route_reqinit()
KSR.x.exit();
end
if KSR.pv.get("$rm")=="OPTIONS"
and KSR.is_myself(KSR.pv.get("$ru"))
and KSR.pv.is_null("$rU") then
if KSR.is_OPTIONS()
and KSR.is_myself_ruri()
and KSR.corex.has_ruri_user() < 0 then
KSR.sl.sl_send_reply(200,"Keepalive");
KSR.x.exit();
end
@ -169,20 +172,20 @@ function ksr_route_withindlg()
-- take the path determined by record-routing
if KSR.rr.loose_route()>0 then
ksr_route_dlguri();
if KSR.pv.get("$rm")=="BYE" then
if KSR.is_BYE() then
KSR.setflag(FLT_ACC); -- do accounting ...
KSR.setflag(FLT_ACCFAILED); -- ... even if the transaction fails
elseif KSR.pv.get("$rm")=="ACK" then
elseif KSR.is_ACK() then
-- ACK is forwarded statelessly
ksr_route_natmanage();
elseif KSR.pv.get("$rm")=="NOTIFY" then
elseif KSR.is_NOTIFY() then
-- Add Record-Route for in-dialog NOTIFY as per RFC 6665.
KSR.rr.record_route();
end
ksr_route_relay();
KSR.x.exit();
end
if KSR.pv.get("$rm")=="ACK" then
if KSR.is_ACK() then
if KSR.tm.t_check_trans() >0 then
-- no loose-route, but stateful ACK;
-- must be an ACK after a 487
@ -200,7 +203,7 @@ end
-- Handle SIP registrations
function ksr_route_registrar()
if KSR.pv.get("$rm")~="REGISTER" then return 1; end
if not KSR.is_REGISTER() then return 1; end
if KSR.isflagset(FLT_NATS) then
KSR.setbflag(FLB_NATB);
-- do SIP NAT pinging
@ -227,7 +230,7 @@ function ksr_route_location()
end
-- when routing via usrloc, log the missed calls also
if KSR.pv.get("$rm")=="INVITE" then
if KSR.is_INVITE() then
KSR.setflag(FLT_ACCMISSED);
end
@ -239,29 +242,29 @@ end
-- IP authorization and user uthentication
function ksr_route_auth()
if KSR.pv.get("$rm")~="REGISTER" then
if not KSR.is_REGISTER() then
if KSR.permissions.allow_source_address(1)>0 then
-- source IP allowed
return 1;
end
end
if KSR.pv.get("$rm")=="REGISTER" or KSR.is_myself(KSR.pv.get("$fu")) then
if KSR.is_REGISTER() or KSR.is_myself_furi() then
-- authenticate requests
if KSR.auth_db.auth_check(KSR.pv.get("$fd"), "subscriber", 1)<0 then
KSR.auth.auth_challenge(KSR.pv.get("$fd"), 0);
KSR.x.exit();
end
-- user authenticated - remove auth header
if not string.find("REGISTER,PUBLISH", KSR.pv.get("$rm")) then
if not KSR.is_method_in("RP") then
KSR.auth.consume_credentials();
end
end
-- if caller is not local subscriber, then check if it calls
-- a local destination, otherwise deny, not an open relay here
if (not KSR.is_myself(KSR.pv.get("$fu"))
and (not KSR.is_myself(KSR.pv.get("$ru")))) then
if (not KSR.is_myself_furi())
and (not KSR.is_myself_ruri()) then
KSR.sl.sl_send_reply(403,"Not relaying");
KSR.x.exit();
end
@ -273,7 +276,7 @@ end
function ksr_route_natdetect()
KSR.force_rport();
if KSR.nathelper.nat_uac_test(19)>0 then
if KSR.pv.get("$rm")=="REGISTER" then
if KSR.is_REGISTER() then
KSR.nathelper.fix_nated_register();
elseif KSR.siputils.is_first_hop()>0 then
KSR.nathelper.set_contact_alias();
@ -323,7 +326,7 @@ end
-- Routing to foreign domains
function ksr_route_sipout()
if KSR.is_myself(KSR.pv.get("$ru")) then return 1; end
if KSR.is_myself_ruri() then return 1; end
KSR.hdr.append("P-Hint: outbound\r\n");
ksr_route_relay();

@ -60,7 +60,7 @@ class kamailio:
return 1;
# CANCEL processing
if KSR.pv.get("$rm") == "CANCEL" :
if KSR.is_CANCEL() :
if KSR.tm.t_check_trans()>0 :
self.ksr_route_relay(msg);
return 1;
@ -86,7 +86,7 @@ class kamailio:
# record routing for dialog forming requests (in case they are routed)
# - remove preloaded route headers
KSR.hdr.remove("Route");
if "INVITE|SUBSCRIBE".find(KSR.pv.get("$rm"))!=-1 :
if KSR.is_method_in("IS") :
KSR.rr.record_route();
@ -105,7 +105,7 @@ class kamailio:
if self.ksr_route_registrar(msg)==-255 :
return 1;
if KSR.pv.is_null("$rU") :
if KSR.corex.has_ruri_user() < 0 :
# request with no Username in RURI
KSR.sl.sl_send_reply(484,"Address Incomplete");
return 1;
@ -121,15 +121,15 @@ class kamailio:
def ksr_route_relay(self, msg):
# enable additional event routes for forwarded requests
# - serial forking, RTP relaying handling, a.s.o.
if "INVITE,BYE,SUBSCRIBE,UPDATE".find(KSR.pv.get("$rm"))!=-1 :
if KSR.is_method_in("IBSU") :
if KSR.tm.t_is_set("branch_route")<0 :
KSR.tm.t_on_branch("ksr_branch_manage");
if "INVITE,SUBSCRIBE,UPDATE".find(KSR.pv.get("$rm"))!=-1 :
if KSR.is_method_in("ISU") :
if KSR.tm.t_is_set("onreply_route")<0 :
KSR.tm.t_on_reply("ksr_onreply_manage");
if KSR.pv.get("$rm")=="INVITE" :
if KSR.is_INVITE() :
if KSR.tm.t_is_set("failure_route")<0 :
KSR.tm.t_on_failure("ksr_failure_manage");
@ -156,9 +156,10 @@ class kamailio:
KSR.pv.seti("$sht(ipban=>$si)", 1);
return -255;
if not KSR.pv.is_null("$ua") :
if (KSR.pv.get("$ua").find("friendly-scanner")!=-1
or KSR.pv.get("$ua").find("sipcli")!=-1) :
if KSR.corex.has_user_agent() > 0 :
ua = KSR.pv.gete("$ua")
if (ua.find("friendly-scanner")!=-1
or ua.find("sipcli")!=-1) :
KSR.sl.sl_send_reply(200, "Processed");
return -255;
@ -166,9 +167,9 @@ class kamailio:
KSR.sl.sl_send_reply(483,"Too Many Hops");
return -255;
if (KSR.pv.get("$rm")=="OPTIONS"
and KSR.is_myself(KSR.pv.get("$ru"))
and KSR.pv.is_null("$rU")) :
if (KSR.is_OPTIONS()
and KSR.is_myself_ruri()
and KSR.corex.has_ruri_user() < 0) :
KSR.sl.sl_send_reply(200,"Keepalive");
return -255;
@ -188,23 +189,23 @@ class kamailio:
if KSR.rr.loose_route()>0 :
if self.ksr_route_dlguri(msg)==-255 :
return -255;
if KSR.pv.get("$rm")=="BYE" :
if KSR.is_BYE() :
# do accounting ...
KSR.setflag(FLT_ACC);
# ... even if the transaction fails
KSR.setflag(FLT_ACCFAILED);
elif KSR.pv.get("$rm")=="ACK" :
elif KSR.is_ACK() :
# ACK is forwarded statelessly
if self.ksr_route_natmanage(msg)==-255 :
return -255;
elif KSR.pv.get("$rm")=="NOTIFY" :
elif KSR.is_NOTIFY() :
# Add Record-Route for in-dialog NOTIFY as per RFC 6665.
KSR.rr.record_route();
self.ksr_route_relay(msg);
return -255;
if KSR.pv.get("$rm")=="ACK" :
if KSR.is_ACK() :
if KSR.tm.t_check_trans() >0 :
# no loose-route, but stateful ACK;
# must be an ACK after a 487
@ -221,7 +222,7 @@ class kamailio:
# Handle SIP registrations
def ksr_route_registrar(self, msg):
if KSR.pv.get("$rm") != "REGISTER" :
if not KSR.is_REGISTER() :
return 1;
if KSR.isflagset(FLT_NATS) :
KSR.setbflag(FLB_NATB);
@ -247,7 +248,7 @@ class kamailio:
return -255;
# when routing via usrloc, log the missed calls also
if KSR.pv.get("$rm")=="INVITE" :
if KSR.is_INVITE() :
KSR.setflag(FLT_ACCMISSED);
self.ksr_route_relay(msg);
@ -258,25 +259,24 @@ class kamailio:
# IP authorization and user uthentication
def ksr_route_auth(self, msg):
if KSR.pv.get("$rm") != "REGISTER" :
if not KSR.is_REGISTER() :
if KSR.permissions.allow_source_address(1)>0 :
# source IP allowed
return 1;
if KSR.pv.get("$rm")=="REGISTER" or KSR.is_myself(KSR.pv.get("$fu")) :
if KSR.is_REGISTER() or KSR.is_myself_furi() :
# authenticate requests
if KSR.auth_db.auth_check(KSR.pv.get("$fd"), "subscriber", 1)<0 :
KSR.auth.auth_challenge(KSR.pv.get("$fd"), 0);
return -255;
# user authenticated - remove auth header
if not "REGISTER,PUBLISH".find(KSR.pv.get("$rm"))!=-1 :
if not KSR.is_method_in("RP") :
KSR.auth.consume_credentials();
# if caller is not local subscriber, then check if it calls
# a local destination, otherwise deny, not an open relay here
if (not KSR.is_myself(KSR.pv.get("$fu"))
and (not KSR.is_myself(KSR.pv.get("$ru")))) :
if (not KSR.is_myself_furi()) and (not KSR.is_myself_ruri()) :
KSR.sl.sl_send_reply(403,"Not relaying");
return -255;
@ -287,7 +287,7 @@ class kamailio:
def ksr_route_natdetect(self, msg):
KSR.force_rport();
if KSR.nathelper.nat_uac_test(19)>0 :
if KSR.pv.get("$rm")=="REGISTER" :
if KSR.is_REGISTER() :
KSR.nathelper.fix_nated_register();
elif KSR.siputils.is_first_hop()>0 :
KSR.nathelper.set_contact_alias();
@ -331,7 +331,7 @@ class kamailio:
# Routing to foreign domains
def ksr_route_sipout(self, msg):
if KSR.is_myself(KSR.pv.get("$ru")) :
if KSR.is_myself_ruri() :
return 1;
KSR.hdr.append("P-Hint: outbound\r\n");

@ -20,7 +20,6 @@ local FLAGS = {
// equivalent of request_route{}
function ksr_request_route()
{
local METHOD = KSR.pv.get("$rm");
// KSR.sl.sl_send_reply(100,"Intelligent trying");
// KSR.info("===== request - from kamailio SQLang script\n");
@ -31,7 +30,7 @@ function ksr_request_route()
ksr_route_natdetect();
// CANCEL processing
if (METHOD == "CANCEL") {
if (KSR.is_CANCEL()) {
if(KSR.tm.t_check_trans()>0) {
ksr_route_relay();
}
@ -44,11 +43,13 @@ function ksr_request_route()
// -- only initial requests (no To tag)
// handle retransmissions
if (KSR.tmx.t_precheck_trans()>0) {
KSR.tm.t_check_trans();
return;
if (!KSR.is_ACK()) {
if (KSR.tmx.t_precheck_trans()>0) {
KSR.tm.t_check_trans();
return;
}
if (KSR.tm.t_check_trans()==0) { return; }
}
if (KSR.tm.t_check_trans()==0) { return; }
// authentication
ksr_route_auth();
@ -56,12 +57,12 @@ function ksr_request_route()
// record routing for dialog forming requests (in case they are routed)
// - remove preloaded route headers
KSR.hdr.remove("Route");
if (METHOD=="INVITE" || METHOD=="SUBSCRIBE") {
if (KSR.is_method_in("IS")) {
KSR.rr.record_route();
}
// account only INVITEs
if (METHOD=="INVITE") {
if (KSR.is_INVITE()) {
KSR.setflag(FLAGS.FLT_ACC); // do accounting
}
@ -73,7 +74,7 @@ function ksr_request_route()
// handle registrations
ksr_route_registrar();
if (KSR.pv.is_null("$rU")) {
if (KSR.corex.has_ruri_user() < 0) {
// request with no Username in RURI
KSR.sl.sl_send_reply(484, "Address Incomplete");
return;
@ -90,20 +91,18 @@ function ksr_route_relay()
{
// enable additional event routes for forwarded requests
// - serial forking, RTP relaying handling, a.s.o.
local METHOD = KSR.pv.get("$rm");
if (METHOD=="INVITE" || METHOD=="BYE" || METHOD=="SUBSCRIBE"
|| METHOD=="UPDATE") {
if (KSR.is_method_in("IBSU")) {
if (KSR.tm.t_is_set("branch_route")<0) {
KSR.tm.t_on_branch("ksr_branch_manage");
}
}
if (METHOD=="INVITE" || METHOD=="SUBSCRIBE" || METHOD=="UPDATE") {
if (KSR.is_method_in("ISU")) {
if (KSR.tm.t_is_set("onreply_route")<0) {
KSR.tm.t_on_reply("ksr_onreply_manage");
}
}
if (METHOD=="INVITE") {
if (KSR.is_INVITE()) {
if (KSR.tm.t_is_set("failure_route")<0) {
KSR.tm.t_on_failure("ksr_failure_manage");
}
@ -119,7 +118,7 @@ function ksr_route_relay()
// Per SIP request initial checks
function ksr_route_reqinit()
{
if (!KSR.is_myself(KSR.pv.get("$si"))) {
if (!KSR.is_myself_srcip()) {
if (!KSR.pv.is_null("$sht(ipban=>$si)")) {
// ip is already blocked
KSR.dbg("request from blocked IP - " + KSR.pv.get("$rm")
@ -135,7 +134,7 @@ function ksr_route_reqinit()
KSR.x.exit();
}
}
if (!KSR.pv.is_null("$ua")) {
if (KSR.corex.has_user_agent()>0) {
local UA = KSR.pv.get("$ua");
// if (sipscanregex.match(UA)) {
if (UA.find("friendly-scanner")!=null || UA.find("sipcli")!=null) {
@ -149,9 +148,9 @@ function ksr_route_reqinit()
KSR.x.exit();
}
if (KSR.pv.get("$rm")=="OPTIONS"
&& KSR.is_myself(KSR.pv.get("$ru"))
&& KSR.pv.is_null("$rU")) {
if (KSR.is_OPTIONS()
&& KSR.is_myself_ruri()
&& KSR.corex.has_ruri_user() < 0) {
KSR.sl.sl_send_reply(200,"Keepalive");
KSR.x.exit();
}
@ -169,25 +168,24 @@ function ksr_route_withindlg()
{
if (KSR.siputils.has_totag()<0) { return; }
local METHOD = KSR.pv.get("$rm");
// sequential request withing a dialog should
// take the path determined by record-routing
if (KSR.rr.loose_route()>0) {
ksr_route_dlguri();
if (METHOD=="BYE") {
if (KSR.is_BYE()) {
KSR.setflag(FLAGS.FLT_ACC); // do accounting ...
KSR.setflag(FLAGS.FLT_ACCFAILED); // ... even if the transaction fails
} else if (METHOD=="ACK") {
} else if (KSR.is_ACK()) {
// ACK is forwarded statelessly
ksr_route_natmanage();
} else if (METHOD=="NOTIFY") {
} else if (KSR.is_NOTIFY()) {
// Add Record-Route for in-dialog NOTIFY as per RFC 6665.
KSR.rr.record_route();
}
ksr_route_relay();
KSR.x.exit();
}
if (METHOD=="ACK") {
if (KSR.is_ACK()) {
if (KSR.tm.t_check_trans() >0) {
// no loose-route, but stateful ACK;
// must be an ACK after a 487
@ -206,7 +204,7 @@ function ksr_route_withindlg()
// Handle SIP registrations
function ksr_route_registrar()
{
if (KSR.pv.get("$rm")!="REGISTER") { return; }
if (!KSR.is_REGISTER()) { return; }
if (KSR.isflagset(FLAGS.FLT_NATS)) {
KSR.setbflag(FLAGS.FLB_NATB);
// do SIP NAT pinging
@ -234,7 +232,7 @@ function ksr_route_location()
}
// when routing via usrloc, log the missed calls also
if (KSR.pv.get("$rm")=="INVITE") {
if (KSR.is_INVITE()) {
KSR.setflag(FLAGS.FLT_ACCMISSED);
}
@ -246,30 +244,29 @@ function ksr_route_location()
// IP authorization and user uthentication
function ksr_route_auth()
{
local METHOD = KSR.pv.get("$rm");
if (METHOD!="REGISTER") {
if (!KSR.is_REGISTER()) {
if (KSR.permissions.allow_source_address(1)>0) {
// source IP allowed
return;
}
}
if (METHOD=="REGISTER" || KSR.is_myself(KSR.pv.get("$fu"))) {
if (KSR.is_REGISTER() || KSR.is_myself_furi()) {
// authenticate requests
if (KSR.auth_db.auth_check(KSR.pv.get("$fd"), "subscriber", 1)<0) {
KSR.auth.auth_challenge(KSR.pv.get("$fd"), 0);
KSR.x.exit();
}
// user authenticated - remove auth header
if (METHOD!="REGISTER" && METHOD!="PUBLISH") {
if (!KSR.is_method_in("RP")) {
KSR.auth.consume_credentials();
}
}
// if caller is not local subscriber, then check if it calls
// a local destination, otherwise deny, not an open relay here
if ((! KSR.is_myself(KSR.pv.get("$fu"))
&& (! KSR.is_myself(KSR.pv.get("$ru"))))) {
if ((!KSR.is_myself_furi())
&& (!KSR.is_myself_ruri())) {
KSR.sl.sl_send_reply(403,"Not relaying");
KSR.x.exit();
}
@ -282,7 +279,7 @@ function ksr_route_natdetect()
{
KSR.force_rport();
if (KSR.nathelper.nat_uac_test(19)>0) {
if (KSR.pv.get("$rm")=="REGISTER") {
if (KSR.is_REGISTER()) {
KSR.nathelper.fix_nated_register();
} else if (KSR.siputils.is_first_hop()>0) {
KSR.nathelper.set_contact_alias();
@ -335,7 +332,7 @@ function ksr_route_dlguri()
// Routing to foreign domains
function ksr_route_sipout()
{
if (KSR.is_myself(KSR.pv.get("$ru"))) { return; }
if (KSR.is_myself_ruri()) { return; }
KSR.hdr.append_hf("P-Hint: outbound\r\n");
ksr_route_relay();

@ -4,7 +4,7 @@
# - web: http://www.kamailio.org
# - git: http://sip-router.org
#
# Direct your questions about this file to: <sr-users@lists.sip-router.org>
# Direct your questions about this file to: <sr-users@lists.kamailio.org>
#
# Refer to the Core CookBook at http://www.kamailio.org/wiki/
# for an explanation of possible statements, functions and parameters.

@ -0,0 +1,347 @@
#!KAMAILIO
#
# Kamailio (OpenSER) SIP Server v5.2 - default configuration script
# - web: https://www.kamailio.org
# - git: https://github.com/kamailio/kamailio
#
# Direct your questions about this file to: <sr-users@lists.kamailio.org>
#
# Refer to the Core CookBook at https://www.kamailio.org/wiki/
# for an explanation of possible statements, functions and parameters.
#
####### Defined Values #########
# the specific address for this node
#!define IPADDR_THISNODE "192.168.178.75"
#!subst "/IPADDR_THISNODE/192.168.178.75/"
# the specific address of the pair node in the anycast deployment
#!define IPADDR_PAIRNODE "192.168.178.74"
#!subst "/IPADDR_PAIRNODE/192.168.178.74/"
# the anycast address
#!define IPADDR_ANYCAST "192.168.178.80"
#!subst "/IPADDR_ANYCAST/192.168.178.80/"
# the address of the main sip server where to route requests to
# [UA1] <===> [ANYCASTNODE] <===> [MAINSRV] <===> [ANYCASTNODE] <===> [UA2]
#!define IPADDR_MAINSRV "192.168.178.40"
#!subst "/IPADDR_MAINSRV/192.168.178.40/"
#!define MULTIDOMAIN 0
# - flags
# FLT_ - per transaction (message) flags
# FLB_ - per branch flags
#!define FLT_ACC 1
#!define FLT_ACCMISSED 2
#!define FLT_ACCFAILED 3
#!define FLT_NATS 5
#!define FLB_NATB 6
#!define FLB_NATSIPPING 7
####### Global Parameters #########
### LOG Levels: 3=DBG, 2=INFO, 1=NOTICE, 0=WARN, -1=ERR
#!ifdef WITH_DEBUG
debug=4
log_stderror=yes
#!else
debug=2
log_stderror=no
#!endif
memdbg=5
memlog=5
log_facility=LOG_LOCAL0
log_prefix="{$mt $hdr(CSeq) $ci} "
/* number of SIP routing processes */
children=8
server_id = 10
xavp_via_params = "via"
/* uncomment the next line to disable TCP (default on) */
# disable_tcp=yes
/* uncomment the next line to disable the auto discovery of local aliases
* based on reverse DNS on IPs (default on) */
# auto_aliases=no
/* add local domain aliases */
# alias="sip.mydomain.com"
/* listen on local and anycast addresses */
listen=udp:IPADDR_THISNODE:5060
# listen=udp:IPADDR_ANYCAST:5060
####### Custom Parameters #########
/* These parameters can be modified runtime via RPC interface
* - see the documentation of 'cfg_rpc' module.
*
* Format: group.id = value 'desc' description
* Access: $sel(cfg_get.group.id) or @cfg_get.group.id */
####### Modules Section ########
/* set paths to location of modules */
loadmodule "jsonrpcs.so"
loadmodule "kex.so"
loadmodule "corex.so"
loadmodule "tm.so"
loadmodule "tmx.so"
loadmodule "sl.so"
loadmodule "rr.so"
loadmodule "pv.so"
loadmodule "maxfwd.so"
loadmodule "textops.so"
loadmodule "siputils.so"
loadmodule "xlog.so"
loadmodule "sanity.so"
loadmodule "ctl.so"
loadmodule "cfg_rpc.so"
loadmodule "acc.so"
loadmodule "counters.so"
# ----------------- setting module-specific parameters ---------------
# ----- jsonrpcs params -----
modparam("jsonrpcs", "pretty_format", 1)
/* set the path to RPC fifo control file */
# modparam("jsonrpcs", "fifo_name", "/var/run/kamailio/kamailio_rpc.fifo")
/* set the path to RPC unix socket control file */
# modparam("jsonrpcs", "dgram_socket", "/var/run/kamailio/kamailio_rpc.sock")
# ----- ctl params -----
/* set the path to RPC unix socket control file */
# modparam("ctl", "binrpc", "unix:/var/run/kamailio/kamailio_ctl")
# ----- tm params -----
# auto-discard branches from previous serial forking leg
modparam("tm", "failure_reply_mode", 3)
# default retransmission timeout: 30sec
modparam("tm", "fr_timer", 30000)
# default invite retransmission timeout after 1xx: 120sec
modparam("tm", "fr_inv_timer", 120000)
# ----- rr params -----
# set next param to 1 to add value to ;lr param (helps with some UAs)
modparam("rr", "enable_full_lr", 0)
# do not append from tag to the RR (no need for this script)
modparam("rr", "append_fromtag", 0)
# ----- acc params -----
/* what special events should be accounted ? */
modparam("acc", "early_media", 0)
modparam("acc", "report_ack", 0)
modparam("acc", "report_cancels", 0)
/* by default ww do not adjust the direct of the sequential requests.
* if you enable this parameter, be sure the enable "append_fromtag"
* in "rr" module */
modparam("acc", "detect_direction", 0)
/* account triggers (flags) */
modparam("acc", "log_flag", FLT_ACC)
modparam("acc", "log_missed_flag", FLT_ACCMISSED)
modparam("acc", "log_extra",
"src_user=$fU;src_domain=$fd;src_ip=$si;"
"dst_ouser=$tU;dst_user=$rU;dst_domain=$rd")
modparam("acc", "failed_transaction_flag", FLT_ACCFAILED)
####### Routing Logic ########
/* Main SIP request routing logic
* - processing of any incoming SIP request starts with this route
* - note: this is the same as route { ... } */
request_route {
# per request initial checks
route(REQINIT);
# CANCEL processing
if (is_method("CANCEL")) {
if (t_check_trans()) {
route(RELAY);
}
exit;
}
# handle retransmissions
if (!is_method("ACK")) {
if(t_precheck_trans()) {
t_check_trans();
exit;
}
t_check_trans();
}
# handle requests within SIP dialogs
route(WITHINDLG);
### only initial requests (no To tag)
# record routing for dialog forming requests (in case they are routed)
# - remove preloaded route headers
remove_hf("Route");
if (is_method("INVITE|SUBSCRIBE")) {
record_route();
}
# account only INVITEs
if (is_method("INVITE")) {
setflag(FLT_ACC); # do accounting
}
if ($rU==$null) {
# request with no Username in RURI
sl_send_reply("484","Address Incomplete");
exit;
}
if($si != IPADDR_MAINSRV) {
# received from client - send to main sip server
$du = "sip:" + IPADDR_MAINSRV;
route(RELAY);
exit;
}
# received from main server - send to client
# add via tokens for anycast handling
via_add_srvid("1");
$xavp(via=>node) = IPADDR_THISNODE;
via_add_xavp_params("1");
route(RELAY);
exit;
}
# Wrapper for relaying requests
route[RELAY] {
# enable additional event routes for forwarded requests
# - serial forking, RTP relaying handling, a.s.o.
if (is_method("INVITE|BYE|SUBSCRIBE|UPDATE")) {
if(!t_is_set("branch_route")) t_on_branch("MANAGE_BRANCH");
}
if (is_method("INVITE|SUBSCRIBE|UPDATE")) {
if(!t_is_set("onreply_route")) t_on_reply("MANAGE_REPLY");
}
if (is_method("INVITE")) {
if(!t_is_set("failure_route")) t_on_failure("MANAGE_FAILURE");
}
if (!t_relay()) {
sl_reply_error();
}
exit;
}
# Per SIP request initial checks
route[REQINIT] {
if($ua =~ "friendly-scanner|sipcli|VaxSIPUserAgent") {
# silent drop for scanners - uncomment next line if want to reply
# sl_send_reply("200", "OK");
exit;
}
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
exit;
}
if(is_method("OPTIONS") && uri==myself && $rU==$null) {
sl_send_reply("200","Keepalive");
exit;
}
if(!sanity_check("1511", "7")) {
xlog("Malformed SIP message from $si:$sp\n");
exit;
}
}
# Handle requests within SIP dialogs
route[WITHINDLG] {
if (!has_totag()) return;
# sequential request withing a dialog should
# take the path determined by record-routing
if (loose_route()) {
if (is_method("BYE")) {
setflag(FLT_ACC); # do accounting ...
setflag(FLT_ACCFAILED); # ... even if the transaction fails
} else if ( is_method("NOTIFY") ) {
# Add Record-Route for in-dialog NOTIFY as per RFC 6665.
record_route();
}
route(RELAY);
exit;
}
if ( is_method("ACK") ) {
if ( t_check_trans() ) {
# no loose-route, but stateful ACK;
# must be an ACK after a 487
# or e.g. 404 from upstream server
route(RELAY);
exit;
} else {
# ACK without matching transaction ... ignore and discard
exit;
}
}
sl_send_reply("404","Not here");
exit;
}
# TM manage for outgoing branches
branch_route[MANAGE_BRANCH] {
xdbg("new branch [$T_branch_idx] to $ru\n");
}
# TM manage for incoming replies
onreply_route[MANAGE_REPLY] {
xdbg("incoming reply\n");
}
# TM manage for failure routing cases
failure_route[MANAGE_FAILURE] {
if (t_is_canceled()) exit;
}
# Core handling for incoming replies
reply_route {
if($si != IPADDR_MAINSRV) {
if($si == IPADDR_PAIRNODE) {
# receiving a transparent proxied request from pair server
if(is_present_hf("X-Src-Addr")) {
# set the original source IP address
xinfo("setting source address: $hdr(X-Src-Addr)\n");
set_source_address("$hdr(X-Src-Addr)");
remove_hf("X-Src-Addr");
}
# switch received socket to anycast address
set_recv_socket("udp:IPADDR_ANYCAST:5060");
} else {
# receiving response from client
# response belongs to a transaction?
# - yes: route it, request was handled here
# - no: send to pair server
if(!t_check_trans()) {
append_hf("X-Src-Addr: $su\r\n");
# $var(vd) = $(hdr(Via){s.select, ,-1}{param.value,node});
$var(vd) = $sel(via.params["node"]);
xinfo("via param domain: $var(vd)\n");
sendx("sip:$var(vd)", "udp:IPADDR_THISNODE:5060", "$mbu");
drop();
}
}
}
# from now on, the usual sip response processing
}

@ -0,0 +1,280 @@
#!KAMAILIO
#
# Kamailio (OpenSER) SIP Server v5.2 - default configuration script
# - web: https://www.kamailio.org
# - git: https://github.com/kamailio/kamailio
#
# Direct your questions about this file to: <sr-users@lists.kamailio.org>
#
# Refer to the Core CookBook at https://www.kamailio.org/wiki/
# for an explanation of possible statements, functions and parameters.
#
####### Defined Values #########
#!define MULTIDOMAIN 0
# - flags
# FLT_ - per transaction (message) flags
# FLB_ - per branch flags
#!define FLT_ACC 1
#!define FLT_ACCMISSED 2
#!define FLT_ACCFAILED 3
#!define FLT_NATS 5
#!define FLB_NATB 6
#!define FLB_NATSIPPING 7
####### Global Parameters #########
### LOG Levels: 3=DBG, 2=INFO, 1=NOTICE, 0=WARN, -1=ERR
debug=2
log_stderror=no
memdbg=5
memlog=5
log_facility=LOG_LOCAL0
log_prefix="{$mt $hdr(CSeq) $ci} "
/* number of SIP routing processes */
children=2
/* uncomment the next line to disable TCP (default on) */
# disable_tcp=yes
/* uncomment the next line to disable the auto discovery of local aliases
* based on reverse DNS on IPs (default on) */
# auto_aliases=no
/* add local domain aliases */
# alias="sip.mydomain.com"
/* listen addresses */
# listen=udp:127.0.0.1:5060
####### Custom Parameters #########
/* These parameters can be modified runtime via RPC interface
* - see the documentation of 'cfg_rpc' module.
*
* Format: group.id = value 'desc' description
* Access: $sel(cfg_get.group.id) or @cfg_get.group.id */
####### Modules Section ########
/* set paths to location of modules */
loadmodule "jsonrpcs.so"
loadmodule "kex.so"
loadmodule "corex.so"
loadmodule "tm.so"
loadmodule "tmx.so"
loadmodule "sl.so"
loadmodule "rr.so"
loadmodule "pv.so"
loadmodule "maxfwd.so"
loadmodule "textops.so"
loadmodule "siputils.so"
loadmodule "xlog.so"
loadmodule "sanity.so"
loadmodule "ctl.so"
loadmodule "cfg_rpc.so"
loadmodule "acc.so"
loadmodule "counters.so"
# ----------------- setting module-specific parameters ---------------
# ----- jsonrpcs params -----
modparam("jsonrpcs", "pretty_format", 1)
/* set the path to RPC fifo control file */
# modparam("jsonrpcs", "fifo_name", "/var/run/kamailio/kamailio_rpc.fifo")
/* set the path to RPC unix socket control file */
# modparam("jsonrpcs", "dgram_socket", "/var/run/kamailio/kamailio_rpc.sock")
# ----- ctl params -----
/* set the path to RPC unix socket control file */
# modparam("ctl", "binrpc", "unix:/var/run/kamailio/kamailio_ctl")
# ----- tm params -----
# auto-discard branches from previous serial forking leg
modparam("tm", "failure_reply_mode", 3)
# default retransmission timeout: 30sec
modparam("tm", "fr_timer", 30000)
# default invite retransmission timeout after 1xx: 120sec
modparam("tm", "fr_inv_timer", 120000)
# ----- rr params -----
# set next param to 1 to add value to ;lr param (helps with some UAs)
modparam("rr", "enable_full_lr", 0)
# do not append from tag to the RR (no need for this script)
modparam("rr", "append_fromtag", 0)
# ----- acc params -----
/* what special events should be accounted ? */
modparam("acc", "early_media", 0)
modparam("acc", "report_ack", 0)
modparam("acc", "report_cancels", 0)
/* by default ww do not adjust the direct of the sequential requests.
* if you enable this parameter, be sure the enable "append_fromtag"
* in "rr" module */
modparam("acc", "detect_direction", 0)
/* account triggers (flags) */
modparam("acc", "log_flag", FLT_ACC)
modparam("acc", "log_missed_flag", FLT_ACCMISSED)
modparam("acc", "log_extra",
"src_user=$fU;src_domain=$fd;src_ip=$si;"
"dst_ouser=$tU;dst_user=$rU;dst_domain=$rd")
modparam("acc", "failed_transaction_flag", FLT_ACCFAILED)
####### Routing Logic ########
/* Main SIP request routing logic
* - processing of any incoming SIP request starts with this route
* - note: this is the same as route { ... } */
request_route {
# per request initial checks
route(REQINIT);
# CANCEL processing
if (is_method("CANCEL")) {
if (t_check_trans()) {
route(RELAY);
}
exit;
}
# handle retransmissions
if (!is_method("ACK")) {
if(t_precheck_trans()) {
t_check_trans();
exit;
}
t_check_trans();
}
# handle requests within SIP dialogs
route(WITHINDLG);
### only initial requests (no To tag)
# record routing for dialog forming requests (in case they are routed)
# - remove preloaded route headers
remove_hf("Route");
if (is_method("INVITE|SUBSCRIBE")) {
record_route();
}
# account only INVITEs
if (is_method("INVITE")) {
setflag(FLT_ACC); # do accounting
}
if ($rU==$null) {
# request with no Username in RURI
sl_send_reply("484","Address Incomplete");
exit;
}
# update $du to set the destination address for proxying
$du = "sip:" + $rd + ":9";
route(RELAY);
exit;
}
# Wrapper for relaying requests
route[RELAY] {
# enable additional event routes for forwarded requests
# - serial forking, RTP relaying handling, a.s.o.
if (is_method("INVITE|BYE|SUBSCRIBE|UPDATE")) {
if(!t_is_set("branch_route")) t_on_branch("MANAGE_BRANCH");
}
if (is_method("INVITE|SUBSCRIBE|UPDATE")) {
if(!t_is_set("onreply_route")) t_on_reply("MANAGE_REPLY");
}
if (is_method("INVITE")) {
if(!t_is_set("failure_route")) t_on_failure("MANAGE_FAILURE");
}
if (!t_relay()) {
sl_reply_error();
}
exit;
}
# Per SIP request initial checks
route[REQINIT] {
if($ua =~ "friendly-scanner|sipcli|VaxSIPUserAgent") {
# silent drop for scanners - uncomment next line if want to reply
# sl_send_reply("200", "OK");
exit;
}
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
exit;
}
if(is_method("OPTIONS") && uri==myself && $rU==$null) {
sl_send_reply("200","Keepalive");
exit;
}
if(!sanity_check("1511", "7")) {
xlog("Malformed SIP message from $si:$sp\n");
exit;
}
}
# Handle requests within SIP dialogs
route[WITHINDLG] {
if (!has_totag()) return;
# sequential request withing a dialog should
# take the path determined by record-routing
if (loose_route()) {
if (is_method("BYE")) {
setflag(FLT_ACC); # do accounting ...
setflag(FLT_ACCFAILED); # ... even if the transaction fails
} else if ( is_method("NOTIFY") ) {
# Add Record-Route for in-dialog NOTIFY as per RFC 6665.
record_route();
}
route(RELAY);
exit;
}
if ( is_method("ACK") ) {
if ( t_check_trans() ) {
# no loose-route, but stateful ACK;
# must be an ACK after a 487
# or e.g. 404 from upstream server
route(RELAY);
exit;
} else {
# ACK without matching transaction ... ignore and discard
exit;
}
}
sl_send_reply("404","Not here");
exit;
}
# Manage outgoing branches
branch_route[MANAGE_BRANCH] {
xdbg("new branch [$T_branch_idx] to $ru\n");
}
# Manage incoming replies
onreply_route[MANAGE_REPLY] {
xdbg("incoming reply\n");
}
# Manage failure routing cases
failure_route[MANAGE_FAILURE] {
if (t_is_canceled()) exit;
}

@ -230,7 +230,7 @@ route[2] {
if (!(src_ip==195.37.77.110) &
!(proxy_authorize( "iptel.org" /* realm */,
"subscriber" /* table name */ ))) {
# see comments bellow on these ACK/CANCEL exceptions
# see comments below on these ACK/CANCEL exceptions
if (method=="ACK" ) {
log("failed outbound authentication for ACK granted");
} else if (method=="CANCEL") {

@ -5,7 +5,7 @@
# w/o authentication, accounting, database, multi-domain support etc.
# Please refer to sip-router.cfg for a more complete example
#
# Direct your questions about this file to: <sr-users@lists.sip-router.org>.
# Direct your questions about this file to: <sr-users@lists.kamailio.org>.
#
# For more information about the various parameters, functions and statements
# try http://sip-router.org/wiki/ .

@ -20,7 +20,7 @@
#
# If you look for documentation, try http://sip-router.org/wiki/.
# The right mailing lists for questions about this file is
# <sr-users@lists.sip-router.org>.
# <sr-users@lists.kamailio.org>.
#
# Requirements:
# ---------------

File diff suppressed because it is too large Load Diff

@ -104,7 +104,7 @@ FILES
${SRCDB_DIR}/${SRCDB}
REPORTING BUGS
Report bugs to <ser-bugs@iptel.org>
Report bugs to <sr-dev@lists.kamailio.org>
EOF
} #usage

@ -1,5 +1,8 @@
#!/usr/bin/env sh
#
# Note: This script is obselete, especially after the changes in commit
# 1f70d062b0b9cf1e, the module interface unification.
#
# This is a simple script which attempts to convert kamailio modules so that
# they can be used with the sip-router core. Most of the changes done by the
# script deal with the changes in the database abstraction layer in the

@ -175,7 +175,7 @@ FILES
${SCRIPT_DIR}/${DROP_SCRIPT}
REPORTING BUGS
Report bugs to <ser-bugs@iptel.org>
Report bugs to <sr-dev@lists.kamailio.org>
EOF
} #usage

@ -53,7 +53,7 @@ Usage: $COMMAND create [database]
to create databases, tables, and users)
PSQL Full path to mysql command (${PSQL})
Report bugs to <ser-bugs@iptel.org>
Report bugs to <sr-dev@lists.kamailio.org>
EOF
} #usage

@ -18,5 +18,5 @@ Second, to give access to the same CA root to a large community in order to
encourage testings and interconnections via TLS with minimum of troubles.
For any questions, please address to :
sr-users@lists.sip-router.org (public mailing list)
sr-users@lists.kamailio.org (public mailing list)

@ -4,7 +4,7 @@
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=kamailio
pkgver=5.1.8
pkgver=5.2.3
pkgrel=0
# If building from a git snapshot, specify the gitcommit
@ -29,7 +29,7 @@ makedepends="bison db-dev flex freeradius-client-dev expat-dev lksctp-tools-dev
libxml2-dev curl-dev unixodbc-dev confuse-dev ncurses-dev sqlite-dev
lua-dev openldap-dev openssl-dev net-snmp-dev libuuid libev-dev
jansson-dev json-c-dev libevent-dev linux-headers libmemcached-dev
rabbitmq-c-dev hiredis-dev libmaxminddb-dev libunistring-dev"
rabbitmq-c-dev hiredis-dev libmaxminddb-dev libunistring-dev ruby-dev"
install="$pkgname.pre-install $pkgname.pre-upgrade"
# secfixes:
@ -162,6 +162,9 @@ _mod_list_perl="app_perl db_perlvdb"
# - modules depending on python library
_mod_list_python="app_python"
# - modules depending on ruby library
_mod_list_ruby="app_ruby"
# - modules depending on rabbitmq
_mod_list_rabbitmq="rabbitmq"
@ -175,17 +178,17 @@ _mod_list_sqlite="db_sqlite"
_mod_list_oracle="db_oracle"
# - modules depending on json library
_mod_list_json="json jsonrpcc jsonrpcs"
_mod_list_json="json jsonrpcc jsonrpcs pua_json"
# - modules depending on redis library
_mod_list_redis="ndb_redis topos_redis"
_mod_list_redis="db_redis ndb_redis topos_redis"
# - modules depending on mono library
_mod_list_mono="app_mono"
# - modules related to IMS extensions
_mod_list_ims="cdp cdp_avp ims_dialog ims_diameter_server ims_auth ims_isc ims_icscf ims_qos \
ims_registrar_pcscf ims_registrar_scscf ims_usrloc_pcscf \
ims_ocs ims_registrar_pcscf ims_registrar_scscf ims_usrloc_pcscf \
ims_usrloc_scscf ims_charging"
# - modules depending on osp toolkit library
@ -213,7 +216,7 @@ _mod_list_kazoo="kazoo"
_mod_list_mongodb="db_mongodb ndb_mongodb"
# - modules depending on jansson library
_mod_list_jansson="jansson janssonrpcc"
_mod_list_jansson="acc_json jansson janssonrpcc"
# - modules depending on libm
_mod_list_jsdt="app_jsdt"
@ -243,7 +246,7 @@ for _i in db postgres sqlite dbtext mysql \
ldap utils tls presence lua ims outbound debugger \
extras json websocket authephemeral \
uuid ev memcached redis geoip2 jansson sqlang sipdump \
jsdt http_async kazoo rabbitmq sctp radius perl python; do
jsdt http_async kazoo rabbitmq sctp radius perl python ruby; do
subpackages="$subpackages $pkgname-$_i"
eval "_modules=\"\$_modules \$_mod_list_$_i\""
@ -532,6 +535,11 @@ python() {
"$_mod_list_python"
}
ruby() {
_generic_pkg "Ruby extensions for Kamailio" \
"$_mod_list_ruby"
}
sqlang() {
_generic_pkg "Squirrel Language (SQLang) for Kamailio" \
"$_mod_list_sqlang"

@ -1,29 +0,0 @@
The following modules are not included in CentOS 6 builds because they have
dependencies that cannot be met by the base or EPEL CentOS YUM repos or are
obsolete.
Obsolete modules
----------------
* iptrtpproxy use the rtpproxy-ng module with mediaproxy-ng instead
* jabber use the xmpp and pua_xmpp modules instead
Modules with unmet dependencies
-------------------------------
Note: If you need any of these modules you will need to find (and possibly
build) and install the dependencies and then do a manual build of
Kamailio.
Ordered by module name:
* app_mono requires mono-devel-??? or higher (EPEL contains
mono-devel 2.4.3.1)
* db_cassandra requires thrift 0.6.1 or 0.7.0
* db_oracle requires instantclient-sdk-10.2.0.3
* ndb_cassandra requires thrift 0.7.0
* osp requires the OSP Toolkit
Ordered by unmet dependency:
* instantclient-sdk-10.2.0.3 db_oracle
* mono-devel-??? or higher app_mono
* OSP Toolkit osp
* thrift 0.6.1 or 0.7.0 db_cassandra
* thrift 0.7.0 ndb_cassandra

@ -1,134 +0,0 @@
#!/bin/bash
#
# Startup script for Kamailio
#
# chkconfig: 345 85 15
# description: Kamailio (OpenSER) - the Open Source SIP Server
#
# processname: kamailio
# pidfile: /var/run/kamailio.pid
# config: /etc/kamailio/kamailio.cfg
#
### BEGIN INIT INFO
# Provides: kamailio
# Required-Start: $local_fs $network
# Short-Description: Kamailio (OpenSER) - the Open Source SIP Server
# Description: Kamailio (former OpenSER) is an Open Source SIP Server released
# under GPL, able to handle thousands of call setups per second.
### END INIT INFO
# Source function library.
. /etc/rc.d/init.d/functions
KAM=/usr/sbin/kamailio
KAMCFG=/etc/kamailio/kamailio.cfg
PROG=kamailio
PID_FILE=/var/run/kamailio.pid
LOCK_FILE=/var/lock/subsys/kamailio
RETVAL=0
DEFAULTS=/etc/sysconfig/kamailio
RUN_KAMAILIO=no
# Do not start kamailio if fork=no is set in the config file
# otherwise the boot process will just stop
check_fork ()
{
if grep -q "^[[:space:]]*fork[[:space:]]*=[[:space:]]*no.*" $KAMCFG; then
echo "Not starting $DESC: fork=no specified in config file; run /etc/init.d/kamailio debug instead"
exit 1
fi
}
check_kamailio_config ()
{
# Check if kamailio configuration is valid before starting the server
out=$($KAM -c 2>&1 > /dev/null)
retcode=$?
if [ "$retcode" != '0' ]; then
echo "Not starting $DESC: invalid configuration file!"
echo -e "\n$out\n"
exit 1
fi
}
start() {
check_kamailio_config
if [ "$1" != "debug" ]; then
check_fork
fi
echo -n $"Starting $PROG: "
daemon $KAM $OPTIONS >/dev/null 2>/dev/null
RETVAL=$?
[ $RETVAL = 0 ] && touch $LOCK_FILE && success
echo
return $RETVAL
}
stop() {
echo -n $"Stopping $PROG: "
killproc $KAM
RETVAL=$?
echo
[ $RETVAL = 0 ] && rm -f $LOCK_FILE $PID_FILE
}
# Load startup options if available
if [ -f $DEFAULTS ]; then
. $DEFAULTS || true
fi
if [ "$RUN_KAMAILIO" != "yes" ]; then
echo "Kamailio not yet configured. Edit /etc/default/kamailio first."
exit 0
fi
SHM_MEMORY=$((`echo $SHM_MEMORY | sed -e 's/[^0-9]//g'`))
PKG_MEMORY=$((`echo $PKG_MEMORY | sed -e 's/[^0-9]//g'`))
[ -z "$USER" ] && USER=kamailio
[ -z "$GROUP" ] && GROUP=kamailio
[ $SHM_MEMORY -le 0 ] && SHM_MEMORY=32
[ $PKG_MEMORY -le 0 ] && PKG_MEMORY=4
if test "$DUMP_CORE" = "yes" ; then
# set proper ulimit
ulimit -c unlimited
# directory for the core dump files
COREDIR=/tmp
echo "$COREDIR/core.%e.sig%s.%p" > /proc/sys/kernel/core_pattern
fi
OPTIONS="-P $PID_FILE -m $SHM_MEMORY -M $PKG_MEMORY -u $USER -g $GROUP $EXTRA_OPTIONS"
# See how we were called.
case "$1" in
start|debug)
start
;;
stop)
stop
;;
status)
status $KAM
RETVAL=$?
;;
restart)
stop
start
;;
condrestart)
if [ -f $PID_FILE ] ; then
stop
start
fi
;;
*)
echo $"Usage: $PROG {start|stop|restart|condrestart|status|debug|help}"
exit 1
esac
exit $RETVAL

File diff suppressed because it is too large Load Diff

@ -1,30 +0,0 @@
#
# Kamailio startup options
#
# Set to yes to enable kamailio, once configured properly.
RUN_KAMAILIO=yes
# User to run as
USER=kamailio
# Group to run as
GROUP=kamailio
# Amount of shared memory to allocate for the running Kamailio server (in Mb)
SHM_MEMORY=64
# Amount of per-process (package) memory to allocate for Kamailio (in Mb)
PKG_MEMORY=4
# Enable the server to leave a core file when it crashes.
# Set this to 'yes' to enable kamailio to leave a core file when it crashes
# or 'no' to disable this feature. This option is case sensitive and only
# accepts 'yes' and 'no' and only in lowercase letters.
# On some systems (e.g. Ubuntu 6.10, Debian 4.0) it is necessary to specify
# a directory for the core files to get a dump. Look into the kamailio
# init file for an example configuration.
DUMP_CORE=no
# Add extra command line parameters in the EXTRA_OPTIONS variable
# EXTRA_OPTIONS="-a no"

@ -1,16 +0,0 @@
The following modules are not included in CentOS 7 builds because they have
dependencies that cannot be met by the base or EPEL CentOS YUM repos or are
obsolete.
Obsolete modules
----------------
* dialog_ng use the ims_dialog module instead
Modules with unmet dependencies
-------------------------------
Note: If you need any of these modules you will need to find (and possibly
build) and install the dependencies and then do a manual build of
Kamailio.
Ordered by module name:
* app_java requires libgcj

@ -1,141 +0,0 @@
#!/bin/bash
#
# Startup script for Kamailio
#
# chkconfig: 345 85 15
# description: Kamailio (OpenSER) - the Open Source SIP Server
#
# processname: kamailio
# pidfile: /var/run/kamailio/kamailio.pid
# config: /etc/kamailio/kamailio.cfg
#
### BEGIN INIT INFO
# Provides: kamailio
# Required-Start: $local_fs $network
# Short-Description: Kamailio (OpenSER) - the Open Source SIP Server
# Description: Kamailio (former OpenSER) is an Open Source SIP Server released
# under GPL, able to handle thousands of call setups per second.
### END INIT INFO
# Source function library.
. /etc/rc.d/init.d/functions
KAM=/usr/sbin/kamailio
KAMCFG=/etc/kamailio/kamailio.cfg
PROG=kamailio
HOMEDIR=/var/run/$PROG
PID_FILE=/var/run/$PROG/kamailio.pid
LOCK_FILE=/var/lock/subsys/kamailio
RETVAL=0
DEFAULTS=/etc/sysconfig/kamailio
RUN_KAMAILIO=no
# Do not start kamailio if fork=no is set in the config file
# otherwise the boot process will just stop
check_fork ()
{
if grep -q "^[[:space:]]*fork[[:space:]]*=[[:space:]]*no.*" $KAMCFG; then
echo "Not starting $DESC: fork=no specified in config file; run /etc/init.d/kamailio debug instead"
exit 1
fi
}
check_kamailio_config ()
{
# Check if kamailio configuration is valid before starting the server
out=$($KAM -c 2>&1 > /dev/null)
retcode=$?
if [ "$retcode" != '0' ]; then
echo "Not starting $DESC: invalid configuration file!"
echo -e "\n$out\n"
exit 1
fi
}
start() {
check_kamailio_config
if [ "$1" != "debug" ]; then
check_fork
fi
echo -n $"Starting $PROG: "
daemon $KAM $OPTIONS >/dev/null 2>/dev/null
RETVAL=$?
[ $RETVAL = 0 ] && touch $LOCK_FILE && success
echo
return $RETVAL
}
stop() {
echo -n $"Stopping $PROG: "
killproc -p $PID_FILE $KAM
RETVAL=$?
echo
[ $RETVAL = 0 ] && rm -f $LOCK_FILE $PID_FILE
}
# Load startup options if available
if [ -f $DEFAULTS ]; then
. $DEFAULTS || true
fi
if [ "$RUN_KAMAILIO" != "yes" ]; then
echo "Kamailio not yet configured. Edit /etc/default/kamailio first."
exit 0
fi
SHM_MEMORY=$((`echo $SHM_MEMORY | sed -e 's/[^0-9]//g'`))
PKG_MEMORY=$((`echo $PKG_MEMORY | sed -e 's/[^0-9]//g'`))
[ -z "$USER" ] && USER=kamailio
[ -z "$GROUP" ] && GROUP=kamailio
[ $SHM_MEMORY -le 0 ] && SHM_MEMORY=32
[ $PKG_MEMORY -le 0 ] && PKG_MEMORY=4
if test "$DUMP_CORE" = "yes" ; then
# set proper ulimit
ulimit -c unlimited
# directory for the core dump files
COREDIR=/tmp
echo "$COREDIR/core.%e.sig%s.%p" > /proc/sys/kernel/core_pattern
fi
# /var/run can be a tmpfs
if [ ! -d $HOMEDIR ]; then
mkdir -p $HOMEDIR
chown ${USER}:${GROUP} $HOMEDIR
fi
OPTIONS="-P $PID_FILE -m $SHM_MEMORY -M $PKG_MEMORY -u $USER -g $GROUP $EXTRA_OPTIONS"
# See how we were called.
case "$1" in
start|debug)
start
;;
stop)
stop
;;
status)
status $KAM
RETVAL=$?
;;
restart)
stop
start
;;
condrestart)
if [ -f $PID_FILE ] ; then
stop
start
fi
;;
*)
echo $"Usage: $PROG {start|stop|restart|condrestart|status|debug|help}"
exit 1
esac
exit $RETVAL

@ -1,27 +0,0 @@
[Unit]
Description=Kamailio (OpenSER) - the Open Source SIP Server
Documentation=man:kamailio(8) https://www.kamailio.org/
Wants=network-online.target
After=network-online.target
[Service]
Type=forking
WorkingDirectory=/run/kamailio
Environment='CFGFILE=/etc/kamailio/kamailio.cfg'
Environment='SHM_MEMORY=64'
Environment='PKG_MEMORY=8'
EnvironmentFile=/etc/sysconfig/kamailio
# PIDFile requires a full absolute path
PIDFile=/run/kamailio/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY
ExecStopPost=/usr/bin/rm -f /run/kamailio/kamailio.pid
Restart=on-failure
User=kamailio
Group=daemon
; For each TCP or TLS endpoint connection is requred file descriptor
LimitNOFILE=99999
[Install]
WantedBy=multi-user.target

File diff suppressed because it is too large Load Diff

@ -1,30 +0,0 @@
#
# Kamailio startup options
#
# Set to yes to enable kamailio, once configured properly.
RUN_KAMAILIO=yes
# User to run as
USER=kamailio
# Group to run as
GROUP=kamailio
# Amount of shared memory to allocate for the running Kamailio server (in Mb)
SHM_MEMORY=64
# Amount of per-process (package) memory to allocate for Kamailio (in Mb)
PKG_MEMORY=4
# Enable the server to leave a core file when it crashes.
# Set this to 'yes' to enable kamailio to leave a core file when it crashes
# or 'no' to disable this feature. This option is case sensitive and only
# accepts 'yes' and 'no' and only in lowercase letters.
# On some systems (e.g. Ubuntu 6.10, Debian 4.0) it is necessary to specify
# a directory for the core files to get a dump. Look into the kamailio
# init file for an example configuration.
DUMP_CORE=no
# Add extra command line parameters in the EXTRA_OPTIONS variable
# EXTRA_OPTIONS="-a no"

@ -1 +0,0 @@
D /run/kamailio 0700 kamailio daemon -

@ -0,0 +1,511 @@
kamailio (5.2.3) unstable; urgency=medium
* version set 5.2.3
-- Victor Seva <vseva@debian.org> Wed, 22 May 2019 10:55:40 +0100
kamailio (5.2.2) unstable; urgency=medium
* version set 5.2.2
-- Victor Seva <vseva@debian.org> Mon, 11 Mar 2019 11:25:15 +0100
kamailio (5.2.1) unstable; urgency=medium
* version set 5.2.1
-- Victor Seva <vseva@debian.org> Wed, 16 Jan 2019 10:08:06 +0100
kamailio (5.2.0) unstable; urgency=medium
* version set 5.2.0
-- Victor Seva <vseva@debian.org> Wed, 28 Nov 2018 08:37:20 +0100
kamailio (5.2.0~rc2) unstable; urgency=medium
* version set 5.2.0~rc2
-- Victor Seva <vseva@debian.org> Fri, 23 Nov 2018 09:24:21 +0100
kamailio (5.2.0~rc1) unstable; urgency=medium
* version set 5.2.0~rc1
-- Victor Seva <vseva@debian.org> Mon, 19 Nov 2018 12:38:38 +0100
kamailio (5.2.0~rc0) unstable; urgency=medium
* version set 5.2.0~rc0
-- Victor Seva <vseva@debian.org> Tue, 06 Nov 2018 10:35:06 +0100
kamailio (5.2.0~pre2) unstable; urgency=medium
* version set 5.2.0~pre2
-- Victor Seva <vseva@debian.org> Fri, 02 Nov 2018 15:25:09 +0100
kamailio (5.2.0~pre1) unstable; urgency=medium
* version set 5.2.0~pre1
-- Victor Seva <vseva@debian.org> Fri, 19 Oct 2018 10:35:40 +0200
kamailio (5.2.0~pre0) unstable; urgency=medium
* version set 5.2.0~pre0
-- Victor Seva <vseva@debian.org> Mon, 08 Oct 2018 09:11:35 +0200
kamailio (5.2.0~dev8) unstable; urgency=medium
* version set 5.2.0-dev8
-- Victor Seva <vseva@debian.org> Tue, 02 Oct 2018 16:12:52 +0200
kamailio (5.2.0~dev7) unstable; urgency=medium
* version set 5.2.0-dev7
-- Victor Seva <vseva@debian.org> Mon, 17 Sep 2018 12:12:40 +0200
kamailio (5.2.0~dev6) unstable; urgency=medium
* version set 5.2.0-dev6
-- Victor Seva <vseva@debian.org> Wed, 30 May 2018 18:18:49 +0200
kamailio (5.2.0~dev5) unstable; urgency=medium
* version set 5.2.0-dev5
-- Victor Seva <vseva@debian.org> Thu, 26 Apr 2018 14:05:28 +0200
kamailio (5.2.0~dev4) unstable; urgency=medium
* version set 5.2.0-dev4
-- Victor Seva <vseva@debian.org> Mon, 19 Feb 2018 10:16:07 +0100
kamailio (5.2.0~dev3) unstable; urgency=medium
* version set to 5.2.0-dev3
-- Victor Seva <vseva@debian.org> Thu, 25 Jan 2018 10:34:25 +0100
kamailio (5.2.0~dev2) unstable; urgency=medium
* version set to 5.2.0-dev2
-- Victor Seva <vseva@debian.org> Thu, 14 Dec 2017 13:07:23 +0100
kamailio (5.2.0~dev1) unstable; urgency=medium
* version set to 5.2.0-dev1
-- Victor Seva <vseva@debian.org> Tue, 21 Nov 2017 12:28:02 +0100
kamailio (5.2.0~dev0) unstable; urgency=medium
* version set to 5.2.0-dev0
-- Victor Seva <vseva@debian.org> Sun, 12 Nov 2017 20:17:38 +0100
kamailio (5.1.0~pre1) unstable; urgency=medium
* version set to 5.1.0-pre1
-- Victor Seva <vseva@debian.org> Tue, 07 Nov 2017 16:20:33 +0100
kamailio (5.1.0~pre0) unstable; urgency=medium
* version set to 5.1.0-pre0
-- Victor Seva <vseva@debian.org> Fri, 03 Nov 2017 10:09:31 +0100
kamailio (5.1.0~dev8) unstable; urgency=medium
* version set to 5.1.0~dev8
-- Victor Seva <vseva@debian.org> Mon, 16 Oct 2017 12:09:55 +0200
kamailio (5.1.0~dev7) unstable; urgency=medium
* version set to 5.1.0-dev7
-- Victor Seva <vseva@debian.org> Mon, 18 Sep 2017 09:24:11 +0200
kamailio (5.1.0~dev6) unstable; urgency=medium
* version set to 5.1.0-dev6
-- Victor Seva <vseva@debian.org> Mon, 14 Aug 2017 23:28:16 +0200
kamailio (5.1.0~dev5) unstable; urgency=medium
* version set to 5.1.0-dev5
-- Victor Seva <vseva@debian.org> Tue, 18 Jul 2017 16:37:11 +0200
kamailio (5.1.0~dev4) unstable; urgency=medium
* version set to 5.1.0-dev4
-- Victor Seva <vseva@debian.org> Mon, 12 Jun 2017 13:15:18 +0200
kamailio (5.1.0~dev3) unstable; urgency=medium
* version set to 5.1.0-dev3
-- Victor Seva <vseva@debian.org> Thu, 18 May 2017 13:14:33 +0200
kamailio (5.1.0~dev2) unstable; urgency=medium
* version set to 5.1.0-dev2
-- Victor Seva <vseva@debian.org> Tue, 28 Mar 2017 17:00:21 +0200
kamailio (5.1.0~dev1) unstable; urgency=medium
* version set to 5.1.0-dev1
-- Victor Seva <vseva@debian.org> Tue, 14 Feb 2017 14:52:54 +0100
kamailio (5.1.0~dev0) unstable; urgency=medium
* version set to 5.1.0-dev0
-- Victor Seva <vseva@debian.org> Thu, 09 Feb 2017 13:13:25 +0100
kamailio (5.0.0~pre2) unstable; urgency=medium
* version set to 5.0.0-pre2
-- Victor Seva <vseva@debian.org> Thu, 09 Feb 2017 09:53:10 +0100
kamailio (5.0.0~pre1) unstable; urgency=medium
* version set to 5.0.0-pre1
-- Victor Seva <vseva@debian.org> Wed, 01 Feb 2017 16:42:26 +0100
kamailio (5.0.0~pre0) unstable; urgency=medium
* version set to 5.0.0-pre0
-- Victor Seva <vseva@debian.org> Thu, 05 Jan 2017 09:56:27 +0100
kamailio (5.0.0~dev9) unstable; urgency=medium
* version set to 5.0.0-dev9
-- Victor Seva <vseva@debian.org> Thu, 15 Dec 2016 13:03:24 +0100
kamailio (5.0.0~dev8) unstable; urgency=medium
* version set to 5.0.0-dev8
-- Victor Seva <vseva@debian.org> Mon, 12 Dec 2016 08:48:43 +0100
kamailio (5.0.0~dev7) unstable; urgency=medium
* version set to 5.0.0-dev7
-- Victor Seva <vseva@debian.org> Wed, 02 Nov 2016 13:28:49 +0100
kamailio (5.0.0~dev6) unstable; urgency=medium
* version set to 5.0.0-dev6
-- Victor Seva <vseva@debian.org> Mon, 29 Aug 2016 11:36:17 +0200
kamailio (5.0.0~dev5) unstable; urgency=medium
* version set to 5.0.0-dev5
-- Victor Seva <vseva@debian.org> Tue, 07 Jun 2016 18:24:53 +0200
kamailio (5.0.0~dev4) unstable; urgency=medium
* version set to 5.0.0-dev4
-- Victor Seva <vseva@debian.org> Wed, 11 May 2016 14:22:54 +0200
kamailio (5.0.0~dev1) unstable; urgency=medium
* version set to 5.0.0-dev1
-- Victor Seva <vseva@debian.org> Mon, 21 Mar 2016 10:56:21 +0100
kamailio (5.0.0~dev0) unstable; urgency=medium
* version set to 5.0.0-dev0
-- Victor Seva <vseva@debian.org> Fri, 11 Mar 2016 09:16:51 +0100
kamailio (4.4.0~pre2) unstable; urgency=medium
* version set to 4.4.0-pre2
-- Victor Seva <vseva@debian.org> Thu, 10 Mar 2016 12:38:56 +0100
kamailio (4.4.0~pre1) unstable; urgency=medium
* version set to 4.4.0-pre1
-- Victor Seva <linuxmaniac@torreviejawireless.org> Tue, 23 Feb 2016 08:53:36 +0100
kamailio (4.4.0~pre0) unstable; urgency=medium
* version set to 4.4.0-pre0
-- Victor Seva <linuxmaniac@torreviejawireless.org> Thu, 04 Feb 2016 11:51:56 +0100
kamailio (4.4.0~dev9) unstable; urgency=medium
* update version to 4.4.0~dev9
-- Victor Seva <linuxmaniac@torreviejawireless.org> Wed, 03 Feb 2016 18:29:09 +0100
kamailio (4.4.0~dev8) unstable; urgency=medium
* update version to 4.4.0~dev8
-- Victor Seva <linuxmaniac@torreviejawireless.org> Fri, 18 Dec 2015 11:42:59 +0100
kamailio (4.4.0~dev6) unstable; urgency=medium
* update version to 4.4.0~dev6
-- Victor Seva <linuxmaniac@torreviejawireless.org> Thu, 05 Nov 2015 09:16:36 +0100
kamailio (4.4.0~dev5) unstable; urgency=medium
* update version to 4.4.0~dev5
-- Victor Seva <linuxmaniac@torreviejawireless.org> Fri, 02 Oct 2015 14:15:56 +0200
kamailio (4.4.0~dev3) unstable; urgency=medium
* update version to 4.4.0~dev3
-- Victor Seva <linuxmaniac@torreviejawireless.org> Thu, 10 Sep 2015 09:27:22 +0200
kamailio (4.4.0~dev2) unstable; urgency=medium
* update version to 4.4.0~dev2
-- Victor Seva <linuxmaniac@torreviejawireless.org> Tue, 14 Jul 2015 16:21:03 +0200
kamailio (4.4.0~dev0) unstable; urgency=medium
* update version to 4.4.0~dev0
-- Victor Seva <linuxmaniac@torreviejawireless.org> Tue, 26 May 2015 10:18:42 +0200
kamailio (4.3.0~pre2) unstable; urgency=medium
* update version to 4.3.0~pre2
-- Victor Seva <linuxmaniac@torreviejawireless.org> Mon, 18 May 2015 11:18:45 +0200
kamailio (4.3.0~pre1) unstable; urgency=medium
* update version to 4.3.0~pre1
-- Victor Seva <linuxmaniac@torreviejawireless.org> Tue, 05 May 2015 10:52:12 +0200
kamailio (4.3.0~pre0) unstable; urgency=medium
* update version to 4.3.0~pre0
-- Victor Seva <linuxmaniac@torreviejawireless.org> Thu, 23 Apr 2015 09:58:06 +0200
kamailio (4.3.0~dev5) unstable; urgency=medium
* update version to 4.3.0~dev5
-- Victor Seva <linuxmaniac@torreviejawireless.org> Thu, 12 Mar 2015 15:20:01 +0100
kamailio (4.3.0~dev4) unstable; urgency=medium
* update version to 4.3.0~dev4
-- Victor Seva <linuxmaniac@torreviejawireless.org> Sat, 07 Feb 2015 09:53:08 +0100
kamailio (4.3.0~dev3) unstable; urgency=medium
* update version to 4.3.0~dev3
-- Victor Seva <linuxmaniac@torreviejawireless.org> Sat, 03 Jan 2015 23:21:53 +0100
kamailio (4.3.0~dev1) unstable; urgency=medium
* update version to 4.3.0~dev1
-- Victor Seva <linuxmaniac@torreviejawireless.org> Mon, 13 Oct 2014 14:33:16 +0200
kamailio (4.3.0~dev0) unstable; urgency=medium
* update version to 4.3.0~dev0
-- Victor Seva <linuxmaniac@torreviejawireless.org> Thu, 09 Oct 2014 09:49:13 +0200
kamailio (4.2.0~pre1) UNRELEASED; urgency=medium
* update version to 4.2.0~pre1
-- Victor Seva <linuxmaniac@torreviejawireless.org> Mon, 29 Sep 2014 10:17:56 +0200
kamailio (4.2.0~pre0) UNRELEASED; urgency=medium
* update version to 4.2.0~pre0
-- Victor Seva <linuxmaniac@torreviejawireless.org> Fri, 12 Sep 2014 02:38:24 +0200
kamailio (4.2.0~dev9) unstable; urgency=medium
* update version to 4.2.0~dev9
-- Victor Seva <linuxmaniac@torreviejawireless.org> Tue, 02 Sep 2014 11:18:12 +0200
kamailio (4.2.0~dev8) unstable; urgency=medium
* update version to 4.2.0~dev8
-- Victor Seva <linuxmaniac@torreviejawireless.org> Sat, 26 Jul 2014 10:03:22 +0200
kamailio (4.2.0~dev7) unstable; urgency=medium
* update version to 4.2.0~dev7
-- Victor Seva <linuxmaniac@torreviejawireless.org> Thu, 12 Jun 2014 12:55:05 +0200
kamailio (4.2.0~dev6) unstable; urgency=medium
* update version to 4.2.0~dev6
-- Victor Seva <linuxmaniac@torreviejawireless.org> Sat, 03 May 2014 21:49:21 +0200
kamailio (4.2.0~dev5) unstable; urgency=medium
* update version to 4.2.0~dev5
-- Victor Seva <linuxmaniac@torreviejawireless.org> Mon, 21 Apr 2014 22:52:17 +0200
kamailio (4.2.0~dev4) unstable; urgency=medium
* update version to 4.2.0~dev4
-- Victor Seva <linuxmaniac@torreviejawireless.org> Tue, 08 Apr 2014 11:56:12 +0200
kamailio (4.2.0~dev3) unstable; urgency=medium
* update version to 4.2.0~dev3
-- Victor Seva <linuxmaniac@torreviejawireless.org> Fri, 21 Feb 2014 22:52:43 +0100
kamailio (4.2.0~dev2) unstable; urgency=medium
* update version to 4.2.0~dev2
-- Victor Seva <linuxmaniac@torreviejawireless.org> Mon, 03 Feb 2014 11:12:36 +0100
kamailio (4.2.0~dev1) unstable; urgency=medium
* update version to 4.2.0~dev1
-- Victor Seva <linuxmaniac@torreviejawireless.org> Wed, 08 Jan 2014 19:13:30 +0100
kamailio (4.2.0~dev0) unstable; urgency=low
* Added packages:
- kamailio-autheph-modules
- kamailio-sctp-modules
- kamailio-java-modules
-- Victor Seva <linuxmaniac@torreviejawireless.org> Tue, 03 Dec 2013 14:26:58 +0100
kamailio (4.0.0) unstable; urgency=low
* update to 4.0.0 from upstream
-- Daniel-Constantin Mierla <miconda@gmail.com> Mon, 11 Mar 2013 10:40:30 +0100
kamailio (3.4.0~dev0) unstable; urgency=low
* update version to 3.4.0~dev0
-- Jon Bonilla <manwe@aholab.ehu.es> Wed, 15 Jun 2012 03:15:00 +0100
kamailio (3.2.0) unstable; urgency=low
* update to 3.2.0 from upstream
-- Daniel-Constantin Mierla <miconda@gmail.com> Fri, 29 Apr 2011 12:25:30 +0100
kamailio (3.1.1) unstable; urgency=low
* update to 3.1.1 from upstream
-- Jon Bonilla <manwe@aholab.ehu.es> Fri, 3 Dec 2010 16:30:00 +0100
kamailio (3.1.0) unstable; urgency=low
* update to 3.1.0 from upstream
-- Jon Bonilla <manwe@aholab.ehu.es> Wed, 6 Oct 2010 17:24:00 +0100
kamailio (3.0.2.99) unstable; urgency=low
* update to 3.0.2.99 for development version builds
-- Jon Bonilla <manwe@aholab.ehu.es> Fri, 28 May 2010 22:26:00 +0100
kamailio (3.0.2) unstable; urgency=low
* update to 3.0.2 from upstream
-- Daniel-Constantin Mierla <miconda@gmail.com> Thu, 27 May 2010 10:27:36 +0100
kamailio (3.0.1) unstable; urgency=low
* update to 3.0.1 from upstream
-- Daniel-Constantin Mierla <miconda@gmail.com> Mon, 08 Mar 2010 20:30:48 +0100
kamailio (3.0.0) unstable; urgency=low
* update to 3.0.0 from upstream
-- Daniel-Constantin Mierla <miconda@gmail.com> Mon, 11 Jan 2010 18:30:42 +0100
kamailio (3.0.0-rc3) unstable; urgency=low
* update to 3.0.0-rc3 from upstream
* updated debian/rules to work with the SIP Router style module packaging
-- Daniel-Constantin Mierla <miconda@gmail.com> Fri, 10 Dec 2009 12:10:02 +0100
kamailio (3.0.0-rc2) unstable; urgency=low
* update to 3.0.0-rc2 from upstream
* updated debian/rules to work with the new style module packaging
-- Jonas Bergler <jonas.bergler@staff.snap.net.nz> Wed, 18 Nov 2009 12:30:02 +1300
kamailio (1.5.0-svn1) unstable; urgency=low
* increment debian packaging for trunk
-- Henning Westerholt <henning.westerholt@1und1.de> Mon, 02 Mar 2009 17:40:02 +0100
kamailio (1.4.0-svn1) unstable; urgency=low
[ Klaus Darilion ]
* first release of Kamailio (after renaming from Openser)
-- Julien BLACHE <jblache@debian.org> Wed, 12 Dec 2007 17:25:31 +0100

@ -0,0 +1,848 @@
Source: kamailio
Section: net
Priority: optional
Maintainer: Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>
Uploaders:
Victor Seva <vseva@debian.org>,
Tzafrir Cohen <tzafrir@debian.org>,
Build-Depends:
bison,
debhelper (>= 9),
default-libmysqlclient-dev,
dh-systemd (>= 1.5),
docbook-xml,
dpkg-dev (>= 1.16.1.1),
erlang-dev,
flex,
libcurl4-openssl-dev,
libdb-dev (>= 4.6.19),
libev-dev,
libevent-dev,
libexpat1-dev,
libgeoip-dev (>= 1.4.5),
libhiredis-dev (>= 0.10.0),
libjansson-dev,
libjson-c-dev,
libldap2-dev,
liblua5.1-0-dev,
libmaxminddb-dev,
libmemcached-dev,
libmnl-dev,
libmongoc-dev,
libmono-2.0-dev,
libncurses5-dev,
libpcre3-dev,
libperl-dev,
libphonenumber-dev (>= 7),
libpq-dev,
librabbitmq-dev,
libradcli-dev,
libreadline-dev,
libsasl2-dev,
libsctp-dev,
libsnmp-dev,
libsqlite3-dev,
libssl-dev,
libsystemd-dev,
libunistring-dev,
libxml2-dev,
openssl,
pkg-config,
python,
python-dev,
python3,
python3-dev,
ruby-dev,
unixodbc-dev,
uuid-dev,
xsltproc,
zlib1g-dev,
Standards-Version: 3.9.5
Homepage: http://www.kamailio.org/
Vcs-git: git://anonscm.debian.org/pkg-voip/kamailio.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-voip/kamailio.git
Package: kamailio
Architecture: linux-any
Multi-Arch: foreign
Pre-Depends:
${misc:Pre-Depends},
Depends:
adduser,
lsb-base,
python,
${misc:Depends},
${shlibs:Depends},
Replaces:
kamailio-carrierroute-modules,
Suggests:
kamailio-berkeley-modules,
kamailio-cpl-modules,
kamailio-dbg,
kamailio-ldap-modules,
kamailio-lua-modules,
kamailio-mysql-modules,
kamailio-perl-modules,
kamailio-postgres-modules,
kamailio-presence-modules,
kamailio-python-modules,
kamailio-radius-modules,
kamailio-snmpstats-modules,
kamailio-tls-modules,
kamailio-unixodbc-modules,
kamailio-xml-modules,
kamailio-xmpp-modules,
Description: very fast, dynamic and configurable SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, kamailio can handle thousands requests
per second even on low-budget hardware. It can be configured to act
as a SIP proxy, application server, session border controller,
or call load balancer to handle a set of media servers.
.
A C Shell like scripting language provides full control over the server's
behaviour. It's easy to integrate Kamailio with 3rd party API's and applications
using HTTP, AMQP, database drivers, LDAP, Radius and many other solutions.
In addition there is support for scripting using Lua, Python, Perl, Java and
a set of other languages using Mono.
.
Kamailio's modular architecture allows only required functionality to be loaded.
There are over 100 modules available: WebSockets for WebRTC, authentication,
multiple databases - both traditional SQL databases as well as no-SQL,
message bus systems like Rabbit MQ, instant messaging, a presence agent,
integration with REST-ful APIs using HTTP and JSON or XML,
radius authentication, record routing, an SMS gateway, a XMPP/jabber gateway, a
transaction and dialog module, OSP module, statistics support,
registrar and user location services, SNMP, SIMPLE Presence and much more.
.
This package contains the main Kamailio binary along with the principal modules
and support binaries.
Package: kamailio-dbg
Priority: extra
Section: debug
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
Description: very fast and configurable SIP server [debug symbols]
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package contains the debugging symbols for the Kamailio binaries and
modules. You only need to install it if you need to debug Kamailio.
Package: kamailio-geoip-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: The geoip module for the Kamailio SIP Server
Kamailio is a very fast and flexible SIP (RFC3261)
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 enabling
usage of the GeoIP API within the Kamailio configuration file.
Package: kamailio-geoip2-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: The geoip2 module for the Kamailio SIP Server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the geoip2 module, an extension enabling
real-time queries against the Max Mind GeoIP2 database within the Kamailio
configuration file.
Package: kamailio-sqlite-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Recommends:
sqlite3,
Description: SQLite database connectivity module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the SQLite database driver for Kamailio.
Package: kamailio-json-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: Json parser and Json-RPC modules for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides a JSON parser for use in the Kamailio
configuration file and the JSON-RPC client over netstrings.
Package: kamailio-memcached-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Replaces:
kamailio-memcached-module,
Description: interface to the memcached server, for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the memcached module, an interface to the memcached
server, a high-performance, distributed memory object caching system.
Package: kamailio-lua-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: The app_lua module for Kamailio Lua support
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the app_lua module, an extension allowing to
execute embedded Lua applications within the configuration file as
well as writing the entire configuration file in Lua.
Package: kamailio-mono-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: The app_mono module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the app_mono module, an extension allowing to
execute embedded Mono applications within the Kamailio SIP routing script.
Package: kamailio-python-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
python-dev,
${misc:Depends},
${shlibs:Depends},
Description: The app_python module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the app_python module, an extension allowing to
execute embedded Python applications within the Kamailio SIP routing script.
Package: kamailio-python3-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
python3-dev,
${misc:Depends},
${shlibs:Depends},
Description: The app_python3 module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the app_python3 module, an extension allowing to
execute embedded Python applications within the Kamailio SIP routing script.
Package: kamailio-ruby-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: The app_ruby module for Kamailio Ruby support
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the app_ruby module, an extension allowing to
execute embedded Ruby applications within the Kamailio SIP routing script.
Package: kamailio-redis-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: Redis database connectivity module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the Redis NOSQL database driver for Kamailio.
Package: kamailio-mysql-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
default-mysql-client | virtual-mysql-client,
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: MySQL database connectivity module for Kamailio
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the MySQL database driver for Kamailio.
Package: kamailio-postgres-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
postgresql-client,
${misc:Depends},
${shlibs:Depends},
Description: PostgreSQL database connectivity module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the PostgreSQL database driver for Kamailio.
Package: kamailio-cpl-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: CPL module (CPL interpreter engine) for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides a CPL (Call Processing Language) interpreter for
Kamailio, turning Kamailio into a CPL server (storage and interpreter).
Package: kamailio-radius-modules
Architecture: linux-any
Multi-Arch: same
Breaks:
kamailio (<<5.1),
Replaces:
kamailio (<<5.1),
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: RADIUS modules for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides a set of RADIUS modules for Kamailio, for
authentication, peering, group membership and messages URIs checking against a
RADIUS server.
Package: kamailio-unixodbc-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: unixODBC database connectivity module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the unixODBC database driver for Kamailio.
Package: kamailio-presence-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: SIP presence modules for Kamailio
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides several Kamailio modules for implementing a presence
server and presence user agent for rich presence, registrar-based presence,
external triggered presence with SIMPLE and XCAP support, as well as a
set of other SIP event packages..
Package: kamailio-perl-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: Perl extensions and database driver for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides an interface for Kamailio to write Perl extensions and
the perlvdb database driver for Kamailio.
Package: kamailio-snmpstats-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
snmpd,
${misc:Depends},
${shlibs:Depends},
Description: SNMP AgentX subagent module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the snmpstats module for Kamailio. This module acts
as an AgentX subagent which connects to a master agent. The Kamailio MIBS are
included.
Package: kamailio-xmpp-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: XMPP gateway module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the SIP to XMPP IM translator module for Kamailio.
Package: kamailio-xml-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Replaces:
kamailio-xml-module,
kamailio-xmlrpc-module,
Provides:
kamailio-xmlrpc-modules,
Description: XML based extensions for Kamailio's Management Interface
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides:
- the XMLRPC transport implementations for Kamailio's
Management and Control Interface.
- xmlops module for XPath operations in configuration file
Package: kamailio-berkeley-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
db-util (>= 4.6.19),
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: Berkeley database module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the Berkeley database module for Kamailio, a
high-performance embedded database. All database tables are stored
in files, no additional server is necessary.
Package: kamailio-berkeley-bin
Architecture: linux-any
Multi-Arch: foreign
Pre-Depends:
${misc:Pre-Depends},
Depends:
${misc:Depends},
${shlibs:Depends},
Description: Berkeley database module for Kamailio - helper program
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides helper modules for the Berkeley database module for
Kamailio, a high-performance embedded DB kernel. You should normally
install kamailio-berkeley-modules and not this package directly.
Package: kamailio-ldap-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: LDAP modules for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the ldap and h350 modules for Kamailio, enabling LDAP
queries from the Kamailio routing scripts and storage of SIP account data in an LDAP
directory.
Package: kamailio-ims-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: IMS module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package contains various Diameter interfaces and modules for Kamailio
to run as an IMS core.
Package: kamailio-utils-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: Utility functions for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides a set of utility functions for Kamailio, as well
as modules for restful HTTP API access using the CURL library in the
http_client module.
Package: kamailio-sctp-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: SCTP SIP transport module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the SCTP SIP transport module for Kamailio.
Package: kamailio-tls-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: TLS support for the Kamailio SIP server (authentication, transport)
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides TLS support for encrypted and authenticated
SIP connections as well as generic TLS support for many Kamailio modules.
Package: kamailio-outbound-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: SIP Outbound module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package contains the "outbound" module implementing SIP outbound extension.
Package: kamailio-websocket-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: WebSocket module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package contains the module implementing WebSocket transport layer
for use in SIP over WebSockets, in combination with WebRTC media sessions..
Package: kamailio-autheph-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: authentication using ephemeral credentials for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the ephemeral authentication module for Kamailio,
enabling authentication using a Restful HTTP API.
Package: kamailio-kazoo-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: kazoo modules for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the Kazoo application server integration module for Kamailio.
Package: kamailio-rabbitmq-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: RabbitMQ and AMQP integration modules for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the RabbitMQ module for Kamailio, enabling AMQP
integration into the SIP routing scripts for third party service
support.
Package: kamailio-cnxcc-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: cnxcc modules for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the cnxcc call charging control module for Kamailio.
Package: kamailio-erlang-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: Erlang modules for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This Kamailio module provides interaction with the Erlang node from the Kamailio
SIP routing scripts. The module allows sending, receiving Erlang messages
and RPC calls between each other.
Package: kamailio-systemd-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: systemd logging modules for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides logging to systemd journal directly from the
Kamailio configuration and routing scripts.
Package: kamailio-phonenum-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: phonenum modules for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides real-time queries against the libphonenumber to be
performed directly from the Kamailio configuration and routing scripts.
Package: kamailio-mongodb-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: mongodb modules for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the mongodb database driver and non-db connector for
Kamailio.
Package: kamailio-extra-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: Extra modules for the Kamailio SIP Server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides a set of modules for compression of SIP attachments,
UUID usage, JSON data structure support, HTTP restful API asynchronous
access and a few more functions: gzcompress uuid evapi jansson janssonrpcc http_async_client
Package: kamailio-nth
Architecture: any
Pre-Depends:
${misc:Pre-Depends},
Depends:
binutils,
bison,
bvi,
flex,
gcc,
gdb,
iftop,
less | most,
lsof,
mc,
ngrep,
psmisc,
screen,
sipsak,
tcpdump,
vim,
${misc:Depends},
Description: Kamailio SIP server - package for "nice to have" utilities
This is a metapackage for easy installation various useful tools that may be
handy on server with Kamailio installed.

@ -0,0 +1,335 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Kamailio
Upstream-Contact: sr-dev@lists.kamailio.org
Source: http://www.kamailio.org/pub/kamailio/
Files: *
Copyright:
2001-2003 FhG Fokus
2006-2010 iptelorg GmbH
Various others (see AUTHORS file)
License: GPL-2.0+
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'.
Files: debian/*
Copyright: 2012, 2013, 2014 Victor Seva <linuxmaniac@torreviejawireless.org>
2009, 2010, 2011, Daniel-Constantin Mierla <miconda@gmail.com>
2010, Jon Bonilla <manwe@aholab.ehu.es>
2009, Jonas Bergler <jonas.bergler@staff.snap.net.nz>
2009, Henning Westerholt <henning.westerholt@1und1.de>
2007, Julien BLACHE <jblache@debian.org>
License: GPL-2+
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'.
Files: atomic/* atomic_ops.* basex.* bit_*.c char_msg_val.h compiler_opt.h
core_stats.h counters.* endianness.* futexlock.h hashes.h io_wait.*
kstats_types.h lock_ops.c lock_ops_init.h
lvalue.* mem/ll_malloc.* mem/memdbg.h mem/sf_malloc.* mi/*.h mod_fix.*
modules/tm/rpc_uac.* modules/counters/counters.c modules/tls/sbufq.h
modules/tls/tls_bio.* modules/tls/tls_cfg.* modules/tls/tls_cfg.h
modules/tls/tls_ct_wrq.* modules/tls/tls_ct_q.h modules/tls/tls_domain.*
modules/tls/tls_server.h modules/tls/tls_locking.* modules/tls/tls_rpc.*
modules/tls/tls_server.c modules/malloc_test/malloc_test.c modules/blst/blst.c
parser/case_p_* parser/case_reas.h pvapi.h pv_core.* rand/fastrand.* raw_*
rpc_lookup.* rvalue.* sctp_* ser_time.h shm_init.* sip_msg_clone.* sock_ut.*
sr_compat.* str_hash.h switch.* tcp_ev.h tcp_int_send.h tcp_options.*
tcp_read.h tcp_stats.* timer_proc.* tls_hooks.* tls_hooks_init.h ver.*
Copyright: 2006-2010 iptelorg GmbH
License: ISC
Files: modules/tls/tls_select.* modules/tls/tls_dump_vf.*
Copyright: 2005-2010 iptelorg GmbH
License: GPL-2 + OpenSSL exception
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'.
* Exception: permission to copy, modify, propagate, and distribute a work
* formed by combining OpenSSL toolkit software and the code in this file,
* such as linking with software components and libraries released under
* OpenSSL project license.
Files: modules/websocket/* modules/outbound/* modules/auth_ephemeral/*
Copyright: 2012-2013 Crocodile RCS Ltd
License: GPL-2 + OpenSSL exception
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'.
* Exception: permission to copy, modify, propagate, and distribute a work
* formed by combining OpenSSL toolkit software and the code in this file,
* such as linking with software components and libraries released under
* OpenSSL project license.
Files: daemonize.* fastlock.h lock_ops.h mem/mem.* mem/f_malloc.h
mem/meminfo.h mem/memtest.c mem/shm_mem.c mem/q_malloc.h mem/q_malloc.c
mem/shm_mem.h mem/f_malloc.c modules/tls/tls_rpc.c modules/tls/tls_server.c
modules/tls/tls_domain.c modules/tls/tls_domain.h modules/tls/tls_server.h
modules/tls/tls_rpc.h pt.c pt.h sched_yield.h ut.c ut.h
Copyright: 2001-2003 FhG Fokus
License: ISC
Files: events.* modules/topoh/*
Copyright: 2009 SIP-Router.org
License: ISC
Files: modules/mi_rpc/mi_rpc_mod.c modules/pv/pv_xavp.*
modules/usrloc/ul_rpc.* ppcfg.* xavp.*
Copyright: 2009-2010 Daniel-Constantin Mierla (asipto.com)
License: ISC
Files: obsolete/jabber_k/tree234.*
Copyright: 1999, 2000, 2001, Simon Tatham
License: Expat
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
.
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL SIMON TATHAM BE LIABLE FOR
ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Files: modules/xmpp/xsnprintf.c obsolete/jabber_s/xsnprintf.c obsolete/jabber_k/xsnprintf.c
Copyright: 1995-1998, The Apache Group
License: Apache-1.0
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
.
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
.
3. All advertising materials mentioning features or use of this
software must display the following acknowledgment:
"This product includes software developed by the Apache Group
for use in the Apache HTTP server project (http://www.apache.org/)."
.
4. The names "Apache Server" and "Apache Group" must not be used to
endorse or promote products derived from this software without
prior written permission.
.
5. Redistributions of any form whatsoever must retain the following
acknowledgment:
"This product includes software developed by the Apache Group
for use in the Apache HTTP server project (http://www.apache.org/)."
.
THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY
EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR
ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.
Files: modules/mi_xmlrpc/abyss*
Copyright: 2000, Moez Mahfoudh <mmoez@bigfoot.com>
License: BSD-3-clause
Files: list.h
Copyright: 1991, 1993 The Regents of the University of California
License: BSD-3-clause
Files: modules/tm/t_serial.*
Copyright: 2008 Juha Heinanen
License: BSD-2-clause
Files: parser/sdp/sdp.* parser/sdp/sdp_helpr_funcs.* parser/sdp/sdp_cloner.h
Copyright:
2008-2009 SOMA Networks, INC.
2010 VoIP Embedded, Inc
License: BSD-2-clause
Files: modules/tls/fixed_c_zlib.h
Copyright:1998-2005 The OpenSSL Project
Comment: file copied from OpenSSL 0.9.8, refers to OpenSSL License. Note that
this code will not build by default in the Debian packaging.
License: OpenSSL
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
.
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
.
3. All advertising materials mentioning features or use of this
software must display the following acknowledgment:
"This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
.
4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
endorse or promote products derived from this software without
prior written permission. For written permission, please contact
openssl-core@openssl.org.
.
5. Products derived from this software may not be called "OpenSSL"
nor may "OpenSSL" appear in their names without prior written
permission of the OpenSSL Project.
.
6. Redistributions of any form whatsoever must retain the following
acknowledgment:
"This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/)"
.
THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.
Files: md5.* md5utils.c
Copyright: 1991-2, RSA Data Security, Inc
Comment: Note that md5.c and md5.h have been replaced in the patches
plum_md5*.patch .
.
As for md5utils.c, according to a mail from Upstream (Daniel-Constantin
Mierla): while the initial commit log for it states that it is derived
from mddriver.c of RFC 1321, it seems that it was, in fact, written from
scratch by Jiri Kuthan (a core developer of SER at that time, working for
FhG Fokus Institute). As you can see it's rather trivial and uses a data
type of SER ("str"). I didn't reimplement it as it's too trivial and
looks like there's no other way to implement it.
License: RSA-MD5
License to copy and use this software is granted provided that it
is identified as the "RSA Data Security, Inc. MD5 Message-Digest
Algorithm" in all material mentioning or referencing this software
or this function.
.
License is also granted to make and use derivative works provided
that such works are identified as "derived from the RSA Data
Security, Inc. MD5 Message-Digest Algorithm" in all material
mentioning or referencing the derived work.
.
RSA Data Security, Inc. makes no representations concerning either
the merchantability of this software or the suitability of this
software for any particular purpose. It is provided "as is"
without express or implied warranty of any kind.
.
These notices must be retained in any copies of any part of this
documentation and/or software.
Files: mem/dl_*
Copyright: n/a
License: public-domain
This is a version (aka dlmalloc) of malloc/free/realloc written by
Doug Lea and released to the public domain, as explained at
http://creativecommons.org/licenses/publicdomain. Send questions,
comments, complaints, performance data, etc to dl@cs.oswego.edu
Files: rand/isaac/*
Copyright: n/a
License: public-domain
By Bob Jenkins. My random number generator, ISAAC. Public Domain.
License: ISC
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Files: lib/srutils/srjson.*
Copyright: 2009 Dave Gamble
License: MIT
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
,
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
License: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
4. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
License: BSD-2-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
.
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
.
THIS SOFTWARE IS PROVIDED BY THE FREEBSD PROJECT ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL THE FREEBSD PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

@ -0,0 +1 @@
kamailio-autheph-modules binary: possible-gpl-code-linked-with-openssl

@ -0,0 +1 @@
kamailio-dnssec-modules binary: possible-gpl-code-linked-with-openssl

@ -0,0 +1 @@
kamailio-outbound-modules binary: possible-gpl-code-linked-with-openssl

@ -0,0 +1 @@
kamailio-tls-modules binary: possible-gpl-code-linked-with-openssl

@ -0,0 +1 @@
kamailio-websocket-modules binary: possible-gpl-code-linked-with-openssl

@ -0,0 +1,39 @@
Kamailio for Debian
-------------------
* init script check for fork=no
-------------------------------
The Kamailio init script will not start Kamailio on boot if fork=no is
specified in the config file. The check in the initscript will match
any occurrence of fork=no in the file, even inside C-style comments.
You can disable this check in the init script if you wish; just comment
out the calls to the check_fork function in the script. Your changes to
the init script will be preserved upon upgrade, as the file is tagged
as a conffile.
* Kamailio setup
----------------
To setup Kamailio, you need to:
- configure Kamailio properly to suit your needs
- edit /etc/default/kamailio, adjust the MEMORY parameter and set
RUN_KAMAILIO to "yes"
If you are building an HA cluster using heartbeat or similar, you'll want
to disable the init script by running:
update-rc.d kamailio remove
so that Kamailio will not be launched at system startup. You still need
to set RUN_KAMAILIO to "yes" if you want to use the /etc/init.d/kamailio init
script.
Set the DUMP_CORE parameter in /etc/default/kamailio to "yes" if you want to
get a core dump in case Kamailio crashes. The debug symbols for Kamailio are
provided by the kamailio-dbg package.
-- Victor Seva <linuxmaniac@torreviejawireless.org> Wed, 11 Dec 2013 16:07:11 +0100

@ -0,0 +1,28 @@
#
# Kamailio startup options
#
# Set to yes to enable kamailio, once configured properly.
#RUN_KAMAILIO=yes
# User to run as
#USER=kamailio
# Group to run as
#GROUP=kamailio
# Amount of shared and private memory to allocate
# for the running Kamailio server (in Mb)
#SHM_MEMORY=64
#PKG_MEMORY=8
# Config file
#CFGFILE=/etc/kamailio/kamailio.cfg
# Enable the server to leave a core file when it crashes.
# Set this to 'yes' to enable Kamailio to leave a core file when it crashes
# or 'no' to disable this feature. This option is case sensitive and only
# accepts 'yes' and 'no' and only in lowercase letters.
# On some systems it is necessary to specify a directory for the core files
# to get a dump. Look into the kamailio init file for an example configuration.
#DUMP_CORE=yes

@ -0,0 +1,162 @@
#! /bin/sh
#
### BEGIN INIT INFO
# Provides: kamailio
# Required-Start: $syslog $network $local_fs $remote_fs $time
# Should-Start: $named slapd mysql postgresql snmpd radiusd
# Should-Stop: $named slapd mysql postgresql snmpd radiusd
# Required-Stop: $syslog $network $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start the Kamailio SIP proxy server
# Description: Start the Kamailio SIP proxy server
### END INIT INFO
. /lib/lsb/init-functions
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/kamailio
NAME=`basename "$0"`
DESC="Kamailio SIP Server"
HOMEDIR=/var/run/$NAME
PIDFILE=$HOMEDIR/$NAME.pid
DEFAULTS=/etc/default/$NAME
CFGFILE=/etc/$NAME/kamailio.cfg
RUN_KAMAILIO=no
USER=kamailio
GROUP=kamailio
# Amount of shared and private memory to allocate
# for the running Kamailio server (in Mb)
SHM_MEMORY=64
PKG_MEMORY=8
DUMP_CORE=no
# Do not start kamailio if fork=no is set in the config file
# otherwise the boot process will just stop
check_fork ()
{
if grep -q "^[[:space:]]*fork[[:space:]]*=[[:space:]]*no.*" $CFGFILE; then
log_failure_msg "Not starting $DESC: fork=no specified in config file; run /etc/init.d/kamailio debug instead"
exit 0
fi
}
check_kamailio_config ()
{
# Check if kamailio configuration is valid before starting the server
set +e
out=$($DAEMON -f $CFGFILE -M $PKG_MEMORY -c 2>&1 > /dev/null)
retcode=$?
set -e
if [ "$retcode" != '0' ]; then
log_failure_msg "Not starting $DESC: invalid configuration file!"
log_failure_msg
log_failure_msg "$out"
log_failure_msg
exit 1
fi
}
create_radius_seqfile ()
{
# Create a radius sequence file to be used by the radius client if
# radius accounting is enabled. This is needed to avoid any issue
# with the file not being writable if kamailio first starts as user
# root because DUMP_CORE is enabled and creates this file as user
# root and then later it switches back to user kamailio and cannot
# write to the file. If the file exists before kamailio starts, it
# won't change it's ownership and will be writable for both root
# and kamailio, no matter what options are chosen at install time
RADIUS_SEQ_FILE="$HOMEDIR/kamailio_radius.seq"
if [ -d $HOMEDIR ]; then
chown ${USER}:${GROUP} $HOMEDIR
if [ ! -f $RADIUS_SEQ_FILE ]; then
touch $RADIUS_SEQ_FILE
fi
chown ${USER}:${GROUP} $RADIUS_SEQ_FILE
chmod 660 $RADIUS_SEQ_FILE
fi
}
test -f $DAEMON || exit 0
# Load startup options if available
if [ -f $DEFAULTS ]; then
. $DEFAULTS || true
fi
if [ "$RUN_KAMAILIO" != "yes" ]; then
log_failure_msg "Kamailio not yet configured. Edit /etc/default/$NAME first."
exit 0
fi
set -e
SHM_MEMORY=$((`echo $SHM_MEMORY | sed -e 's/[^0-9]//g'`))
PKG_MEMORY=$((`echo $PKG_MEMORY | sed -e 's/[^0-9]//g'`))
[ -z "$USER" ] && USER=kamailio
[ -z "$GROUP" ] && GROUP=kamailio
[ $SHM_MEMORY -le 0 ] && SHM_MEMORY=64
[ $PKG_MEMORY -le 0 ] && PKG_MEMORY=4
if test "$DUMP_CORE" = "yes" ; then
# set proper ulimit
ulimit -c unlimited
# directory for the core dump files
# COREDIR=/home/corefiles
# [ -d $COREDIR ] || mkdir $COREDIR
# chmod 777 $COREDIR
# echo "$COREDIR/core.%e.sig%s.%p" > /proc/sys/kernel/core_pattern
fi
# /var/run can be a tmpfs
if [ ! -d $HOMEDIR ]; then
mkdir -p $HOMEDIR
chown ${USER}:${GROUP} $HOMEDIR
fi
OPTIONS="-f $CFGFILE -P $PIDFILE -m $SHM_MEMORY -M $PKG_MEMORY -u $USER -g $GROUP"
case "$1" in
start|debug)
check_kamailio_config
create_radius_seqfile
if [ "$1" != "debug" ]; then
check_fork
fi
log_daemon_msg "Starting $DESC: $NAME"
start-stop-daemon --start --quiet --pidfile $PIDFILE \
--exec $DAEMON -- $OPTIONS || log_failure_msg " already running"
log_end_msg 0
;;
stop)
log_daemon_msg "Stopping $DESC: $NAME"
start-stop-daemon --oknodo --stop --quiet --pidfile $PIDFILE \
--exec $DAEMON --retry 5
log_end_msg 0
;;
restart|force-reload)
check_kamailio_config
create_radius_seqfile
$0 stop
$0 start
;;
status)
log_daemon_msg "Status of $DESC: "
status_of_proc -p"$PIDFILE" $NAME $NAME
;;
*)
N=/etc/init.d/$NAME
echo "Usage: $N {start|stop|restart|force-reload|status|debug}" >&2
exit 1
;;
esac
exit 0

@ -0,0 +1,2 @@
kamailio binary: example-interpreter-not-absolute usr/share/doc/kamailio/examples/outbound/edge.cfg #!KAMAILIO
kamailio binary: example-interpreter-not-absolute usr/share/doc/kamailio/examples/outbound/registrar.cfg #!KAMAILIO

@ -0,0 +1,24 @@
#! /bin/sh
set -e
case "$1" in
configure)
adduser --quiet --system --group --disabled-password \
--shell /bin/false --gecos "Kamailio SIP Server" \
--home /var/run/kamailio kamailio || true
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#

@ -0,0 +1,25 @@
[Unit]
Description=Kamailio (OpenSER) - the Open Source SIP Server
Wants=network-online.target
After=network-online.target
[Service]
Type=forking
Environment='CFGFILE=/etc/kamailio/kamailio.cfg'
Environment='SHM_MEMORY=64'
Environment='PKG_MEMORY=8'
Environment='USER=kamailio'
Environment='GROUP=kamailio'
EnvironmentFile=-/etc/default/kamailio
EnvironmentFile=-/etc/default/kamailio.d/*
# PIDFile requires a full absolute path
PIDFile=/var/run/kamailio/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY -u $USER -g $GROUP
Restart=on-failure
# /var/run/kamailio in tmpfs
RuntimeDirectory=kamailio
RuntimeDirectoryMode=0750
[Install]
WantedBy=multi-user.target

@ -0,0 +1,228 @@
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
DEBVERSION:=$(shell head -n 1 debian/changelog \
| sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
UPVERSION:=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p')
FILENAME := kamailio_$(UPVERSION).orig.tar.gz
URL := http://www.kamailio.org/pub/kamailio/$(UPVERSION)/src/kamailio-$(UPVERSION)_src.tar.gz
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export RADCLI=1
# modules not in the "main" kamailio package
EXCLUDED_MODULES= java
# extra modules to skip, because they are not compilable now
# - regardless if they go to the main kamailio package or to some module package,
# they will be excluded from compile and install of all
EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec
# module groups that are packaged in seperate packages
# (with the name kamailio-$(group_name)-modules)
# Note: the order is important (should be in dependency order, the one
# on which other depend first)
PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
ldap xml perl utils lua memcached \
snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
sqlite json mono ruby ims sctp \
tls outbound websocket autheph kazoo cnxcc \
erlang systemd phonenum mongodb rabbitmq python3
# module groups to be packaged onto kamailio-extra-modules
EXTRA_GROUPS=gzcompress uuid ev jansson http_async
# name of libdir in the path for libraries (e.g., lib for 32b, lib64 for 64b)
export LIBDIR ?= lib/$(DEB_HOST_MULTIARCH)
# directories with possible duplicate libraries (that should be deleted
# from current module* packages)
DUP_LIBS_DIRS=$(CURDIR)/debian/kamailio/usr/$(LIBDIR)/kamailio \
$(CURDIR)/debian/kamailio-db-modules/usr/$(LIBDIR)/kamailio
# "function" to get package short name out of a dir/module_name
# it also transforms db_foo into foo
mod_name=$(subst db_,,$(lastword $(subst /, ,$(1))))
define PACKAGE_GRP_BUILD_template
# package all the modules in PACKAGE_GROUPS in separate packages
$(foreach grp,$(PACKAGE_GROUPS),\
$(MAKE) every-module group_include="k$(grp)" quiet=verbose
)
endef
define PACKAGE_GRP_INSTALL_template
$(foreach grp,$(PACKAGE_GROUPS),\
$(MAKE) install-modules-all LIBDIR=$(LIBDIR) group_include="k$(grp)" \
BASEDIR=$(CURDIR)/debian/kamailio-$(grp)-modules \
cfg_prefix=$(CURDIR)/debian/kamailio-$(grp)-modules \
doc-dir=share/doc/kamailio-$(grp)-modules quiet=verbose
# eliminate duplicate libs
-for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(CURDIR)/debian/kamailio-$(grp)-modules/usr/$(LIBDIR)/kamailio" &&\
for r in `find $$d -name 'lib*'|xargs`; do \
echo "removing $(grp) lib `basename $$r` present also in $$d";\
rm -f $(CURDIR)/debian/kamailio-$(grp)-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"` ; \
done ; \
done
find $(CURDIR)/debian/kamailio-$(grp)-modules -depth -empty -type d -exec rmdir {} \;
)
endef
define PACKAGE_EXTRA_BUILD_template
# package all the modules in EXTRA_GROUPS in separate packages
$(foreach grp,$(EXTRA_GROUPS),\
$(MAKE) every-module group_include="k$(grp)" quiet=verbose
)
endef
define PACKAGE_EXTRA_INSTALL_template
$(foreach grp,$(EXTRA_GROUPS),\
$(MAKE) install-modules-all LIBDIR=$(LIBDIR) group_include="k$(grp)" \
BASEDIR=$(CURDIR)/debian/kamailio-extra-modules \
cfg_prefix=$(CURDIR)/debian/kamailio-extra-modules \
doc-dir=share/doc/kamailio-extra-modules quiet=verbose
)
# eliminate duplicate libs
-for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(CURDIR)/debian/kamailio-extra-modules/usr/$(LIBDIR)/kamailio" &&\
for r in `find $$d -name 'lib*'|xargs`; do \
echo "removing extra lib `basename $$r` present also in $$d";\
rm -f $(CURDIR)/debian/kamailio-extra-modules/usr/$(LIBDIR)/kamailio/`basename "$$r"` ; \
done ; \
done
find $(CURDIR)/debian/kamailio-extra-modules -depth -empty -type d -exec rmdir {} \;
endef
# CFLAGS + CPPFLAGS -> CC_EXTRA_OPTS
CC_EXTRA_OPTS := $(shell dpkg-buildflags --get CPPFLAGS)
CC_EXTRA_OPTS += $(shell DEB_CFLAGS_MAINT_STRIP=-O2 dpkg-buildflags --get CFLAGS)
CXXFLAGS := $(shell DEB_CXXFLAGS_MAINT_STRIP=-O2 dpkg-buildflags --get CXXFLAGS)
# LDFLAGS -> LD_EXTRA_OPTS
LD_EXTRA_OPTS := $(shell dpkg-buildflags --get LDFLAGS)
# https://wiki.debian.org/ReproducibleBuilds/
CC_EXTRA_OPTS += -DVERSION_NODATE
configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
$(MAKE) FLAVOUR=kamailio cfg prefix=/usr cfg_prefix=$(CURDIR)/debian/kamailio \
cfg_target=/etc/kamailio/ \
BASEDIR=$(CURDIR)/debian/kamailio \
skip_modules="$(EXCLUDED_MODULES) $(EXTRA_EXCLUDED_MODULES)" \
CC_EXTRA_OPTS="$(CC_EXTRA_OPTS)" \
LD_EXTRA_OPTS="$(LD_EXTRA_OPTS)" \
group_include="kstandard" quiet=verbose
touch configure-stamp
build: build-stamp
build-arch: build-stamp
build-indep: build-stamp
build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
$(MAKE) all quiet=verbose
# make groups
$(call PACKAGE_GRP_BUILD_template)
$(call PACKAGE_EXTRA_BUILD_template)
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
$(MAKE) maintainer-clean
dh_clean
install: build
dh_testdir
dh_testroot
dh_prep
dh_installdirs
# Add here commands to install the package into debian/kamailio
$(MAKE) install group_include="kstandard"
# make group packages
$(call PACKAGE_GRP_INSTALL_template)
$(call PACKAGE_EXTRA_INSTALL_template)
mv $(CURDIR)/debian/kamailio-berkeley-modules/usr/sbin/kambdb_recover \
$(CURDIR)/debian/kamailio-berkeley-bin/usr/sbin/kambdb_recover
# install /etc/default/kamailio file
mkdir -p $(CURDIR)/debian/kamailio/etc/default
cp -f debian/kamailio.default $(CURDIR)/debian/kamailio/etc/default/kamailio
# delete /var/run/kamailio dir
rm -rf $(CURDIR)/debian/kamailio/usr/local
# This single target is used to build all the packages, all at once, or
# one at a time. So keep in mind: any options passed to commands here will
# affect _all_ packages. Anything you want to only affect one package
# should be put in another target, such as the install target.
binary-common:
dh_testdir
dh_testroot
dh_installdebconf
dh_installdocs
dh_installexamples -Xobsoleted -Xsr
dh_installmenu
dh_systemd_enable -pkamailio
dh_installinit -pkamailio -- defaults 23
dh_systemd_start -pkamailio
dh_installcron
dh_installman
dh_installinfo
dh_lintian
dh_installchangelogs ChangeLog
dh_link
dh_strip --dbg-package=kamailio-dbg
dh_compress
dh_fixperms
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
# Build architecture-independent packages using the common target
binary-indep: build install
# (Uncomment this next line if you have such packages.)
# $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
# We have nothing to do by default.
# Build architecture-dependent packages using the common target
binary-arch: build install
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
# Any other binary targets build just one binary package at a time.
binary-%: build install
$(MAKE) -f debian/rules binary-common DH_OPTIONS=-p$*
print-version:
@@echo "Debian version: $(DEBVERSION)"
@@echo "Upstream version: $(UPVERSION)"
get-orig-source:
@@dh_testdir
@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
@@echo Downloading $(FILENAME) from $(URL) ...
@@wget -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure

@ -0,0 +1 @@
kamailio source: debian-watch-file-in-native-package

@ -0,0 +1,3 @@
version=3
opts=dversionmangle=s/\~svn([\d]+)//; \
http://www.kamailio.org/pub/kamailio/([\d.]+)/src/kamailio-([\d.]+)_src\.tar\.gz

@ -1,80 +1,116 @@
kamailio (5.1.8) unstable; urgency=medium
kamailio (5.2.3) unstable; urgency=medium
* version set to 5.1.8
* version set 5.2.3
-- Victor Seva <vseva@debian.org> Thu, 11 Apr 2019 09:53:09 +0200
-- Victor Seva <vseva@debian.org> Wed, 22 May 2019 10:55:40 +0100
kamailio (5.1.7) unstable; urgency=medium
kamailio (5.2.2) unstable; urgency=medium
* version set to 5.1.7
* version set 5.2.2
-- Victor Seva <vseva@debian.org> Thu, 31 Jan 2019 10:15:30 +0100
-- Victor Seva <vseva@debian.org> Mon, 11 Mar 2019 11:25:15 +0100
kamailio (5.1.6) unstable; urgency=medium
kamailio (5.2.1) unstable; urgency=medium
* version set to 5.1.6
* version set 5.2.1
-- Victor Seva <vseva@debian.org> Thu, 04 Oct 2018 10:45:14 +0200
-- Victor Seva <vseva@debian.org> Wed, 16 Jan 2019 10:08:06 +0100
kamailio (5.1.5) unstable; urgency=medium
kamailio (5.2.0) unstable; urgency=medium
* version set to 5.1.5
* version set 5.2.0
-- Victor Seva <vseva@debian.org> Wed, 22 Aug 2018 10:05:51 +0200
-- Victor Seva <vseva@debian.org> Wed, 28 Nov 2018 08:37:20 +0100
kamailio (5.1.4) unstable; urgency=medium
kamailio (5.2.0~rc2) unstable; urgency=medium
* version set to 5.1.4
* version set 5.2.0~rc2
-- Victor Seva <vseva@debian.org> Tue, 05 Jun 2018 11:15:39 +0200
-- Victor Seva <vseva@debian.org> Fri, 23 Nov 2018 09:24:21 +0100
kamailio (5.1.3) unstable; urgency=medium
kamailio (5.2.0~rc1) unstable; urgency=medium
* version set to 5.1.3
* version set 5.2.0~rc1
-- Victor Seva <vseva@debian.org> Tue, 24 Apr 2018 10:34:57 +0200
-- Victor Seva <vseva@debian.org> Mon, 19 Nov 2018 12:38:38 +0100
kamailio (5.1.2) unstable; urgency=medium
kamailio (5.2.0~rc0) unstable; urgency=medium
* version set to 5.1.2
* version set 5.2.0~rc0
-- Victor Seva <vseva@debian.org> Thu, 01 Mar 2018 09:11:41 +0100
-- Victor Seva <vseva@debian.org> Tue, 06 Nov 2018 10:35:06 +0100
kamailio (5.1.1) unstable; urgency=medium
kamailio (5.2.0~pre2) unstable; urgency=medium
* version set to 5.1.1
* version set 5.2.0~pre2
-- Victor Seva <vseva@debian.org> Mon, 22 Jan 2018 10:37:19 +0100
-- Victor Seva <vseva@debian.org> Fri, 02 Nov 2018 15:25:09 +0100
kamailio (5.1.0) unstable; urgency=medium
kamailio (5.2.0~pre1) unstable; urgency=medium
* version set to 5.1.0
* version set 5.2.0~pre1
-- Victor Seva <vseva@debian.org> Mon, 11 Dec 2017 16:25:30 +0100
-- Victor Seva <vseva@debian.org> Fri, 19 Oct 2018 10:35:40 +0200
kamailio (5.1.0~rc3) unstable; urgency=medium
kamailio (5.2.0~pre0) unstable; urgency=medium
* version set to 5.1.0~rc3
* version set 5.2.0~pre0
-- Victor Seva <vseva@debian.org> Mon, 04 Dec 2017 11:38:41 +0100
-- Victor Seva <vseva@debian.org> Mon, 08 Oct 2018 09:11:35 +0200
kamailio (5.1.0~rc2) unstable; urgency=medium
kamailio (5.2.0~dev8) unstable; urgency=medium
* version set to 5.1.0~rc2
* version set 5.2.0-dev8
-- Victor Seva <vseva@debian.org> Mon, 27 Nov 2017 09:48:18 +0100
-- Victor Seva <vseva@debian.org> Tue, 02 Oct 2018 16:12:52 +0200
kamailio (5.1.0~rc1) unstable; urgency=medium
kamailio (5.2.0~dev7) unstable; urgency=medium
* version set to 5.1.0~rc1
* version set 5.2.0-dev7
-- Victor Seva <vseva@debian.org> Tue, 21 Nov 2017 12:23:47 +0100
-- Victor Seva <vseva@debian.org> Mon, 17 Sep 2018 12:12:40 +0200
kamailio (5.1.0~rc0) unstable; urgency=medium
kamailio (5.2.0~dev6) unstable; urgency=medium
* version set to 5.1.0~rc0
* version set 5.2.0-dev6
-- Victor Seva <vseva@debian.org> Sun, 12 Nov 2017 20:21:59 +0100
-- Victor Seva <vseva@debian.org> Wed, 30 May 2018 18:18:49 +0200
kamailio (5.2.0~dev5) unstable; urgency=medium
* version set 5.2.0-dev5
-- Victor Seva <vseva@debian.org> Thu, 26 Apr 2018 14:05:28 +0200
kamailio (5.2.0~dev4) unstable; urgency=medium
* version set 5.2.0-dev4
-- Victor Seva <vseva@debian.org> Mon, 19 Feb 2018 10:16:07 +0100
kamailio (5.2.0~dev3) unstable; urgency=medium
* version set to 5.2.0-dev3
-- Victor Seva <vseva@debian.org> Thu, 25 Jan 2018 10:34:25 +0100
kamailio (5.2.0~dev2) unstable; urgency=medium
* version set to 5.2.0-dev2
-- Victor Seva <vseva@debian.org> Thu, 14 Dec 2017 13:07:23 +0100
kamailio (5.2.0~dev1) unstable; urgency=medium
* version set to 5.2.0-dev1
-- Victor Seva <vseva@debian.org> Tue, 21 Nov 2017 12:28:02 +0100
kamailio (5.2.0~dev0) unstable; urgency=medium
* version set to 5.2.0-dev0
-- Victor Seva <vseva@debian.org> Sun, 12 Nov 2017 20:17:38 +0100
kamailio (5.1.0~pre1) unstable; urgency=medium

@ -14,7 +14,6 @@ Build-Depends:
dpkg-dev (>= 1.16.1.1),
erlang-dev,
flex,
libconfuse-dev,
libcurl4-openssl-dev,
libdb-dev (>= 4.6.19),
libev-dev,
@ -28,6 +27,7 @@ Build-Depends:
liblua5.1-0-dev,
libmaxminddb-dev,
libmemcached-dev,
libmnl-dev,
libmongoc-dev,
libmono-2.0-dev,
libncurses5-dev,
@ -50,6 +50,9 @@ Build-Depends:
pkg-config,
python,
python-dev,
python3,
python3-dev,
ruby-dev,
unixodbc-dev,
uuid-dev,
xsltproc,
@ -70,9 +73,10 @@ Depends:
python,
${misc:Depends},
${shlibs:Depends},
Replaces:
kamailio-carrierroute-modules,
Suggests:
kamailio-berkeley-modules,
kamailio-carrierroute-modules,
kamailio-cpl-modules,
kamailio-dbg,
kamailio-ldap-modules,
@ -273,6 +277,41 @@ Description: The app_python module for the Kamailio SIP server
This package provides the app_python module, an extension allowing to
execute embedded Python applications within the Kamailio SIP routing script.
Package: kamailio-python3-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
python3-dev,
${misc:Depends},
${shlibs:Depends},
Description: The app_python3 module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the app_python3 module, an extension allowing to
execute embedded Python applications within the Kamailio SIP routing script.
Package: kamailio-ruby-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: The app_ruby module for Kamailio Ruby support
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the app_ruby module, an extension allowing to
execute embedded Ruby applications within the Kamailio SIP routing script.
Package: kamailio-redis-modules
Architecture: linux-any
Multi-Arch: same
@ -473,23 +512,6 @@ Description: XML based extensions for Kamailio's Management Interface
Management and Control Interface.
- xmlops module for XPath operations in configuration file
Package: kamailio-carrierroute-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: The carrierroute module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the "carrierroute" module for Kamailio, an integrated
solution for routing, balancing and blacklisting.
Package: kamailio-berkeley-modules
Architecture: linux-any
Multi-Arch: same

@ -1,6 +1,6 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Kamailio
Upstream-Contact: sr-dev@lists.sip-router.org
Upstream-Contact: sr-dev@lists.kamailio.org
Source: http://www.kamailio.org/pub/kamailio/
Files: *

@ -1,6 +1,7 @@
[Unit]
Description=Kamailio (OpenSER) - the Open Source SIP Server
After=network.target
Wants=network-online.target
After=network-online.target
[Service]
Type=forking
@ -15,7 +16,10 @@ EnvironmentFile=-/etc/default/kamailio.d/*
PIDFile=/var/run/kamailio/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY -u $USER -g $GROUP
Restart=on-abort
Restart=on-failure
# /var/run/kamailio in tmpfs
RuntimeDirectory=kamailio
RuntimeDirectoryMode=0750
[Install]
WantedBy=multi-user.target

@ -35,9 +35,9 @@ EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec
PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
ldap xml perl utils lua memcached \
snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
sqlite json mono ims sctp \
sqlite json mono ruby ims sctp \
tls outbound websocket autheph kazoo cnxcc \
erlang systemd phonenum mongodb rabbitmq
erlang systemd phonenum mongodb rabbitmq python3
# module groups to be packaged onto kamailio-extra-modules
EXTRA_GROUPS=gzcompress uuid ev jansson http_async
@ -57,7 +57,7 @@ mod_name=$(subst db_,,$(lastword $(subst /, ,$(1))))
define PACKAGE_GRP_BUILD_template
# package all the modules in PACKAGE_GROUPS in separate packages
$(foreach grp,$(PACKAGE_GROUPS),\
$(MAKE) every-module group_include="k$(grp)"
$(MAKE) every-module group_include="k$(grp)" quiet=verbose
)
endef
@ -66,7 +66,7 @@ define PACKAGE_GRP_INSTALL_template
$(MAKE) install-modules-all LIBDIR=$(LIBDIR) group_include="k$(grp)" \
BASEDIR=$(CURDIR)/debian/kamailio-$(grp)-modules \
cfg_prefix=$(CURDIR)/debian/kamailio-$(grp)-modules \
doc-dir=share/doc/kamailio-$(grp)-modules
doc-dir=share/doc/kamailio-$(grp)-modules quiet=verbose
# eliminate duplicate libs
-for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(CURDIR)/debian/kamailio-$(grp)-modules/usr/$(LIBDIR)/kamailio" &&\
@ -82,7 +82,7 @@ endef
define PACKAGE_EXTRA_BUILD_template
# package all the modules in EXTRA_GROUPS in separate packages
$(foreach grp,$(EXTRA_GROUPS),\
$(MAKE) every-module group_include="k$(grp)"
$(MAKE) every-module group_include="k$(grp)" quiet=verbose
)
endef
@ -91,7 +91,7 @@ define PACKAGE_EXTRA_INSTALL_template
$(MAKE) install-modules-all LIBDIR=$(LIBDIR) group_include="k$(grp)" \
BASEDIR=$(CURDIR)/debian/kamailio-extra-modules \
cfg_prefix=$(CURDIR)/debian/kamailio-extra-modules \
doc-dir=share/doc/kamailio-extra-modules
doc-dir=share/doc/kamailio-extra-modules quiet=verbose
)
# eliminate duplicate libs
-for d in $(DUP_LIBS_DIRS); do \
@ -124,7 +124,7 @@ configure-stamp:
skip_modules="$(EXCLUDED_MODULES) $(EXTRA_EXCLUDED_MODULES)" \
CC_EXTRA_OPTS="$(CC_EXTRA_OPTS)" \
LD_EXTRA_OPTS="$(LD_EXTRA_OPTS)" \
group_include="kstandard"
group_include="kstandard" quiet=verbose
touch configure-stamp
@ -135,7 +135,7 @@ build-indep: build-stamp
build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
$(MAKE) all
$(MAKE) all quiet=verbose
# make groups
$(call PACKAGE_GRP_BUILD_template)
$(call PACKAGE_EXTRA_BUILD_template)

@ -0,0 +1,32 @@
#!/bin/bash
#
# Target dist: Ubuntu bionic
DIST=bionic
rm -rf ${DIST}
cp -r debian ${DIST}
# No mi_xmlrpc module
sed -i -e '/libxmlrpc-c3-dev/d' -e '/^Package: kamailio-xmlrpc-modules/,/^$/d' \
${DIST}/control
sed -i -e 's/ mi_xmlrpc[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mi_xmlrpc/' ${DIST}/rules
# No dnssec module:
sed -i -e '/libval-dev/d' -e '/^Package: kamailio-dnssec-modules/,/^$/d' \
${DIST}/control
sed -i -e 's/ dnssec[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ dnssec/' ${DIST}/rules
# No app_java due lack of gcj-jdk
sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
${DIST}/control
sed -i -e '/^export JAVA_HOME/d' ${DIST}/rules
sed -i -e 's/ java[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXCLUDED_MODULES=/s/$/ java/' ${DIST}/rules
wrap-and-sort -sat -d ${DIST}
# clean backports scripts
rm -rf ${DIST}/backports
exit 0

@ -82,6 +82,18 @@ sed -i -e '/libmongoc-dev/d' -e '/^Package: kamailio-mongodb-modules/,/^$/d' \
sed -i -e 's/ mongodb[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mongodb/' ${DIST}/rules
# no pkg-config for ruby-dev
sed -i -e '/ruby-dev/d' -e '/^Package: kamailio-ruby-modules/,/^$/d' \
${DIST}/control
sed -i -e 's/ ruby[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ ruby/' ${DIST}/rules
# no python3 for app_python3
sed -i -e '/python3-dev/d' -e '/^Package: kamailio-python3-modules/,/^$/d' \
-e '/python3/d' ${DIST}/control
sed -i -e 's/ python3[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ python3/' ${DIST}/rules
wrap-and-sort -sat -d ${DIST}
# clean backports scripts

@ -56,6 +56,12 @@ sed -i -e '/libmongoc-dev/d' -e '/^Package: kamailio-mongodb-modules/,/^$/d' \
sed -i -e 's/ mongodb[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mongodb/' ${DIST}/rules
# no pkg-config for ruby-dev
sed -i -e '/ruby-dev/d' -e '/^Package: kamailio-ruby-modules/,/^$/d' \
${DIST}/control
sed -i -e 's/ ruby[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ ruby/' ${DIST}/rules
wrap-and-sort -sat -d ${DIST}
# clean backports scripts

@ -82,6 +82,18 @@ sed -i -e '/libmongoc-dev/d' -e '/^Package: kamailio-mongodb-modules/,/^$/d' \
sed -i -e 's/ mongodb[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mongodb/' ${DIST}/rules
# no pkg-config for ruby-dev
sed -i -e '/ruby-dev/d' -e '/^Package: kamailio-ruby-modules/,/^$/d' \
${DIST}/control
sed -i -e 's/ ruby[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ ruby/' ${DIST}/rules
# no python3 for app_python3
sed -i -e '/python3-dev/d' -e '/^Package: kamailio-python3-modules/,/^$/d' \
-e '/python3/d' ${DIST}/control
sed -i -e 's/ python3[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ python3/' ${DIST}/rules
wrap-and-sort -sat -d ${DIST}
# clean backports scripts

@ -1,80 +1,116 @@
kamailio (5.1.8) unstable; urgency=medium
kamailio (5.2.3) unstable; urgency=medium
* version set to 5.1.8
* version set 5.2.3
-- Victor Seva <vseva@debian.org> Thu, 11 Apr 2019 09:53:09 +0200
-- Victor Seva <vseva@debian.org> Wed, 22 May 2019 10:55:40 +0100
kamailio (5.1.7) unstable; urgency=medium
kamailio (5.2.2) unstable; urgency=medium
* version set to 5.1.7
* version set 5.2.2
-- Victor Seva <vseva@debian.org> Thu, 31 Jan 2019 10:15:30 +0100
-- Victor Seva <vseva@debian.org> Mon, 11 Mar 2019 11:25:15 +0100
kamailio (5.1.6) unstable; urgency=medium
kamailio (5.2.1) unstable; urgency=medium
* version set to 5.1.6
* version set 5.2.1
-- Victor Seva <vseva@debian.org> Thu, 04 Oct 2018 10:45:14 +0200
-- Victor Seva <vseva@debian.org> Wed, 16 Jan 2019 10:08:06 +0100
kamailio (5.1.5) unstable; urgency=medium
kamailio (5.2.0) unstable; urgency=medium
* version set to 5.1.5
* version set 5.2.0
-- Victor Seva <vseva@debian.org> Wed, 22 Aug 2018 10:05:51 +0200
-- Victor Seva <vseva@debian.org> Wed, 28 Nov 2018 08:37:20 +0100
kamailio (5.1.4) unstable; urgency=medium
kamailio (5.2.0~rc2) unstable; urgency=medium
* version set to 5.1.4
* version set 5.2.0~rc2
-- Victor Seva <vseva@debian.org> Tue, 05 Jun 2018 11:15:39 +0200
-- Victor Seva <vseva@debian.org> Fri, 23 Nov 2018 09:24:21 +0100
kamailio (5.1.3) unstable; urgency=medium
kamailio (5.2.0~rc1) unstable; urgency=medium
* version set to 5.1.3
* version set 5.2.0~rc1
-- Victor Seva <vseva@debian.org> Tue, 24 Apr 2018 10:34:57 +0200
-- Victor Seva <vseva@debian.org> Mon, 19 Nov 2018 12:38:38 +0100
kamailio (5.1.2) unstable; urgency=medium
kamailio (5.2.0~rc0) unstable; urgency=medium
* version set to 5.1.2
* version set 5.2.0~rc0
-- Victor Seva <vseva@debian.org> Thu, 01 Mar 2018 09:11:41 +0100
-- Victor Seva <vseva@debian.org> Tue, 06 Nov 2018 10:35:06 +0100
kamailio (5.1.1) unstable; urgency=medium
kamailio (5.2.0~pre2) unstable; urgency=medium
* version set to 5.1.1
* version set 5.2.0~pre2
-- Victor Seva <vseva@debian.org> Mon, 22 Jan 2018 10:37:19 +0100
-- Victor Seva <vseva@debian.org> Fri, 02 Nov 2018 15:25:09 +0100
kamailio (5.1.0) unstable; urgency=medium
kamailio (5.2.0~pre1) unstable; urgency=medium
* version set to 5.1.0
* version set 5.2.0~pre1
-- Victor Seva <vseva@debian.org> Mon, 11 Dec 2017 16:25:30 +0100
-- Victor Seva <vseva@debian.org> Fri, 19 Oct 2018 10:35:40 +0200
kamailio (5.1.0~rc3) unstable; urgency=medium
kamailio (5.2.0~pre0) unstable; urgency=medium
* version set to 5.1.0~rc3
* version set 5.2.0~pre0
-- Victor Seva <vseva@debian.org> Mon, 04 Dec 2017 11:38:41 +0100
-- Victor Seva <vseva@debian.org> Mon, 08 Oct 2018 09:11:35 +0200
kamailio (5.1.0~rc2) unstable; urgency=medium
kamailio (5.2.0~dev8) unstable; urgency=medium
* version set to 5.1.0~rc2
* version set 5.2.0-dev8
-- Victor Seva <vseva@debian.org> Mon, 27 Nov 2017 09:48:18 +0100
-- Victor Seva <vseva@debian.org> Tue, 02 Oct 2018 16:12:52 +0200
kamailio (5.1.0~rc1) unstable; urgency=medium
kamailio (5.2.0~dev7) unstable; urgency=medium
* version set to 5.1.0~rc1
* version set 5.2.0-dev7
-- Victor Seva <vseva@debian.org> Tue, 21 Nov 2017 12:23:47 +0100
-- Victor Seva <vseva@debian.org> Mon, 17 Sep 2018 12:12:40 +0200
kamailio (5.1.0~rc0) unstable; urgency=medium
kamailio (5.2.0~dev6) unstable; urgency=medium
* version set to 5.1.0~rc0
* version set 5.2.0-dev6
-- Victor Seva <vseva@debian.org> Sun, 12 Nov 2017 20:21:59 +0100
-- Victor Seva <vseva@debian.org> Wed, 30 May 2018 18:18:49 +0200
kamailio (5.2.0~dev5) unstable; urgency=medium
* version set 5.2.0-dev5
-- Victor Seva <vseva@debian.org> Thu, 26 Apr 2018 14:05:28 +0200
kamailio (5.2.0~dev4) unstable; urgency=medium
* version set 5.2.0-dev4
-- Victor Seva <vseva@debian.org> Mon, 19 Feb 2018 10:16:07 +0100
kamailio (5.2.0~dev3) unstable; urgency=medium
* version set to 5.2.0-dev3
-- Victor Seva <vseva@debian.org> Thu, 25 Jan 2018 10:34:25 +0100
kamailio (5.2.0~dev2) unstable; urgency=medium
* version set to 5.2.0-dev2
-- Victor Seva <vseva@debian.org> Thu, 14 Dec 2017 13:07:23 +0100
kamailio (5.2.0~dev1) unstable; urgency=medium
* version set to 5.2.0-dev1
-- Victor Seva <vseva@debian.org> Tue, 21 Nov 2017 12:28:02 +0100
kamailio (5.2.0~dev0) unstable; urgency=medium
* version set to 5.2.0-dev0
-- Victor Seva <vseva@debian.org> Sun, 12 Nov 2017 20:17:38 +0100
kamailio (5.1.0~pre1) unstable; urgency=medium

@ -15,7 +15,6 @@ Build-Depends:
erlang-dev,
flex,
gcj-jdk,
libconfuse-dev,
libcurl4-openssl-dev,
libdb-dev (>= 4.6.19),
libev-dev,
@ -29,6 +28,8 @@ Build-Depends:
liblua5.1-0-dev,
libmaxminddb-dev,
libmemcached-dev,
libmnl-dev,
libmongoc-dev,
libmono-2.0-dev,
libncurses5-dev,
libpcre3-dev,
@ -48,11 +49,13 @@ Build-Depends:
libval-dev,
libxml2-dev,
libxmlrpc-c3-dev,
libmongoc-dev,
openssl,
pkg-config,
python,
python-dev,
python3,
python3-dev,
ruby-dev,
unixodbc-dev,
uuid-dev,
xsltproc,
@ -73,9 +76,10 @@ Depends:
python,
${misc:Depends},
${shlibs:Depends},
Replaces:
kamailio-carrierroute-modules,
Suggests:
kamailio-berkeley-modules,
kamailio-carrierroute-modules,
kamailio-cpl-modules,
kamailio-dbg,
kamailio-ldap-modules,
@ -276,6 +280,41 @@ Description: The app_python module for the Kamailio SIP server
This package provides the app_python module, an extension allowing to
execute embedded Python applications within the Kamailio SIP routing script.
Package: kamailio-python3-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
python3-dev,
${misc:Depends},
${shlibs:Depends},
Description: The app_python3 module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the app_python3 module, an extension allowing to
execute embedded Python applications within the Kamailio SIP routing script.
Package: kamailio-ruby-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: The app_ruby module for Kamailio Ruby support
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the app_ruby module, an extension allowing to
execute embedded Ruby applications within the Kamailio SIP routing script.
Package: kamailio-redis-modules
Architecture: linux-any
Multi-Arch: same
@ -346,8 +385,10 @@ Description: CPL module (CPL interpreter engine) for the Kamailio SIP server
Package: kamailio-radius-modules
Architecture: linux-any
Multi-Arch: same
Breaks: kamailio (<<5.1)
Replaces: kamailio (<<5.1)
Breaks:
kamailio (<<5.1),
Replaces:
kamailio (<<5.1),
Pre-Depends:
${misc:Pre-Depends},
Depends:
@ -474,23 +515,6 @@ Description: XML based extensions for Kamailio's Management Interface
Management and Control Interface.
- xmlops module for XPath operations in configuration file
Package: kamailio-carrierroute-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: The carrierroute module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the "carrierroute" module for Kamailio, an integrated
solution for routing, balancing and blacklisting.
Package: kamailio-berkeley-modules
Architecture: linux-any
Multi-Arch: same

@ -1,6 +1,6 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Kamailio
Upstream-Contact: sr-dev@lists.sip-router.org
Upstream-Contact: sr-dev@lists.kamailio.org
Source: http://www.kamailio.org/pub/kamailio/
Files: *

@ -1,6 +1,7 @@
[Unit]
Description=Kamailio (OpenSER) - the Open Source SIP Server
After=network.target
Wants=network-online.target
After=network-online.target
[Service]
Type=forking
@ -15,7 +16,10 @@ EnvironmentFile=-/etc/default/kamailio.d/*
PIDFile=/var/run/kamailio/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY -u $USER -g $GROUP
Restart=on-abort
Restart=on-failure
# /var/run/kamailio in tmpfs
RuntimeDirectory=kamailio
RuntimeDirectoryMode=0750
[Install]
WantedBy=multi-user.target

@ -36,9 +36,9 @@ EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy
PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
ldap xml perl utils lua memcached \
snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
sqlite json mono ims sctp java \
sqlite json mono ruby ims sctp java \
tls outbound websocket autheph dnssec kazoo cnxcc \
erlang systemd phonenum mongodb rabbitmq
erlang systemd phonenum mongodb rabbitmq python3
# module groups to be packaged onto kamailio-extra-modules
EXTRA_GROUPS=gzcompress uuid ev jansson http_async
@ -58,7 +58,7 @@ mod_name=$(subst db_,,$(lastword $(subst /, ,$(1))))
define PACKAGE_GRP_BUILD_template
# package all the modules in PACKAGE_GROUPS in separate packages
$(foreach grp,$(PACKAGE_GROUPS),\
$(MAKE) every-module group_include="k$(grp)"
$(MAKE) every-module group_include="k$(grp)" quiet=verbose
)
endef
@ -67,7 +67,7 @@ define PACKAGE_GRP_INSTALL_template
$(MAKE) install-modules-all LIBDIR=$(LIBDIR) group_include="k$(grp)" \
BASEDIR=$(CURDIR)/debian/kamailio-$(grp)-modules \
cfg_prefix=$(CURDIR)/debian/kamailio-$(grp)-modules \
doc-dir=share/doc/kamailio-$(grp)-modules
doc-dir=share/doc/kamailio-$(grp)-modules quiet=verbose
# eliminate duplicate libs
-for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(CURDIR)/debian/kamailio-$(grp)-modules/usr/$(LIBDIR)/kamailio" &&\
@ -83,7 +83,7 @@ endef
define PACKAGE_EXTRA_BUILD_template
# package all the modules in EXTRA_GROUPS in separate packages
$(foreach grp,$(EXTRA_GROUPS),\
$(MAKE) every-module group_include="k$(grp)"
$(MAKE) every-module group_include="k$(grp)" quiet=verbose
)
endef
@ -92,7 +92,7 @@ define PACKAGE_EXTRA_INSTALL_template
$(MAKE) install-modules-all LIBDIR=$(LIBDIR) group_include="k$(grp)" \
BASEDIR=$(CURDIR)/debian/kamailio-extra-modules \
cfg_prefix=$(CURDIR)/debian/kamailio-extra-modules \
doc-dir=share/doc/kamailio-extra-modules
doc-dir=share/doc/kamailio-extra-modules quiet=verbose
)
# eliminate duplicate libs
-for d in $(DUP_LIBS_DIRS); do \
@ -125,7 +125,7 @@ configure-stamp:
skip_modules="$(EXCLUDED_MODULES) $(EXTRA_EXCLUDED_MODULES)" \
CC_EXTRA_OPTS="$(CC_EXTRA_OPTS)" \
LD_EXTRA_OPTS="$(LD_EXTRA_OPTS)" \
group_include="kstandard"
group_include="kstandard" quiet=verbose
touch configure-stamp
@ -136,7 +136,7 @@ build-indep: build-stamp
build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
$(MAKE) all
$(MAKE) all quiet=verbose
# make groups
$(call PACKAGE_GRP_BUILD_template)
$(call PACKAGE_EXTRA_BUILD_template)

@ -1,80 +1,116 @@
kamailio (5.1.8) unstable; urgency=medium
kamailio (5.2.3) unstable; urgency=medium
* version set to 5.1.8
* version set 5.2.3
-- Victor Seva <vseva@debian.org> Thu, 11 Apr 2019 09:53:09 +0200
-- Victor Seva <vseva@debian.org> Wed, 22 May 2019 10:55:40 +0100
kamailio (5.1.7) unstable; urgency=medium
kamailio (5.2.2) unstable; urgency=medium
* version set to 5.1.7
* version set 5.2.2
-- Victor Seva <vseva@debian.org> Thu, 31 Jan 2019 10:15:30 +0100
-- Victor Seva <vseva@debian.org> Mon, 11 Mar 2019 11:25:15 +0100
kamailio (5.1.6) unstable; urgency=medium
kamailio (5.2.1) unstable; urgency=medium
* version set to 5.1.6
* version set 5.2.1
-- Victor Seva <vseva@debian.org> Thu, 04 Oct 2018 10:45:14 +0200
-- Victor Seva <vseva@debian.org> Wed, 16 Jan 2019 10:08:06 +0100
kamailio (5.1.5) unstable; urgency=medium
kamailio (5.2.0) unstable; urgency=medium
* version set to 5.1.5
* version set 5.2.0
-- Victor Seva <vseva@debian.org> Wed, 22 Aug 2018 10:05:51 +0200
-- Victor Seva <vseva@debian.org> Wed, 28 Nov 2018 08:37:20 +0100
kamailio (5.1.4) unstable; urgency=medium
kamailio (5.2.0~rc2) unstable; urgency=medium
* version set to 5.1.4
* version set 5.2.0~rc2
-- Victor Seva <vseva@debian.org> Tue, 05 Jun 2018 11:15:39 +0200
-- Victor Seva <vseva@debian.org> Fri, 23 Nov 2018 09:24:21 +0100
kamailio (5.1.3) unstable; urgency=medium
kamailio (5.2.0~rc1) unstable; urgency=medium
* version set to 5.1.3
* version set 5.2.0~rc1
-- Victor Seva <vseva@debian.org> Tue, 24 Apr 2018 10:34:57 +0200
-- Victor Seva <vseva@debian.org> Mon, 19 Nov 2018 12:38:38 +0100
kamailio (5.1.2) unstable; urgency=medium
kamailio (5.2.0~rc0) unstable; urgency=medium
* version set to 5.1.2
* version set 5.2.0~rc0
-- Victor Seva <vseva@debian.org> Thu, 01 Mar 2018 09:11:41 +0100
-- Victor Seva <vseva@debian.org> Tue, 06 Nov 2018 10:35:06 +0100
kamailio (5.1.1) unstable; urgency=medium
kamailio (5.2.0~pre2) unstable; urgency=medium
* version set to 5.1.1
* version set 5.2.0~pre2
-- Victor Seva <vseva@debian.org> Mon, 22 Jan 2018 10:37:19 +0100
-- Victor Seva <vseva@debian.org> Fri, 02 Nov 2018 15:25:09 +0100
kamailio (5.1.0) unstable; urgency=medium
kamailio (5.2.0~pre1) unstable; urgency=medium
* version set to 5.1.0
* version set 5.2.0~pre1
-- Victor Seva <vseva@debian.org> Mon, 11 Dec 2017 16:25:30 +0100
-- Victor Seva <vseva@debian.org> Fri, 19 Oct 2018 10:35:40 +0200
kamailio (5.1.0~rc3) unstable; urgency=medium
kamailio (5.2.0~pre0) unstable; urgency=medium
* version set to 5.1.0~rc3
* version set 5.2.0~pre0
-- Victor Seva <vseva@debian.org> Mon, 04 Dec 2017 11:38:41 +0100
-- Victor Seva <vseva@debian.org> Mon, 08 Oct 2018 09:11:35 +0200
kamailio (5.1.0~rc2) unstable; urgency=medium
kamailio (5.2.0~dev8) unstable; urgency=medium
* version set to 5.1.0~rc2
* version set 5.2.0-dev8
-- Victor Seva <vseva@debian.org> Mon, 27 Nov 2017 09:48:18 +0100
-- Victor Seva <vseva@debian.org> Tue, 02 Oct 2018 16:12:52 +0200
kamailio (5.1.0~rc1) unstable; urgency=medium
kamailio (5.2.0~dev7) unstable; urgency=medium
* version set to 5.1.0~rc1
* version set 5.2.0-dev7
-- Victor Seva <vseva@debian.org> Tue, 21 Nov 2017 12:23:47 +0100
-- Victor Seva <vseva@debian.org> Mon, 17 Sep 2018 12:12:40 +0200
kamailio (5.1.0~rc0) unstable; urgency=medium
kamailio (5.2.0~dev6) unstable; urgency=medium
* version set to 5.1.0~rc0
* version set 5.2.0-dev6
-- Victor Seva <vseva@debian.org> Sun, 12 Nov 2017 20:21:59 +0100
-- Victor Seva <vseva@debian.org> Wed, 30 May 2018 18:18:49 +0200
kamailio (5.2.0~dev5) unstable; urgency=medium
* version set 5.2.0-dev5
-- Victor Seva <vseva@debian.org> Thu, 26 Apr 2018 14:05:28 +0200
kamailio (5.2.0~dev4) unstable; urgency=medium
* version set 5.2.0-dev4
-- Victor Seva <vseva@debian.org> Mon, 19 Feb 2018 10:16:07 +0100
kamailio (5.2.0~dev3) unstable; urgency=medium
* version set to 5.2.0-dev3
-- Victor Seva <vseva@debian.org> Thu, 25 Jan 2018 10:34:25 +0100
kamailio (5.2.0~dev2) unstable; urgency=medium
* version set to 5.2.0-dev2
-- Victor Seva <vseva@debian.org> Thu, 14 Dec 2017 13:07:23 +0100
kamailio (5.2.0~dev1) unstable; urgency=medium
* version set to 5.2.0-dev1
-- Victor Seva <vseva@debian.org> Tue, 21 Nov 2017 12:28:02 +0100
kamailio (5.2.0~dev0) unstable; urgency=medium
* version set to 5.2.0-dev0
-- Victor Seva <vseva@debian.org> Sun, 12 Nov 2017 20:17:38 +0100
kamailio (5.1.0~pre1) unstable; urgency=medium

@ -14,7 +14,6 @@ Build-Depends:
erlang-dev,
flex,
gcj-jdk,
libconfuse-dev,
libcurl4-openssl-dev,
libdb-dev (>= 4.6.19),
libev-dev,
@ -28,6 +27,7 @@ Build-Depends:
libldap2-dev,
liblua5.1-0-dev,
libmemcached-dev,
libmnl-dev,
libmono-2.0-dev,
libmysqlclient-dev,
libncurses5-dev,
@ -48,6 +48,9 @@ Build-Depends:
pkg-config,
python,
python-dev,
python3,
python3-dev,
ruby-dev,
unixodbc-dev,
uuid-dev,
xsltproc,
@ -68,9 +71,10 @@ Depends:
python,
${misc:Depends},
${shlibs:Depends},
Replaces:
kamailio-carrierroute-modules,
Suggests:
kamailio-berkeley-modules,
kamailio-carrierroute-modules,
kamailio-cpl-modules,
kamailio-dbg,
kamailio-ldap-modules,
@ -253,6 +257,41 @@ Description: The app_python module for the Kamailio SIP server
This package provides the app_python module, an extension allowing to
execute embedded Python applications within the Kamailio SIP routing script.
Package: kamailio-python3-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
python3-dev,
${misc:Depends},
${shlibs:Depends},
Description: The app_python3 module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the app_python3 module, an extension allowing to
execute embedded Python applications within the Kamailio SIP routing script.
Package: kamailio-ruby-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: The app_ruby module for Kamailio Ruby support
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the app_ruby module, an extension allowing to
execute embedded Ruby applications within the Kamailio SIP routing script.
Package: kamailio-redis-modules
Architecture: linux-any
Multi-Arch: same
@ -453,23 +492,6 @@ Description: XML based extensions for Kamailio's Management Interface
Management and Control Interface.
- xmlops module for XPath operations in configuration file
Package: kamailio-carrierroute-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: The carrierroute module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the "carrierroute" module for Kamailio, an integrated
solution for routing, balancing and blacklisting.
Package: kamailio-berkeley-modules
Architecture: linux-any
Multi-Arch: same

@ -1,6 +1,6 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Kamailio
Upstream-Contact: sr-dev@lists.sip-router.org
Upstream-Contact: sr-dev@lists.kamailio.org
Source: http://www.kamailio.org/pub/kamailio/
Files: *

@ -1,6 +1,7 @@
[Unit]
Description=Kamailio (OpenSER) - the Open Source SIP Server
After=network.target
Wants=network-online.target
After=network-online.target
[Service]
Type=forking
@ -15,7 +16,10 @@ EnvironmentFile=-/etc/default/kamailio.d/*
PIDFile=/var/run/kamailio/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY -u $USER -g $GROUP
Restart=on-abort
Restart=on-failure
# /var/run/kamailio in tmpfs
RuntimeDirectory=kamailio
RuntimeDirectoryMode=0750
[Install]
WantedBy=multi-user.target

@ -36,9 +36,9 @@ EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc geoip2 phonenu
PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
ldap xml perl utils lua memcached \
snmpstats carrierroute xmpp cpl redis python geoip \
sqlite json mono ims sctp java \
sqlite json mono ruby ims sctp java \
tls outbound websocket autheph dnssec kazoo cnxcc \
erlang systemd rabbitmq
erlang systemd rabbitmq python3
# module groups to be packaged onto kamailio-extra-modules
EXTRA_GROUPS=gzcompress uuid ev jansson http_async
@ -58,7 +58,7 @@ mod_name=$(subst db_,,$(lastword $(subst /, ,$(1))))
define PACKAGE_GRP_BUILD_template
# package all the modules in PACKAGE_GROUPS in separate packages
$(foreach grp,$(PACKAGE_GROUPS),\
$(MAKE) every-module group_include="k$(grp)"
$(MAKE) every-module group_include="k$(grp)" quiet=verbose
)
endef
@ -67,7 +67,7 @@ define PACKAGE_GRP_INSTALL_template
$(MAKE) install-modules-all LIBDIR=$(LIBDIR) group_include="k$(grp)" \
BASEDIR=$(CURDIR)/debian/kamailio-$(grp)-modules \
cfg_prefix=$(CURDIR)/debian/kamailio-$(grp)-modules \
doc-dir=share/doc/kamailio-$(grp)-modules
doc-dir=share/doc/kamailio-$(grp)-modules quiet=verbose
# eliminate duplicate libs
-for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(CURDIR)/debian/kamailio-$(grp)-modules/usr/$(LIBDIR)/kamailio" &&\
@ -83,7 +83,7 @@ endef
define PACKAGE_EXTRA_BUILD_template
# package all the modules in EXTRA_GROUPS in separate packages
$(foreach grp,$(EXTRA_GROUPS),\
$(MAKE) every-module group_include="k$(grp)"
$(MAKE) every-module group_include="k$(grp)" quiet=verbose
)
endef
@ -92,7 +92,7 @@ define PACKAGE_EXTRA_INSTALL_template
$(MAKE) install-modules-all LIBDIR=$(LIBDIR) group_include="k$(grp)" \
BASEDIR=$(CURDIR)/debian/kamailio-extra-modules \
cfg_prefix=$(CURDIR)/debian/kamailio-extra-modules \
doc-dir=share/doc/kamailio-extra-modules
doc-dir=share/doc/kamailio-extra-modules quiet=verbose
)
# eliminate duplicate libs
-for d in $(DUP_LIBS_DIRS); do \
@ -125,7 +125,7 @@ configure-stamp:
skip_modules="$(EXCLUDED_MODULES) $(EXTRA_EXCLUDED_MODULES)" \
CC_EXTRA_OPTS="$(CC_EXTRA_OPTS)" \
LD_EXTRA_OPTS="$(LD_EXTRA_OPTS)" \
group_include="kstandard"
group_include="kstandard" quiet=verbose
touch configure-stamp
@ -136,7 +136,7 @@ build-indep: build-stamp
build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
$(MAKE) all
$(MAKE) all quiet=verbose
# make groups
$(call PACKAGE_GRP_BUILD_template)
$(call PACKAGE_EXTRA_BUILD_template)

@ -1,80 +1,116 @@
kamailio (5.1.8) unstable; urgency=medium
kamailio (5.2.3) unstable; urgency=medium
* version set to 5.1.8
* version set 5.2.3
-- Victor Seva <vseva@debian.org> Thu, 11 Apr 2019 09:53:09 +0200
-- Victor Seva <vseva@debian.org> Wed, 22 May 2019 10:55:40 +0100
kamailio (5.1.7) unstable; urgency=medium
kamailio (5.2.2) unstable; urgency=medium
* version set to 5.1.7
* version set 5.2.2
-- Victor Seva <vseva@debian.org> Thu, 31 Jan 2019 10:15:30 +0100
-- Victor Seva <vseva@debian.org> Mon, 11 Mar 2019 11:25:15 +0100
kamailio (5.1.6) unstable; urgency=medium
kamailio (5.2.1) unstable; urgency=medium
* version set to 5.1.6
* version set 5.2.1
-- Victor Seva <vseva@debian.org> Thu, 04 Oct 2018 10:45:14 +0200
-- Victor Seva <vseva@debian.org> Wed, 16 Jan 2019 10:08:06 +0100
kamailio (5.1.5) unstable; urgency=medium
kamailio (5.2.0) unstable; urgency=medium
* version set to 5.1.5
* version set 5.2.0
-- Victor Seva <vseva@debian.org> Wed, 22 Aug 2018 10:05:51 +0200
-- Victor Seva <vseva@debian.org> Wed, 28 Nov 2018 08:37:20 +0100
kamailio (5.1.4) unstable; urgency=medium
kamailio (5.2.0~rc2) unstable; urgency=medium
* version set to 5.1.4
* version set 5.2.0~rc2
-- Victor Seva <vseva@debian.org> Tue, 05 Jun 2018 11:15:39 +0200
-- Victor Seva <vseva@debian.org> Fri, 23 Nov 2018 09:24:21 +0100
kamailio (5.1.3) unstable; urgency=medium
kamailio (5.2.0~rc1) unstable; urgency=medium
* version set to 5.1.3
* version set 5.2.0~rc1
-- Victor Seva <vseva@debian.org> Tue, 24 Apr 2018 10:34:57 +0200
-- Victor Seva <vseva@debian.org> Mon, 19 Nov 2018 12:38:38 +0100
kamailio (5.1.2) unstable; urgency=medium
kamailio (5.2.0~rc0) unstable; urgency=medium
* version set to 5.1.2
* version set 5.2.0~rc0
-- Victor Seva <vseva@debian.org> Thu, 01 Mar 2018 09:11:41 +0100
-- Victor Seva <vseva@debian.org> Tue, 06 Nov 2018 10:35:06 +0100
kamailio (5.1.1) unstable; urgency=medium
kamailio (5.2.0~pre2) unstable; urgency=medium
* version set to 5.1.1
* version set 5.2.0~pre2
-- Victor Seva <vseva@debian.org> Mon, 22 Jan 2018 10:37:19 +0100
-- Victor Seva <vseva@debian.org> Fri, 02 Nov 2018 15:25:09 +0100
kamailio (5.1.0) unstable; urgency=medium
kamailio (5.2.0~pre1) unstable; urgency=medium
* version set to 5.1.0
* version set 5.2.0~pre1
-- Victor Seva <vseva@debian.org> Mon, 11 Dec 2017 16:25:30 +0100
-- Victor Seva <vseva@debian.org> Fri, 19 Oct 2018 10:35:40 +0200
kamailio (5.1.0~rc3) unstable; urgency=medium
kamailio (5.2.0~pre0) unstable; urgency=medium
* version set to 5.1.0~rc3
* version set 5.2.0~pre0
-- Victor Seva <vseva@debian.org> Mon, 04 Dec 2017 11:38:41 +0100
-- Victor Seva <vseva@debian.org> Mon, 08 Oct 2018 09:11:35 +0200
kamailio (5.1.0~rc2) unstable; urgency=medium
kamailio (5.2.0~dev8) unstable; urgency=medium
* version set to 5.1.0~rc2
* version set 5.2.0-dev8
-- Victor Seva <vseva@debian.org> Mon, 27 Nov 2017 09:48:18 +0100
-- Victor Seva <vseva@debian.org> Tue, 02 Oct 2018 16:12:52 +0200
kamailio (5.1.0~rc1) unstable; urgency=medium
kamailio (5.2.0~dev7) unstable; urgency=medium
* version set to 5.1.0~rc1
* version set 5.2.0-dev7
-- Victor Seva <vseva@debian.org> Tue, 21 Nov 2017 12:23:47 +0100
-- Victor Seva <vseva@debian.org> Mon, 17 Sep 2018 12:12:40 +0200
kamailio (5.1.0~rc0) unstable; urgency=medium
kamailio (5.2.0~dev6) unstable; urgency=medium
* version set to 5.1.0~rc0
* version set 5.2.0-dev6
-- Victor Seva <vseva@debian.org> Sun, 12 Nov 2017 20:21:59 +0100
-- Victor Seva <vseva@debian.org> Wed, 30 May 2018 18:18:49 +0200
kamailio (5.2.0~dev5) unstable; urgency=medium
* version set 5.2.0-dev5
-- Victor Seva <vseva@debian.org> Thu, 26 Apr 2018 14:05:28 +0200
kamailio (5.2.0~dev4) unstable; urgency=medium
* version set 5.2.0-dev4
-- Victor Seva <vseva@debian.org> Mon, 19 Feb 2018 10:16:07 +0100
kamailio (5.2.0~dev3) unstable; urgency=medium
* version set to 5.2.0-dev3
-- Victor Seva <vseva@debian.org> Thu, 25 Jan 2018 10:34:25 +0100
kamailio (5.2.0~dev2) unstable; urgency=medium
* version set to 5.2.0-dev2
-- Victor Seva <vseva@debian.org> Thu, 14 Dec 2017 13:07:23 +0100
kamailio (5.2.0~dev1) unstable; urgency=medium
* version set to 5.2.0-dev1
-- Victor Seva <vseva@debian.org> Tue, 21 Nov 2017 12:28:02 +0100
kamailio (5.2.0~dev0) unstable; urgency=medium
* version set to 5.2.0-dev0
-- Victor Seva <vseva@debian.org> Sun, 12 Nov 2017 20:17:38 +0100
kamailio (5.1.0~pre1) unstable; urgency=medium

@ -13,7 +13,6 @@ Build-Depends:
erlang-dev,
flex,
gcj-jdk,
libconfuse-dev,
libcurl4-openssl-dev,
libdb-dev (>= 4.6.19),
libev-dev,
@ -26,6 +25,7 @@ Build-Depends:
libldap2-dev,
liblua5.1-0-dev,
libmemcached-dev,
libmnl-dev,
libmono-2.0-dev,
libmysqlclient-dev,
libncurses5-dev,
@ -64,9 +64,10 @@ Depends:
python,
${misc:Depends},
${shlibs:Depends},
Replaces:
kamailio-carrierroute-modules,
Suggests:
kamailio-berkeley-modules,
kamailio-carrierroute-modules,
kamailio-cpl-modules,
kamailio-dbg,
kamailio-ldap-modules,
@ -449,23 +450,6 @@ Description: XML based extensions for Kamailio's Management Interface
Management and Control Interface.
- xmlops module for XPath operations in configuration file
Package: kamailio-carrierroute-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: The carrierroute module for the Kamailio SIP server
Kamailio is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package provides the "carrierroute" module for Kamailio, an integrated
solution for routing, balancing and blacklisting.
Package: kamailio-berkeley-modules
Architecture: linux-any
Multi-Arch: same

@ -1,6 +1,6 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Kamailio
Upstream-Contact: sr-dev@lists.sip-router.org
Upstream-Contact: sr-dev@lists.kamailio.org
Source: http://www.kamailio.org/pub/kamailio/
Files: *

@ -26,7 +26,7 @@ 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,
# they will be excluded from compile and install of all
EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum mongodb
EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum mongodb ruby python3
# module groups that are packaged in seperate packages
# (with the name kamailio-$(group_name)-modules)
@ -57,7 +57,7 @@ mod_name=$(subst db_,,$(lastword $(subst /, ,$(1))))
define PACKAGE_GRP_BUILD_template
# package all the modules in PACKAGE_GROUPS in separate packages
$(foreach grp,$(PACKAGE_GROUPS),\
$(MAKE) every-module group_include="k$(grp)"
$(MAKE) every-module group_include="k$(grp)" quiet=verbose
)
endef
@ -66,7 +66,7 @@ define PACKAGE_GRP_INSTALL_template
$(MAKE) install-modules-all LIBDIR=$(LIBDIR) group_include="k$(grp)" \
BASEDIR=$(CURDIR)/debian/kamailio-$(grp)-modules \
cfg_prefix=$(CURDIR)/debian/kamailio-$(grp)-modules \
doc-dir=share/doc/kamailio-$(grp)-modules
doc-dir=share/doc/kamailio-$(grp)-modules quiet=verbose
# eliminate duplicate libs
-for d in $(DUP_LIBS_DIRS); do \
test "$$d" != "$(CURDIR)/debian/kamailio-$(grp)-modules/usr/$(LIBDIR)/kamailio" &&\
@ -82,7 +82,7 @@ endef
define PACKAGE_EXTRA_BUILD_template
# package all the modules in EXTRA_GROUPS in separate packages
$(foreach grp,$(EXTRA_GROUPS),\
$(MAKE) every-module group_include="k$(grp)"
$(MAKE) every-module group_include="k$(grp)" quiet=verbose
)
endef
@ -91,7 +91,7 @@ define PACKAGE_EXTRA_INSTALL_template
$(MAKE) install-modules-all LIBDIR=$(LIBDIR) group_include="k$(grp)" \
BASEDIR=$(CURDIR)/debian/kamailio-extra-modules \
cfg_prefix=$(CURDIR)/debian/kamailio-extra-modules \
doc-dir=share/doc/kamailio-extra-modules
doc-dir=share/doc/kamailio-extra-modules quiet=verbose
)
# eliminate duplicate libs
-for d in $(DUP_LIBS_DIRS); do \
@ -124,7 +124,7 @@ configure-stamp:
skip_modules="$(EXCLUDED_MODULES) $(EXTRA_EXCLUDED_MODULES)" \
CC_EXTRA_OPTS="$(CC_EXTRA_OPTS)" \
LD_EXTRA_OPTS="$(LD_EXTRA_OPTS)" \
group_include="kstandard"
group_include="kstandard" quiet=verbose
touch configure-stamp
@ -135,7 +135,7 @@ build-indep: build-stamp
build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
$(MAKE) all
$(MAKE) all quiet=verbose
# make groups
$(call PACKAGE_GRP_BUILD_template)
$(call PACKAGE_EXTRA_BUILD_template)

@ -1,80 +1,116 @@
kamailio (5.1.8) unstable; urgency=medium
kamailio (5.2.3) unstable; urgency=medium
* version set to 5.1.8
* version set 5.2.3
-- Victor Seva <vseva@debian.org> Thu, 11 Apr 2019 09:53:09 +0200
-- Victor Seva <vseva@debian.org> Wed, 22 May 2019 10:55:40 +0100
kamailio (5.1.7) unstable; urgency=medium
kamailio (5.2.2) unstable; urgency=medium
* version set to 5.1.7
* version set 5.2.2
-- Victor Seva <vseva@debian.org> Thu, 31 Jan 2019 10:15:30 +0100
-- Victor Seva <vseva@debian.org> Mon, 11 Mar 2019 11:25:15 +0100
kamailio (5.1.6) unstable; urgency=medium
kamailio (5.2.1) unstable; urgency=medium
* version set to 5.1.6
* version set 5.2.1
-- Victor Seva <vseva@debian.org> Thu, 04 Oct 2018 10:45:14 +0200
-- Victor Seva <vseva@debian.org> Wed, 16 Jan 2019 10:08:06 +0100
kamailio (5.1.5) unstable; urgency=medium
kamailio (5.2.0) unstable; urgency=medium
* version set to 5.1.5
* version set 5.2.0
-- Victor Seva <vseva@debian.org> Wed, 22 Aug 2018 10:05:51 +0200
-- Victor Seva <vseva@debian.org> Wed, 28 Nov 2018 08:37:20 +0100
kamailio (5.1.4) unstable; urgency=medium
kamailio (5.2.0~rc2) unstable; urgency=medium
* version set to 5.1.4
* version set 5.2.0~rc2
-- Victor Seva <vseva@debian.org> Tue, 05 Jun 2018 11:15:39 +0200
-- Victor Seva <vseva@debian.org> Fri, 23 Nov 2018 09:24:21 +0100
kamailio (5.1.3) unstable; urgency=medium
kamailio (5.2.0~rc1) unstable; urgency=medium
* version set to 5.1.3
* version set 5.2.0~rc1
-- Victor Seva <vseva@debian.org> Tue, 24 Apr 2018 10:34:57 +0200
-- Victor Seva <vseva@debian.org> Mon, 19 Nov 2018 12:38:38 +0100
kamailio (5.1.2) unstable; urgency=medium
kamailio (5.2.0~rc0) unstable; urgency=medium
* version set to 5.1.2
* version set 5.2.0~rc0
-- Victor Seva <vseva@debian.org> Thu, 01 Mar 2018 09:11:41 +0100
-- Victor Seva <vseva@debian.org> Tue, 06 Nov 2018 10:35:06 +0100
kamailio (5.1.1) unstable; urgency=medium
kamailio (5.2.0~pre2) unstable; urgency=medium
* version set to 5.1.1
* version set 5.2.0~pre2
-- Victor Seva <vseva@debian.org> Mon, 22 Jan 2018 10:37:19 +0100
-- Victor Seva <vseva@debian.org> Fri, 02 Nov 2018 15:25:09 +0100
kamailio (5.1.0) unstable; urgency=medium
kamailio (5.2.0~pre1) unstable; urgency=medium
* version set to 5.1.0
* version set 5.2.0~pre1
-- Victor Seva <vseva@debian.org> Mon, 11 Dec 2017 16:25:30 +0100
-- Victor Seva <vseva@debian.org> Fri, 19 Oct 2018 10:35:40 +0200
kamailio (5.1.0~rc3) unstable; urgency=medium
kamailio (5.2.0~pre0) unstable; urgency=medium
* version set to 5.1.0~rc3
* version set 5.2.0~pre0
-- Victor Seva <vseva@debian.org> Mon, 04 Dec 2017 11:38:41 +0100
-- Victor Seva <vseva@debian.org> Mon, 08 Oct 2018 09:11:35 +0200
kamailio (5.1.0~rc2) unstable; urgency=medium
kamailio (5.2.0~dev8) unstable; urgency=medium
* version set to 5.1.0~rc2
* version set 5.2.0-dev8
-- Victor Seva <vseva@debian.org> Mon, 27 Nov 2017 09:48:18 +0100
-- Victor Seva <vseva@debian.org> Tue, 02 Oct 2018 16:12:52 +0200
kamailio (5.1.0~rc1) unstable; urgency=medium
kamailio (5.2.0~dev7) unstable; urgency=medium
* version set to 5.1.0~rc1
* version set 5.2.0-dev7
-- Victor Seva <vseva@debian.org> Tue, 21 Nov 2017 12:23:47 +0100
-- Victor Seva <vseva@debian.org> Mon, 17 Sep 2018 12:12:40 +0200
kamailio (5.1.0~rc0) unstable; urgency=medium
kamailio (5.2.0~dev6) unstable; urgency=medium
* version set to 5.1.0~rc0
* version set 5.2.0-dev6
-- Victor Seva <vseva@debian.org> Sun, 12 Nov 2017 20:21:59 +0100
-- Victor Seva <vseva@debian.org> Wed, 30 May 2018 18:18:49 +0200
kamailio (5.2.0~dev5) unstable; urgency=medium
* version set 5.2.0-dev5
-- Victor Seva <vseva@debian.org> Thu, 26 Apr 2018 14:05:28 +0200
kamailio (5.2.0~dev4) unstable; urgency=medium
* version set 5.2.0-dev4
-- Victor Seva <vseva@debian.org> Mon, 19 Feb 2018 10:16:07 +0100
kamailio (5.2.0~dev3) unstable; urgency=medium
* version set to 5.2.0-dev3
-- Victor Seva <vseva@debian.org> Thu, 25 Jan 2018 10:34:25 +0100
kamailio (5.2.0~dev2) unstable; urgency=medium
* version set to 5.2.0-dev2
-- Victor Seva <vseva@debian.org> Thu, 14 Dec 2017 13:07:23 +0100
kamailio (5.2.0~dev1) unstable; urgency=medium
* version set to 5.2.0-dev1
-- Victor Seva <vseva@debian.org> Tue, 21 Nov 2017 12:28:02 +0100
kamailio (5.2.0~dev0) unstable; urgency=medium
* version set to 5.2.0-dev0
-- Victor Seva <vseva@debian.org> Sun, 12 Nov 2017 20:17:38 +0100
kamailio (5.1.0~pre1) unstable; urgency=medium

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save