diff --git a/src/pks b/src/pks index 316956f2..a65eb3ab 100755 --- a/src/pks +++ b/src/pks @@ -10,7 +10,7 @@ export PATH+=':/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' # Variables -VERSION="v4.1.0" +VERSION="v4.1.1" readonly PKS_GIT_URL="https://raw.githubusercontent.com/mwolff44/pyfreebilling" readonly DATA_DIR="/srv" ENV_FILE="/srv/pks/.env" diff --git a/src/sip/docker-compose.yml b/src/sip/docker-compose.yml index ccc4ad4b..f2dec966 100644 --- a/src/sip/docker-compose.yml +++ b/src/sip/docker-compose.yml @@ -8,7 +8,7 @@ services: pks-sip: container_name: pks-sip hostname: sip.pks.local - image: mwolff44w/pks-sipproxy:v4.1.0 + image: mwolff44w/pks-sipproxy:v4.1.1 restart: unless-stopped volumes: - pks-db-data:/etc/kamailio/db:ro diff --git a/src/sip/kamailio.cfg b/src/sip/kamailio.cfg index 2696506b..c6127e9d 100644 --- a/src/sip/kamailio.cfg +++ b/src/sip/kamailio.cfg @@ -1,7 +1,7 @@ #!KAMAILIO # # Kamailio SIP Server v5.7 - P-KISS-SBC -# Version : 4.1.0 +# Version : 4.1.1 # ####### Include Local Config If Exists ######### @@ -715,26 +715,20 @@ route[DISPATCH] { switch ($var(rule3)) { case -2: xinfo("INFO | No internal routing rule found for GW (IP:$si:$sp) associated with '$rU'\n"); - return; case -1: xerr("ALERT | Error finding internal routing rule for GW (IP:$si:$sp) associated with '$rU'\n"); - exit; case 1: xinfo("INFO | The internal routing rule for GW (IP:$si:$sp) associated with '$rU' are '$avp(s:dest)'\n"); - return; } if (!$avp(s:dest)) { $var(rule2) = dp_match("2", "$rU"); switch ($var(rule2)) { case -2: xwarn("INFO | No external routing rule found for GW (IP:$si:$sp) associated with '$rU'\n"); - return; case -1: xerr("ALERT | Error finding external routing rule for GW (IP:$si:$sp) associated with '$rU'\n"); - exit; case 1: xinfo("INFO | The external routing rule for GW (IP:$si:$sp) associated with '$rU' are '$avp(s:dest)'\n"); - return; } } } else if(isflagset(FLAG_FROM_PROV)) { @@ -743,13 +737,10 @@ route[DISPATCH] { switch ($var(rule1)) { case -2: xwarn("INFO | No DID routing rule found for GW (IP:$si:$sp) associated with '$rU'\n"); - return; case -1: xerr("ALERT | Error finding DID routing rule for GW (IP:$si:$sp) associated with '$rU'\n"); - exit; case 1: xinfo("INFO | The DID routing rule for GW (IP:$si:$sp) associated with '$rU' are '$avp(s:dest)'\n"); - return; } } else { xwarn("WARN | No routing rule found for GW (IP:$si:$sp)\n");