[sr-dev] [kamailio/kamailio] Broken Kamailio repository for CentOS 7 (#1604)

2018-07-26 Thread pwakano


### Description

Centos RPM repo is generating Kamailio 5.0.7 packages that can't be installed

### Troubleshooting

 Reproduction

By using the repo 
https://download.opensuse.org/repositories/home:/kamailio:/v5.0.x-rpms/CentOS_7/home:kamailio:v5.0.x-rpms.repo
when trying to install Kamailio 5.0.7, yum returns this error:
```
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
kamailio-5.0.7-3.el7.centos.x8 FAILED  
http://download.opensuse.org/repositories/home%3A/kamailio%3A/v5.0.x-rpms/CentOS_7/x86_64/kamailio-5.0.7-3.el7.centos.x86_64.rpm:
 [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
Trying other mirror.
```

 Debugging Data

 Log Messages

 SIP Traffic



### Possible Solutions



### Additional Information


* **Operating System**:

```
$ cat /etc/redhat-release 
CentOS Linux release 7.4.1708 (Core) 
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1604___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] [kamailio/kamailio] topos_redis not included in debian packages for kamailio-redis-modules (#1603)

2018-07-26 Thread William King
### Description

Installing new instance on Debian Stretch, using 5.1 release repo the module 
topos_redis is not built in the available packages.

 Reproduction

root@sbc1-1:~# apt-file update
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Hit:4 http://deb.debian.org/debian stretch Release
Hit:5 http://packages.treasuredata.com/3/debian/stretch stretch InRelease
Hit:7 http://deb.kamailio.org/kamailiodev-nightly stretch InRelease
Hit:8 http://deb.kamailio.org/kamailio51 stretch InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@sbc1-1:~# apt-file search topos_redis
root@sbc1-1:~#



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1603___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:5.1:e2eda137: dialog: unset DMQ flag on replicated dialog removal

2018-07-26 Thread Charles Chance
Module: kamailio
Branch: 5.1
Commit: e2eda1376def48ab1c78db7a766c1811d19205be
URL: 
https://github.com/kamailio/kamailio/commit/e2eda1376def48ab1c78db7a766c1811d19205be

Author: Charles Chance 
Committer: Charles Chance 
Date: 2018-07-26T13:54:31+01:00

dialog: unset DMQ flag on replicated dialog removal

- prevents looping back to other nodes
- reported by Patrick Murphy on sr-users list

(cherry picked from commit a84a3ea618f0e602a8892c37fce7f4e72ab7371c)

---

Modified: src/modules/dialog/dlg_dmq.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/e2eda1376def48ab1c78db7a766c1811d19205be.diff
Patch: 
https://github.com/kamailio/kamailio/commit/e2eda1376def48ab1c78db7a766c1811d19205be.patch

---

diff --git a/src/modules/dialog/dlg_dmq.c b/src/modules/dialog/dlg_dmq.c
index 8ed9dce1d3..0cfd8a522e 100644
--- a/src/modules/dialog/dlg_dmq.c
+++ b/src/modules/dialog/dlg_dmq.c
@@ -365,6 +365,7 @@ int dlg_dmq_handle_msg(struct sip_msg* msg, peer_reponse_t* 
resp, dmq_node_t* no
}
/* prevent DB sync */
dlg->dflags |= DLG_FLAG_NEW;
+   dlg->iflags &= ~DLG_IFLAG_DMQ_SYNC;
unref++;
break;
 


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] dialog: unset DMQ flag on replicated dialog removal (#1601)

2018-07-26 Thread Charles Chance
Merged #1601.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1601#event-1754936050___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:487fbf45: Merge pull request #1601 from kamailio/cchance/dlg_dmq

2018-07-26 Thread GitHub
Module: kamailio
Branch: master
Commit: 487fbf45cea288e743cbb87e352e76bb1bc05b87
URL: 
https://github.com/kamailio/kamailio/commit/487fbf45cea288e743cbb87e352e76bb1bc05b87

Author: Charles Chance 
Committer: GitHub 
Date: 2018-07-26T13:51:21+01:00

Merge pull request #1601 from kamailio/cchance/dlg_dmq

dialog: unset DMQ flag on replicated dialog removal

---

Modified: src/modules/dialog/dlg_dmq.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/487fbf45cea288e743cbb87e352e76bb1bc05b87.diff
Patch: 
https://github.com/kamailio/kamailio/commit/487fbf45cea288e743cbb87e352e76bb1bc05b87.patch

---

diff --git a/src/modules/dialog/dlg_dmq.c b/src/modules/dialog/dlg_dmq.c
index 8ed9dce1d3..0cfd8a522e 100644
--- a/src/modules/dialog/dlg_dmq.c
+++ b/src/modules/dialog/dlg_dmq.c
@@ -365,6 +365,7 @@ int dlg_dmq_handle_msg(struct sip_msg* msg, peer_reponse_t* 
resp, dmq_node_t* no
}
/* prevent DB sync */
dlg->dflags |= DLG_FLAG_NEW;
+   dlg->iflags &= ~DLG_IFLAG_DMQ_SYNC;
unref++;
break;
 


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:a84a3ea6: dialog: unset DMQ flag on replicated dialog removal

2018-07-26 Thread Charles Chance
Module: kamailio
Branch: master
Commit: a84a3ea618f0e602a8892c37fce7f4e72ab7371c
URL: 
https://github.com/kamailio/kamailio/commit/a84a3ea618f0e602a8892c37fce7f4e72ab7371c

Author: Charles Chance 
Committer: Charles Chance 
Date: 2018-07-26T12:07:33+01:00

dialog: unset DMQ flag on replicated dialog removal

- prevents looping back to other nodes
- reported by Patrick Murphy on sr-users list

---

Modified: src/modules/dialog/dlg_dmq.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/a84a3ea618f0e602a8892c37fce7f4e72ab7371c.diff
Patch: 
https://github.com/kamailio/kamailio/commit/a84a3ea618f0e602a8892c37fce7f4e72ab7371c.patch

---

diff --git a/src/modules/dialog/dlg_dmq.c b/src/modules/dialog/dlg_dmq.c
index 8ed9dce1d3..0cfd8a522e 100644
--- a/src/modules/dialog/dlg_dmq.c
+++ b/src/modules/dialog/dlg_dmq.c
@@ -365,6 +365,7 @@ int dlg_dmq_handle_msg(struct sip_msg* msg, peer_reponse_t* 
resp, dmq_node_t* no
}
/* prevent DB sync */
dlg->dflags |= DLG_FLAG_NEW;
+   dlg->iflags &= ~DLG_IFLAG_DMQ_SYNC;
unref++;
break;
 


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] dialog: unset DMQ flag on replicated dialog removal (#1601)

2018-07-26 Thread Charles Chance
Thanks @miconda 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1601#issuecomment-408086506___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] dialog: unset DMQ flag on replicated dialog removal (#1601)

2018-07-26 Thread Daniel-Constantin Mierla
It can be merged and backported if needed.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1601#issuecomment-408085714___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] getting an error while install kamailio5.1 on ubuntu 18.4 (#1602)

2018-07-26 Thread Victor Seva
We are building master branch every night for 
[bionic](https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=amd64,distribution=bionic,label=slave/1150/consoleText)
 with no problems.

```
/usr/bin/make -C src/ every-module 
make[2]: Entering directory 
'/tmp/buildd/kamailio-5.2.0~dev6+0~20180726010658.1165+bionic/src'
CC (gcc) [M db_mysql.so]km_dbase.o
CC (gcc) [M db_mysql.so]km_my_con.o
CC (gcc) [M db_mysql.so]km_val.o
CC (gcc) [M db_mysql.so]my_fld.o
CC (gcc) [M db_mysql.so]km_row.o
CC (gcc) [M db_mysql.so]my_con.o
CC (gcc) [M db_mysql.so]km_res.o
CC (gcc) [M db_mysql.so]my_cmd.o
CC (gcc) [M db_mysql.so]db_mysql.o
CC (gcc) [M db_mysql.so]my_res.o
CC (gcc) [M db_mysql.so]my_uri.o
CC (gcc) [M db_mysql.so]km_db_mysql.o
make[4]: 'libsrdb2.so.1.0' is up to date.
make[4]: 'libsrdb1.so.1.0' is up to date.
LD (gcc) [M db_mysql.so]db_mysql.so
make[2]: Leaving directory 
'/tmp/buildd/kamailio-5.2.0~dev6+0~20180726010658.1165+bionic/src'
```

And there are no related changes on db_mysql AFAICT I would say you are missing 
dev libraries

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1602#issuecomment-408073660___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] [kamailio/kamailio] getting an error while install kamailio5.1 on ubntu 18.4 (#1602)

2018-07-26 Thread limitall
flex -o core/lex.yy.c core/cfg.lex
CC (gcc) [kamailio] core/lex.yy.o
CC (gcc) [kamailio] core/cfg.tab.o
LD (gcc) [kamailio] kamailio
CC (gcc) [M db_mysql.so]km_val.o
CC (gcc) [M db_mysql.so]my_fld.o
In file included from my_fld.c:22:0:
my_fld.h:37:2: error: unknown type name ‘my_bool’
  my_bool is_null;
  ^~~
../../Makefile.rules:100: recipe for target 'my_fld.o' failed
make[2]: *** [my_fld.o] Error 1
Makefile:511: recipe for target 'modules' failed
make[1]: *** [modules] Error 1
make[1]: Leaving directory '/usr/local/src/kamailio-5.1/kamailio/src'
Makefile:27: recipe for target 'all' failed
make: *** [all] Error 2


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1602___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] [kamailio/kamailio] dialog: unset DMQ flag on replicated dialog removal (#1601)

2018-07-26 Thread Charles Chance
- prevents looping back to other nodes
- reported by Patrick Murphy on sr-users list 
(https://lists.kamailio.org/pipermail/sr-users/2018-July/102322.html)
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/1601

-- Commit Summary --

  * dialog: unset DMQ flag on replicated dialog removal

-- File Changes --

M src/modules/dialog/dlg_dmq.c (1)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/1601.patch
https://github.com/kamailio/kamailio/pull/1601.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1601
___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] crash in ims_usrloc_scscf.so (#1600)

2018-07-26 Thread Sergey Zyrianov
yes, indeed it was part of 5.1.4. Then I should see the crash again. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1600#issuecomment-407997226___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev