Re: [sr-dev] [kamailio/kamailio] dialog: adding RPC dlg.kill_active_dlg command (#2111)

2019-10-25 Thread Daniel-Constantin Mierla
I am wondering if we should turn this new rpc command in a generic one to set 
the state of dialog, or keep it like in the PR. Would anyone see benefits on 
being able to set any state?

-- 
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/2111#issuecomment-546476937___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] sl module lacks API function to unregister a callback

2019-10-25 Thread Juha Heinanen
I tried to implement dynamic registering/unregistering of siptrace
module sl callbacks, but it turned out that sl module lacks API function
to unregister a callback.

-- Juha


___
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] developing hiops module (#1856)

2019-10-25 Thread Daniel-Constantin Mierla
No activity since beginning of March 2019, more than half a year. Is this still 
planned to be updated and merged?

-- 
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/1856#issuecomment-546319155___
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] http_async_client: memory mismanagement (#1407)

2019-10-25 Thread Daniel-Constantin Mierla
Closed #1407.

-- 
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/1407#event-2743896810___
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] http_async_client: memory mismanagement (#1407)

2019-10-25 Thread Daniel-Constantin Mierla
I am closing it, long time no activity and no similar reports. Reopen if still 
needs to be addressed.

-- 
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/1407#issuecomment-546318778___
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] Modules: db_redisusrloc for usrloc module (#1446)

2019-10-25 Thread Daniel-Constantin Mierla
Does this one still make sense to merge?

-- 
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/1446#issuecomment-546318559___
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] Switch from deprecated /var/run to /run (#2110)

2019-10-25 Thread Daniel-Constantin Mierla
Closed #2110.

-- 
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/2110#event-2743892310___
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] Switch from deprecated /var/run to /run (#2110)

2019-10-25 Thread Daniel-Constantin Mierla
All now in master branch.

-- 
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/2110#issuecomment-546318261___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:2aa614d4: lib/srdb1: detect if ipv6 address is between square brakets

2019-10-25 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: 2aa614d49f4917faec62534a51fcf8ddfc5fb870
URL: 
https://github.com/kamailio/kamailio/commit/2aa614d49f4917faec62534a51fcf8ddfc5fb870

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2019-10-25T12:55:06+02:00

lib/srdb1: detect if ipv6 address is between square brakets

- if not, let it be host part with surrounding brakets, because it can
by a mysql conf group name

---

Modified: src/lib/srdb1/db_id.c

---

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

---

diff --git a/src/lib/srdb1/db_id.c b/src/lib/srdb1/db_id.c
index 74788ff9bd..094baaa0dd 100644
--- a/src/lib/srdb1/db_id.c
+++ b/src/lib/srdb1/db_id.c
@@ -29,6 +29,7 @@
 #include "db_id.h"
 #include "../../core/dprint.h"
 #include "../../core/mem/mem.h"
+#include "../../core/resolve.h"
 #include "../../core/pt.h"
 #include "../../core/ut.h"
 #include 
@@ -111,6 +112,7 @@ static int parse_db_url(struct db_id* id, const str* url)
unsigned int len, i, j, a, foundanother, ipv6_flag=0;
const char* begin;
char* prev_token;
+   str sval = STR_NULL;
 
foundanother = 0;
prev_token = 0;
@@ -253,7 +255,14 @@ static int parse_db_url(struct db_id* id, const str* url)
case ST_HOST6:
switch(url->s[i]) {
case ']':
-   ipv6_flag = 1;
+   sval.s = (char*)begin;
+   sval.len = url->s + i - begin;
+   if(str2ip6()==NULL) {
+   ipv6_flag = 0;
+   begin -= 1;
+   } else {
+   ipv6_flag = 1;
+   }
st = ST_HOST;
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:4bb8bc9a: modules: readme files regenerated - call_control ... [skip ci]

2019-10-25 Thread Kamailio Dev
Module: kamailio
Branch: master
Commit: 4bb8bc9a0fa0eb7144b7c8c56d28f2689fce9e6e
URL: 
https://github.com/kamailio/kamailio/commit/4bb8bc9a0fa0eb7144b7c8c56d28f2689fce9e6e

Author: Kamailio Dev 
Committer: Kamailio Dev 
Date: 2019-10-25T12:16:35+02:00

modules: readme files regenerated - call_control ... [skip ci]

---

Modified: src/modules/call_control/README
Modified: src/modules/cfgt/README
Modified: src/modules/ctl/README
Modified: src/modules/db_mysql/README
Modified: src/modules/dispatcher/README
Modified: src/modules/mediaproxy/README
Modified: src/modules/nat_traversal/README
Modified: src/modules/sipdump/README

---

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


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


Re: [sr-dev] sip_trace() broken in master

2019-10-25 Thread Daniel-Constantin Mierla

On 25.10.19 11:54, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>> There is also a rpc command to turn tracinf on/off, but it doesn't
>> affect the trace_mode=1. Again, for the next major release we should
>> revise and make those options work for all variants: mirroring or save
>> to db, with control via modparams and rpc...
> I looked at the code and looks like callbacks are not
> unregistered/registered again when tracing is turned off/on by rpc
> command. Doesn't that affect performance negatively?

I think it is like this with the tm callbacks since the very first
version of the module. So it is nothing new in terms of performances
comparing with older kamailio versions. Now, there could be further
optimizations, if someone wants to squeeze more, but given that there is
a sql insert anyhow, probably the overall gain is insignificant.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training, Oct 21-23, 2019, Berlin, Germany -- 
https://asipto.com/u/kat


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


Re: [sr-dev] [SR-Users] Info: initialization of libssl 1.1.+ with PTHREAD_PROCESS_SHARED attribute for pthread mutex and rwlock

2019-10-25 Thread Daniel-Constantin Mierla
Hello,

thanks for coming back with the clarifications!

Before the changes related to PRNG, the reporter was doing stress
testing and it was crashing occasionally, after the changes, he
continued to stress test for several days without any issues --
therefore I thought in your case it could be something else, a matter of
a specific use case. But it is better now knowing it was an older
version and now no issue was showing up.

Cheers,
Daniel

On 23.10.19 14:52, Vitalii Aleksandrov wrote:
> Hi,
>
> My bad, I most probably used a container with a bit outdated version
> of master branch.
>
> Got new sources, tested them and had no problems with TLS. It works
> fine with libssl 1.1.1d-0+deb10u2.
> I suppose those fixes with using alternative random number generator
> or wrapping up the standard one with lock have helped.
>
>
>> Hello,
>>
>> can you provide the full backtrace from gdb?
>>
>> Also, give the output for "kamailio -I" and the exact version for
>> libssl.
>>
>> Cheers,
>> Daniel
>>
>> On 20.10.19 22:35, Vitalii Aleksandrov wrote:
>>> Hi.
>>>
>>> I'm going to jump into this thread with a bit different but related
>>> problem. I've tried kamailio master branch with the mentioned
>>> workaround and it still crashes almost immediately in my load tests
>>> when kamailio is linked to
>>> libssl-1.1.1.
>>> Haven't followed kamailio recently since had to switch to opensips for
>>> my current project but the root of the problem is the same - the
>>> multiprocess nature of a proxy and new behavior of libssl that uses
>>> pthread functions directly. This workaround with pthread_mutex_init()
>>> overriding really helps with deadlocks found with libssl1.1.0, but
>>> after switching to libssl1.1.1 it started to crash again. That lib
>>> version also uses thread local storage what most probably creates new
>>> problems since ssl contex IIRC might be moved between tcp main and
>>> workers.
>>>
>>> Has anyone tested kamailio master on debian 10 with libssl-1.1.1 and
>>> many concurrent tls connections?
>>>
 I understood it happened on a load test session, which typically is
 not done in production, but some test/staging system.

 Cheers,
 Daniel

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

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training, Oct 21-23, 2019, Berlin, Germany -- 
https://asipto.com/u/kat


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


[sr-dev] git: new commits in branch master

2019-10-25 Thread Daniel-Constantin Mierla
- URL:  
https://github.com/kamailio/kamailio/commit/f66b2dd426e3436f9b4f6beed10304976ce16f50
Author: Guillem Jover 
Date:   2019-10-25T12:00:46+02:00

kamctl: switch from deprecated /var/run to /run

The FHS 3.0 [F] has deprecated /var/run in favor of /run. Current
distributions have done so for a long time (for example in Debian
since 6.0 “squeeze”), even though they provide a compatibility
symlink from /var/run to /run. But software like systemd have
started emitting warnings when using /var/run, for example for
its PIDFile directive, which pollutes the logs.

- URL:  
https://github.com/kamailio/kamailio/commit/0d97878f03a6e7bd67aa8831a0c4c2db608b5cd3
Author: Guillem Jover 
Date:   2019-10-25T12:00:46+02:00

doc/: switch from deprecated /var/run to /run

  The FHS 3.0 [F] has deprecated /var/run in favor of /run. Current
  distributions have done so for a long time (for example in Debian
  since 6.0 “squeeze”), even though they provide a compatibility
  symlink from /var/run to /run. But software like systemd have
  started emitting warnings when using /var/run, for example for
  its PIDFile directive, which pollutes the logs.

- URL:  
https://github.com/kamailio/kamailio/commit/e29dce787fde168166e2b7f8cf6320cdeaa14145
Author: Daniel-Constantin Mierla 
Date:   2019-10-25T12:00:46+02:00

etc/kamailio.cfg: switch from deprecated /var/run to /run

  The FHS 3.0 [F] has deprecated /var/run in favor of /run. Current
  distributions have done so for a long time (for example in Debian
  since 6.0 “squeeze”), even though they provide a compatibility
  symlink from /var/run to /run. But software like systemd have
  started emitting warnings when using /var/run, for example for
  its PIDFile directive, which pollutes the logs.

- URL:  
https://github.com/kamailio/kamailio/commit/9c8021e8610d36895e732b557a0bd6ff68958e82
Author: Guillem Jover 
Date:   2019-10-25T12:00:46+02:00

misc/examples: switch from deprecated /var/run to /run

  The FHS 3.0 [F] has deprecated /var/run in favor of /run. Current
  distributions have done so for a long time (for example in Debian
  since 6.0 “squeeze”), even though they provide a compatibility
  symlink from /var/run to /run. But software like systemd have
  started emitting warnings when using /var/run, for example for
  its PIDFile directive, which pollutes the logs.

- URL:  
https://github.com/kamailio/kamailio/commit/cbf9f0dd213311613dced20e9dca8d4648009f0e
Author: Guillem Jover 
Date:   2019-10-25T12:00:46+02:00

pkg/deb: switch from deprecated /var/run to /run

  The FHS 3.0 [F] has deprecated /var/run in favor of /run. Current
  distributions have done so for a long time (for example in Debian
  since 6.0 “squeeze”), even though they provide a compatibility
  symlink from /var/run to /run. But software like systemd have
  started emitting warnings when using /var/run, for example for
  its PIDFile directive, which pollutes the logs.

- URL:  
https://github.com/kamailio/kamailio/commit/475a54cb04c0594c3fdaffb0a07d370702e80dd4
Author: Guillem Jover 
Date:   2019-10-25T12:00:46+02:00

pkg: rpm, alpine - switch from deprecated /var/run to /run

  The FHS 3.0 [F] has deprecated /var/run in favor of /run. Current
  distributions have done so for a long time (for example in Debian
  since 6.0 “squeeze”), even though they provide a compatibility
  symlink from /var/run to /run. But software like systemd have
  started emitting warnings when using /var/run, for example for
  its PIDFile directive, which pollutes the logs.

- URL:  
https://github.com/kamailio/kamailio/commit/296eb91192774c9e13312209c046c3a623478b56
Author: Guillem Jover 
Date:   2019-10-25T12:00:46+02:00

utils/pdbt: switch from deprecated /var/run to /run

  The FHS 3.0 [F] has deprecated /var/run in favor of /run. Current
  distributions have done so for a long time (for example in Debian
  since 6.0 “squeeze”), even though they provide a compatibility
  symlink from /var/run to /run. But software like systemd have
  started emitting warnings when using /var/run, for example for
  its PIDFile directive, which pollutes the logs.

- URL:  
https://github.com/kamailio/kamailio/commit/e2d6074eca8b2592dec16e0eebc42a7a12604142
Author: Guillem Jover 
Date:   2019-10-25T12:00:46+02:00

test: switch from deprecated /var/run to /run

  The FHS 3.0 [F] has deprecated /var/run in favor of /run. Current
  distributions have done so for a long time (for example in Debian
  since 6.0 “squeeze”), even though they provide a compatibility
  symlink from /var/run to /run. But software like systemd have
  started emitting warnings when using /var/run, for example for
  its PIDFile directive, which pollutes the logs.

- URL:  
https://github.com/kamailio/kamailio/commit/3a099381bcdfc5e0f27653b810309eba80a7aab9
Author: Guillem Jover 
Date:   2019-10-25T12:00:46+02:00

src/Makefile: switch from deprecated /var/run to /run

  The FHS 3.0 [F] has 

[sr-dev] sip_trace() broken in master

2019-10-25 Thread Juha Heinanen
Daniel-Constantin Mierla writes:

> There is also a rpc command to turn tracinf on/off, but it doesn't
> affect the trace_mode=1. Again, for the next major release we should
> revise and make those options work for all variants: mirroring or save
> to db, with control via modparams and rpc...

I looked at the code and looks like callbacks are not
unregistered/registered again when tracing is turned off/on by rpc
command. Doesn't that affect performance negatively?

-- Juha

___
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] add rtpproxy in kamailio/kamailio-ci:master-alpine (#2109)

2019-10-25 Thread Gaurav Bmotra
hi
thank you so much for this useful  information


Regards :
Gaurav Kumar




On Fri, Oct 25, 2019 at 3:04 PM sergey-safarov 
wrote:

> Kubernetes out of box not ready for VoIP/
> You can look kubernetes/kubernetes#80122
> 
>
> RTP will be fixed if rtpproxy, FreeSwitch or similar daemon will started
> on host network.
> Do to it reqired own dedicated media daemon image. Example
> 
>
> rtpproxy image not exist on docker hub. bit may be easyly creeated.
> Here example how to create own docker images for your needs
>
> https://github.com/sergey-safarov/dockerfiles/blob/master/certbot/0.37.1/alpine/Dockerfile
>
> One feature that not exist on Kubernes is "static IP" for Kamailio. This
> may be done by customizing Kubernetes source code. Or by customizing
> kubernetes nodegroup init script.
>
> I will close ticket, because this not related to kamailio or kamailio
> packaging.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> ,
> or unsubscribe
> 
> .
>


-- 
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/2109#issuecomment-546285157___
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] Switch from deprecated /var/run to /run (#2110)

2019-10-25 Thread Daniel-Constantin Mierla
Thanks! I am going to push it split in a few commits.

-- 
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/2110#issuecomment-546284527___
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: adding RPC dlg.kill_active_dlg command (#2111)

2019-10-25 Thread jklingenmeyer
- only handles active dialogs in state 4
- wipes out a given dialog callously
- no subcalls to dialog-ending functions
- dialog is then removed by the recurring cleaning function execution
- as discussed in sr-users in topic [Dialog] Removing entries from dialog 
memory

 Pre-Submission Checklist
- [ ] Commit message has the format required by CONTRIBUTING guide
- [ ] Commits are split per component (core, individual modules, libs, utils, 
...)
- [ ] Each component has a single commit (if not, squash them into one commit)
- [ ] No commits to README files for modules (changes must be done to docbook 
files
in `doc/` subfolder, the README file is autogenerated)

 Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)

 Checklist:
- [ ] PR should be backported to stable branches
- [ ] Tested changes locally
- [ ] Related to issue # (replace  with an open issue number)

 Description

Hi,

As discussed in the sr-users mailing-list, I am proposing this PR to add a very 
simple new rpc command to the dialog module. dlg.kill_active_dialog kills any 
given active dialog from memory.

A paragraph in the dialog documentation precises the dangerous nature of this 
command, to be used with caution.

Please feel free to discuss about it.

Thanks!

Julien
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * dialog: adding RPC dlg.kill_active_dlg command

-- File Changes --

M src/modules/dialog/dialog.c (56)
M src/modules/dialog/doc/dialog.xml (5)
M src/modules/dialog/doc/dialog_admin.xml (33)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/2111.patch
https://github.com/kamailio/kamailio/pull/2111.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/2111
___
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] add rtpproxy in kamailio/kamailio-ci:master-alpine (#2109)

2019-10-25 Thread sergey-safarov
Kubernetes out of box not ready for VoIP/
You can look https://github.com/kubernetes/kubernetes/issues/80122

RTP will be fixed if rtpproxy, FreeSwitch or similar daemon will started on 
`host` network.
Do to it reqired own dedicated media daemon image. 
[Example](https://cloud.docker.com/u/safarov/repository/docker/safarov/freeswitch)

`rtpproxy` image not exist on docker hub. bit may be easyly creeated.
Here example how to create own docker images for your needs
https://github.com/sergey-safarov/dockerfiles/blob/master/certbot/0.37.1/alpine/Dockerfile

One feature that not exist on Kubernes is "static IP" for Kamailio. This may be 
done by customizing Kubernetes source code. Or by customizing kubernetes 
nodegroup init script.

I will close ticket, because this not related to kamailio or kamailio packaging.

-- 
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/2109#issuecomment-546280911___
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] add rtpproxy in kamailio/kamailio-ci:master-alpine (#2109)

2019-10-25 Thread sergey-safarov
Closed #2109.

-- 
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/2109#event-2743572893___
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] add rtpproxy in kamailio/kamailio-ci:master-alpine (#2109)

2019-10-25 Thread Gaurav Bmotra
hi
i want to use this image in kubernetese on AWS   behinf the NAT so there is
audio  one way issue
so that why i need  rtpproxy in this image

thank you
Regards :
Gaurav Kumar




On Fri, Oct 25, 2019 at 12:14 PM sergey-safarov 
wrote:

> Where you want use this image?
>
>1. bare metal server
>2. docker swarm
>3. kebernetes
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> ,
> or unsubscribe
> 
> .
>


-- 
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/2109#issuecomment-546225242___
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] add rtpproxy in kamailio/kamailio-ci:master-alpine (#2109)

2019-10-25 Thread sergey-safarov
Where you want use this image?
1. bare metal server
1. docker swarm
1. kebernetes


-- 
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/2109#issuecomment-546224496___
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] add rtpproxy in kamailio/kamailio-ci:master-alpine (#2109)

2019-10-25 Thread Gaurav Bmotra
hi thank you for reply
but i  talking about rtpproxy package to install in same image  not
rtpproxy module
thank you


Regards :
Gaurav Kumar




On Fri, Oct 25, 2019 at 1:52 AM sergey-safarov 
wrote:

> I checked current image and found module present.
> Why you think not?
>
> [safarov@safarov-dell pkg]$ docker run -it --entrypoint sh 
> kamailio/kamailio-ci:master-alpine
> / # find /usr/lib/kamailio/ -name "*rtp*"
> /usr/lib/kamailio/modules/rtpproxy.so
> /usr/lib/kamailio/modules/rtpengine.so
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> ,
> or unsubscribe
> 
> .
>


-- 
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/2109#issuecomment-546223069___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:5.3:9bf5f8a7: pkg/kamailio/obs: added packaging for RHEL 8 and for CentOS 8 dists GH #2078 [skip ci]

2019-10-25 Thread Sergey Safarov
Module: kamailio
Branch: 5.3
Commit: 9bf5f8a70edb2a0c5177389cae1ddc1778a53ede
URL: 
https://github.com/kamailio/kamailio/commit/9bf5f8a70edb2a0c5177389cae1ddc1778a53ede

Author: Sergey Safarov 
Committer: Sergey Safarov 
Date: 2019-10-24T23:11:40+03:00

pkg/kamailio/obs: added packaging for RHEL 8 and for CentOS 8 dists GH #2078 
[skip ci]

(cherry picked from commit a3ce062fdec2d3a5d5e46f49c9d0ea9d449a1bec)

---

Modified: pkg/kamailio/obs/kamailio.spec

---

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


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


[sr-dev] git:5.3:eb79a136: pkg/kamailio/obs: packaged lost module [skip ci]

2019-10-25 Thread Sergey Safarov
Module: kamailio
Branch: 5.3
Commit: eb79a1361ef47671b7ee64789cd89e505d3f7031
URL: 
https://github.com/kamailio/kamailio/commit/eb79a1361ef47671b7ee64789cd89e505d3f7031

Author: Sergey Safarov 
Committer: Sergey Safarov 
Date: 2019-10-24T22:54:56+03:00

pkg/kamailio/obs: packaged lost module [skip ci]

(cherry picked from commit ac97c59a762b5ebf024775785193a9b25345c2fe)

---

Modified: pkg/kamailio/obs/kamailio.spec

---

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

---

diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index 71a462b450..ba03940e30 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -321,7 +321,7 @@ Conflicts:  kamailio-carrierroute < %ver, kamailio-cpl < 
%ver
 Conflicts:  kamailio-dialplan < %ver, kamailio-dnssec < %ver
 Conflicts:  kamailio-geoip < %ver, kamailio-gzcompress < %ver
 Conflicts:  kamailio-ims < %ver, kamailio-java < %ver, kamailio-json < %ver
-Conflicts:  kamailio-lcr < %ver, kamailio-ldap < %ver, kamailio-lua < %ver
+Conflicts:  kamailio-lcr < %ver, kamailio-ldap < %ver, kamailio-lost < %ver, 
kamailio-lua < %ver
 Conflicts:  kamailio-kazoo < %ver
 Conflicts:  kamailio-rabbitmq < %ver
 Conflicts:  kamailio-memcached < %ver, kamailio-mongodb < %ver, kamailio-mysql 
< %ver
@@ -686,6 +686,14 @@ BuildRequires:  openldap-devel
 %descriptionldap
 LDAP search interface for Kamailio.
 
+%packagelost
+Summary:HELD (RFC6155) and LOST (RFC5222) location-based routing
+Group:  %{PKGGROUP}
+Requires:   libxml2, kamailio = %ver
+BuildRequires:  libxml2-devel
+
+%descriptionlost
+HELD (RFC6155) and LOST (RFC5222) location-based routing support for Kamailio.
 
 %if %{with lua}
 %packagelua
@@ -1467,7 +1475,6 @@ fi
 %doc %{_docdir}/kamailio/modules/README.ipops
 %doc %{_docdir}/kamailio/modules/README.kemix
 %doc %{_docdir}/kamailio/modules/README.kex
-%doc %{_docdir}/kamailio/modules/README.lost
 %doc %{_docdir}/kamailio/modules/README.malloc_test
 %doc %{_docdir}/kamailio/modules/README.mangler
 %doc %{_docdir}/kamailio/modules/README.matrix
@@ -1621,7 +1628,6 @@ fi
 %{_libdir}/kamailio/modules/ipops.so
 %{_libdir}/kamailio/modules/kemix.so
 %{_libdir}/kamailio/modules/kex.so
-%{_libdir}/kamailio/modules/lost.so
 %{_libdir}/kamailio/modules/malloc_test.so
 %{_libdir}/kamailio/modules/mangler.so
 %{_libdir}/kamailio/modules/matrix.so
@@ -1916,6 +1922,11 @@ fi
 %{_libdir}/kamailio/modules/h350.so
 %{_libdir}/kamailio/modules/ldap.so
 
+%files  lost
+%defattr(-,root,root)
+%doc %{_docdir}/kamailio/modules/README.lost
+%{_libdir}/kamailio/modules/lost.so
+
 
 %if %{with lua}
 %files  lua


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


[sr-dev] git:5.2:dc0d4f85: pkg/kamailio/obs: added packaging for RHEL 8 and for CentOS 8 dists GH #2078 [skip ci]

2019-10-25 Thread Sergey Safarov
Module: kamailio
Branch: 5.2
Commit: dc0d4f8514ca8aec79e57c49e91360a5ed90f3fd
URL: 
https://github.com/kamailio/kamailio/commit/dc0d4f8514ca8aec79e57c49e91360a5ed90f3fd

Author: Sergey Safarov 
Committer: Sergey Safarov 
Date: 2019-10-24T23:08:23+03:00

pkg/kamailio/obs: added packaging for RHEL 8 and for CentOS 8 dists GH #2078 
[skip ci]

(cherry picked from commit a3ce062fdec2d3a5d5e46f49c9d0ea9d449a1bec)

---

Modified: pkg/kamailio/obs/kamailio.spec

---

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


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


[sr-dev] git:5.3:6a2e45a6: pkg/kamailio: Updated RPM spec release extracting for "-rc" [skip ci]

2019-10-25 Thread Sergey Safarov
Module: kamailio
Branch: 5.3
Commit: 6a2e45a6133b7fe8da3715971e73efd5afe6ca7e
URL: 
https://github.com/kamailio/kamailio/commit/6a2e45a6133b7fe8da3715971e73efd5afe6ca7e

Author: Sergey Safarov 
Committer: Sergey Safarov 
Date: 2019-10-24T22:54:44+03:00

pkg/kamailio: Updated RPM spec release extracting for "-rc" [skip ci]

(cherry picked from commit 1361ce6e980856ce7a3ffb77349cc45254ced6ab)

---

Modified: pkg/kamailio/Makefile

---

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

---

diff --git a/pkg/kamailio/Makefile b/pkg/kamailio/Makefile
index a221ff085c..d6ce6672f4 100644
--- a/pkg/kamailio/Makefile
+++ b/pkg/kamailio/Makefile
@@ -7,7 +7,7 @@ $(error Please start "make cfg" first)
 endif
 
 RPMBUILD_TOP := /tmp/kamailio_rpmbuild
-RPM_VER = ${shell echo "$(RELEASE)" | sed -e "s/-dev[0-9]//" }
+RPM_VER = ${shell echo "$(RELEASE)" | sed -e "s/-dev[0-9]//" -e "s/-rc[0-9]//"}
 RPM_REL = ${shell echo "$(RELEASE)." | grep -o -P "dev[0-9]\." }
 DIST_ARCHIVE = ${shell echo "kamailio-$(RPM_VER)_src.tar.gz"}
 APK_VERSION = ${shell echo "$(RELEASE)" | grep -o "^[0-9.]*"}
@@ -45,7 +45,7 @@ src.rpm: tar
 -e 's/setup -n %{name}-%{ver}/setup -n kamailio-$(RELEASE)/' \
 -i obs/kamailio.spec
rpmbuild ${RPMBUILD_OPT} -bs obs/kamailio.spec
-   mv ${RPMBUILD_TOP}/SRPMS/kamailio-$(RELEASE)*.src.rpm ../..
+   mv ${RPMBUILD_TOP}/SRPMS/kamailio-${RPM_VER}*.src.rpm ../..
rm -Rf ${RPMBUILD_TOP}
 
 # build rpm packages


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


[sr-dev] git:5.2:b40d13d4: pkg/kamailio: Updated RPM spec release extracting for "-rc" [skip ci]

2019-10-25 Thread Sergey Safarov
Module: kamailio
Branch: 5.2
Commit: b40d13d4e68112ff9598fd78fdd0bb7bcad410d8
URL: 
https://github.com/kamailio/kamailio/commit/b40d13d4e68112ff9598fd78fdd0bb7bcad410d8

Author: Sergey Safarov 
Committer: Sergey Safarov 
Date: 2019-10-24T23:08:03+03:00

pkg/kamailio: Updated RPM spec release extracting for "-rc" [skip ci]

(cherry picked from commit 1361ce6e980856ce7a3ffb77349cc45254ced6ab)

---

Modified: pkg/kamailio/Makefile

---

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

---

diff --git a/pkg/kamailio/Makefile b/pkg/kamailio/Makefile
index a221ff085c..d6ce6672f4 100644
--- a/pkg/kamailio/Makefile
+++ b/pkg/kamailio/Makefile
@@ -7,7 +7,7 @@ $(error Please start "make cfg" first)
 endif
 
 RPMBUILD_TOP := /tmp/kamailio_rpmbuild
-RPM_VER = ${shell echo "$(RELEASE)" | sed -e "s/-dev[0-9]//" }
+RPM_VER = ${shell echo "$(RELEASE)" | sed -e "s/-dev[0-9]//" -e "s/-rc[0-9]//"}
 RPM_REL = ${shell echo "$(RELEASE)." | grep -o -P "dev[0-9]\." }
 DIST_ARCHIVE = ${shell echo "kamailio-$(RPM_VER)_src.tar.gz"}
 APK_VERSION = ${shell echo "$(RELEASE)" | grep -o "^[0-9.]*"}
@@ -45,7 +45,7 @@ src.rpm: tar
 -e 's/setup -n %{name}-%{ver}/setup -n kamailio-$(RELEASE)/' \
 -i obs/kamailio.spec
rpmbuild ${RPMBUILD_OPT} -bs obs/kamailio.spec
-   mv ${RPMBUILD_TOP}/SRPMS/kamailio-$(RELEASE)*.src.rpm ../..
+   mv ${RPMBUILD_TOP}/SRPMS/kamailio-${RPM_VER}*.src.rpm ../..
rm -Rf ${RPMBUILD_TOP}
 
 # build rpm packages


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


[sr-dev] git:5.2:116fb010: pkg/kamailio: added rpm spec version and release configuration [skip ci]

2019-10-25 Thread Sergey Safarov
Module: kamailio
Branch: 5.2
Commit: 116fb0108b0f422cff955a37ce6b16de94f22c64
URL: 
https://github.com/kamailio/kamailio/commit/116fb0108b0f422cff955a37ce6b16de94f22c64

Author: Sergey Safarov 
Committer: Sergey Safarov 
Date: 2019-10-24T23:08:03+03:00

pkg/kamailio: added rpm spec version and release configuration [skip ci]

(cherry picked from commit ab0a69eb01953be97ccdfdb230e5af06bac9649c)

---

Modified: pkg/kamailio/Makefile

---

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

---

diff --git a/pkg/kamailio/Makefile b/pkg/kamailio/Makefile
index 63c024c158..a221ff085c 100644
--- a/pkg/kamailio/Makefile
+++ b/pkg/kamailio/Makefile
@@ -6,8 +6,10 @@ else ifneq ($(MAKECMDGOALS),cfg)
 $(error Please start "make cfg" first)
 endif
 
-RPMBUILD_TOP := /tmp/rpmbuild
-DIST_ARCHIVE = ${shell echo "kamailio-$(RELEASE)_src.tar.gz" | sed -e 
"s/-dev[0-9]//" }
+RPMBUILD_TOP := /tmp/kamailio_rpmbuild
+RPM_VER = ${shell echo "$(RELEASE)" | sed -e "s/-dev[0-9]//" }
+RPM_REL = ${shell echo "$(RELEASE)." | grep -o -P "dev[0-9]\." }
+DIST_ARCHIVE = ${shell echo "kamailio-$(RPM_VER)_src.tar.gz"}
 APK_VERSION = ${shell echo "$(RELEASE)" | grep -o "^[0-9.]*"}
 RPMBUILD_OPT= --define "_topdir $(RPMBUILD_TOP)"
 GIT_TAG = ${shell git rev-parse HEAD 2> /dev/null}
@@ -38,7 +40,10 @@ apk:
 src.rpm: tar
mkdir -p ${RPMBUILD_TOP}/SOURCES
mv ../../kamailio-$(RELEASE)_src.tar.gz 
${RPMBUILD_TOP}/SOURCES/${DIST_ARCHIVE}
-   sed -i -e 's/setup -n %{name}-%{ver}/setup -n kamailio-$(RELEASE)/' 
obs/kamailio.spec
+   sed -e 's/%define ver .*/%define ver ${RPM_VER}/' \
+-e 's/%define rel .*/%define rel ${RPM_REL}0%{dist}/' \
+-e 's/setup -n %{name}-%{ver}/setup -n kamailio-$(RELEASE)/' \
+-i obs/kamailio.spec
rpmbuild ${RPMBUILD_OPT} -bs obs/kamailio.spec
mv ${RPMBUILD_TOP}/SRPMS/kamailio-$(RELEASE)*.src.rpm ../..
rm -Rf ${RPMBUILD_TOP}


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


[sr-dev] git:master:a3ce062f: pkg/kamailio/obs: added packaging for RHEL 8 and for CentOS 8 dists GH #2078 [skip ci]

2019-10-25 Thread Sergey Safarov
Module: kamailio
Branch: master
Commit: a3ce062fdec2d3a5d5e46f49c9d0ea9d449a1bec
URL: 
https://github.com/kamailio/kamailio/commit/a3ce062fdec2d3a5d5e46f49c9d0ea9d449a1bec

Author: Sergey Safarov 
Committer: Sergey Safarov 
Date: 2019-10-24T22:47:41+03:00

pkg/kamailio/obs: added packaging for RHEL 8 and for CentOS 8 dists GH #2078 
[skip ci]

---

Modified: pkg/kamailio/obs/kamailio.spec

---

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


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


[sr-dev] git:master:5d1cecd1: pkg/kamailio/obs: small spec formating [skip ci]

2019-10-25 Thread Sergey Safarov
Module: kamailio
Branch: master
Commit: 5d1cecd13ee1644a42000d5900e24d7d8c10b851
URL: 
https://github.com/kamailio/kamailio/commit/5d1cecd13ee1644a42000d5900e24d7d8c10b851

Author: Sergey Safarov 
Committer: Sergey Safarov 
Date: 2019-10-24T22:47:29+03:00

pkg/kamailio/obs: small spec formating [skip ci]

---

Modified: pkg/kamailio/obs/kamailio.spec

---

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

---

diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index a645e2fbff..2dc6d8b5aa 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -345,7 +345,7 @@ BuildRequires:  systemd-mini, shadow
 
 
 %description
-Kamailio (former OpenSER) is an Open Source SIP Server released under GPL, able
+Kamailio is an Open Source SIP Server released under GPL, able
 to handle thousands of call setups per second. Among features: asynchronous 
TCP,
 UDP and SCTP, secure communication via TLS for VoIP (voice, video); IPv4 and
 IPv6; SIMPLE instant messaging and presence with embedded XCAP server and MSRP
@@ -2207,11 +2207,11 @@ fi
 
 %files  tls
 %defattr(-,root,root)
+%dir %{_libdir}/kamailio/openssl_mutex_shared
 %doc %{_docdir}/kamailio/modules/README.auth_identity
 %doc %{_docdir}/kamailio/modules/README.tls
 %{_libdir}/kamailio/modules/auth_identity.so
 %{_libdir}/kamailio/modules/tls.so
-%dir %{_libdir}/kamailio/openssl_mutex_shared
 %{_libdir}/kamailio/openssl_mutex_shared/openssl_mutex_shared.so
 
 


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


[sr-dev] git:master:ac97c59a: pkg/kamailio/obs: packaged lost module [skip ci]

2019-10-25 Thread Sergey Safarov
Module: kamailio
Branch: master
Commit: ac97c59a762b5ebf024775785193a9b25345c2fe
URL: 
https://github.com/kamailio/kamailio/commit/ac97c59a762b5ebf024775785193a9b25345c2fe

Author: Sergey Safarov 
Committer: Sergey Safarov 
Date: 2019-10-24T22:47:23+03:00

pkg/kamailio/obs: packaged lost module [skip ci]

---

Modified: pkg/kamailio/obs/kamailio.spec

---

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

---

diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index 9dc8a2a249..a645e2fbff 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -321,7 +321,7 @@ Conflicts:  kamailio-carrierroute < %ver, kamailio-cpl < 
%ver
 Conflicts:  kamailio-dialplan < %ver, kamailio-dnssec < %ver
 Conflicts:  kamailio-geoip < %ver, kamailio-gzcompress < %ver
 Conflicts:  kamailio-ims < %ver, kamailio-java < %ver, kamailio-json < %ver
-Conflicts:  kamailio-lcr < %ver, kamailio-ldap < %ver, kamailio-lua < %ver
+Conflicts:  kamailio-lcr < %ver, kamailio-ldap < %ver, kamailio-lost < %ver, 
kamailio-lua < %ver
 Conflicts:  kamailio-kazoo < %ver
 Conflicts:  kamailio-rabbitmq < %ver
 Conflicts:  kamailio-memcached < %ver, kamailio-mongodb < %ver, kamailio-mysql 
< %ver
@@ -686,6 +686,14 @@ BuildRequires:  openldap-devel
 %descriptionldap
 LDAP search interface for Kamailio.
 
+%packagelost
+Summary:HELD (RFC6155) and LOST (RFC5222) location-based routing
+Group:  %{PKGGROUP}
+Requires:   libxml2, kamailio = %ver
+BuildRequires:  libxml2-devel
+
+%descriptionlost
+HELD (RFC6155) and LOST (RFC5222) location-based routing support for Kamailio.
 
 %if %{with lua}
 %packagelua
@@ -1467,7 +1475,6 @@ fi
 %doc %{_docdir}/kamailio/modules/README.ipops
 %doc %{_docdir}/kamailio/modules/README.kemix
 %doc %{_docdir}/kamailio/modules/README.kex
-%doc %{_docdir}/kamailio/modules/README.lost
 %doc %{_docdir}/kamailio/modules/README.malloc_test
 %doc %{_docdir}/kamailio/modules/README.mangler
 %doc %{_docdir}/kamailio/modules/README.matrix
@@ -1621,7 +1628,6 @@ fi
 %{_libdir}/kamailio/modules/ipops.so
 %{_libdir}/kamailio/modules/kemix.so
 %{_libdir}/kamailio/modules/kex.so
-%{_libdir}/kamailio/modules/lost.so
 %{_libdir}/kamailio/modules/malloc_test.so
 %{_libdir}/kamailio/modules/mangler.so
 %{_libdir}/kamailio/modules/matrix.so
@@ -1916,6 +1922,11 @@ fi
 %{_libdir}/kamailio/modules/h350.so
 %{_libdir}/kamailio/modules/ldap.so
 
+%files  lost
+%defattr(-,root,root)
+%doc %{_docdir}/kamailio/modules/README.lost
+%{_libdir}/kamailio/modules/lost.so
+
 
 %if %{with lua}
 %files  lua


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


[sr-dev] git:master:1361ce6e: pkg/kamailio: Updated RPM spec release extracting for "-rc" [skip ci]

2019-10-25 Thread Sergey Safarov
Module: kamailio
Branch: master
Commit: 1361ce6e980856ce7a3ffb77349cc45254ced6ab
URL: 
https://github.com/kamailio/kamailio/commit/1361ce6e980856ce7a3ffb77349cc45254ced6ab

Author: Sergey Safarov 
Committer: Sergey Safarov 
Date: 2019-10-24T22:46:51+03:00

pkg/kamailio: Updated RPM spec release extracting for "-rc" [skip ci]

---

Modified: pkg/kamailio/Makefile

---

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

---

diff --git a/pkg/kamailio/Makefile b/pkg/kamailio/Makefile
index a221ff085c..d6ce6672f4 100644
--- a/pkg/kamailio/Makefile
+++ b/pkg/kamailio/Makefile
@@ -7,7 +7,7 @@ $(error Please start "make cfg" first)
 endif
 
 RPMBUILD_TOP := /tmp/kamailio_rpmbuild
-RPM_VER = ${shell echo "$(RELEASE)" | sed -e "s/-dev[0-9]//" }
+RPM_VER = ${shell echo "$(RELEASE)" | sed -e "s/-dev[0-9]//" -e "s/-rc[0-9]//"}
 RPM_REL = ${shell echo "$(RELEASE)." | grep -o -P "dev[0-9]\." }
 DIST_ARCHIVE = ${shell echo "kamailio-$(RPM_VER)_src.tar.gz"}
 APK_VERSION = ${shell echo "$(RELEASE)" | grep -o "^[0-9.]*"}
@@ -45,7 +45,7 @@ src.rpm: tar
 -e 's/setup -n %{name}-%{ver}/setup -n kamailio-$(RELEASE)/' \
 -i obs/kamailio.spec
rpmbuild ${RPMBUILD_OPT} -bs obs/kamailio.spec
-   mv ${RPMBUILD_TOP}/SRPMS/kamailio-$(RELEASE)*.src.rpm ../..
+   mv ${RPMBUILD_TOP}/SRPMS/kamailio-${RPM_VER}*.src.rpm ../..
rm -Rf ${RPMBUILD_TOP}
 
 # build rpm packages


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