<!-- Kamailio Project uses GitHub Issues only for bugs in the code or feature requests. Please use this template only for bug reports.
If you have questions about using Kamailio or related to its configuration file, ask on sr-users mailing list:
* http://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
If you have questions about developing extensions to Kamailio or its existing C code, ask on sr-dev mailing list:
* http://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Please try to fill this template as much as possible for any issue. It helps the developers to troubleshoot the issue.
If there is no content to be filled in a section, the entire section can be removed.
You can delete the comments from the template sections when filling.
You can delete next line and everything above before submitting (it is a comment). -->
kamailio-sipcapture-daemon-config can't be installed because it depends on the kamailio-sipcapture package, which can't be found...
<!-- Explain what you did, what you expected to happen, and what actually happened. -->
Use the http://download.opensuse.org/repositories/home:/kamailio:/v5.2.x-rpms/CentOS... repo and try to install the kamailio-sipcapture-daemon-config. The dependency can't be resolved and so the package does not install. It is not clear if the dependency is missing or if it is not valid.
``` # yum install kamailio-sipcapture-daemon-config Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.optus.net * epel: mirror.optus.net * extras: mirror.intergrid.com.au * updates: mirror.intergrid.com.au Resolving Dependencies --> Running transaction check ---> Package kamailio-sipcapture-daemon-config.x86_64 0:5.2.1-1.el7.centos will be installed --> Processing Dependency: kamailio-sipcapture = 5.2.1 for package: kamailio-sipcapture-daemon-config-5.2.1-1.el7.centos.x86_64 --> Finished Dependency Resolution Error: Package: kamailio-sipcapture-daemon-config-5.2.1-1.el7.centos.x86_64 (home_kamailio_v5.2.x-rpms) Requires: kamailio-sipcapture = 5.2.1 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
# yum deplist kamailio-sipcapture-daemon-config Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.optus.net * epel: mirror.optus.net * extras: mirror.intergrid.com.au * updates: mirror.intergrid.com.au package: kamailio-sipcapture-daemon-config.x86_64 5.2.1-1.el7.centos dependency: /bin/sh provider: bash.x86_64 4.2.46-31.el7 dependency: kamailio-sipcapture = 5.2.1 Unsatisfied dependency ```
<!-- If the issue can be reproduced, describe how it can be done. -->
<!-- If you got a core dump, use gdb to extract troubleshooting data - full backtrace, local variables and the list of the code at the issue location.
gdb /path/to/kamailio /path/to/corefile bt full info locals list
If you are familiar with gdb, feel free to attach more of what you consider to be relevant. -->
<!-- Check the syslog file and if there are relevant log messages printed by Kamailio, add them next, or attach to issue, or provide a link to download them (e.g., to a pastebin site). -->
<!-- If the issue is exposed by processing specific SIP messages, grab them with ngrep or save in a pcap file, then add them next, or attach to issue, or provide a link to download them (e.g., to a pastebin site). -->
<!-- If you found a solution or workaround for the issue, describe it. Ideally, provide a pull request with a fix. -->
* **Operating System**:
<!-- Details about the operating system, the type: Linux (e.g.,: Debian 8.4, Ubuntu 16.04, CentOS 7.1, ...), MacOS, xBSD, Solaris, ...; Kernel details (output of `uname -a`) -->
``` # uname -a Linux voice-conn-kamailio-1 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux # cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core)
```
I pushed 9bfca35ea9441adacfdd55fe168ceeb04a5b77e1 commit that fix it and started RPM packages rebuild. Please check after hour. If ok, then i push it into `5.2` and `5.1` branch
Hi Sergey, I just tested and now it is installing fine! Thanks for your time! Patrick Wakano
``` # yum install kamailio-sipcapture-daemon-config-5.2.1 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.ventraip.net.au * epel: fedora.mirror.serversaustralia.com.au * extras: centos.mirror.serversaustralia.com.au * updates: mirror.ventraip.net.au Resolving Dependencies --> Running transaction check ---> Package kamailio-sipcapture-daemon-config.x86_64 0:5.2.1-2.el7.centos will be installed --> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================================================================================= Package Arch Version Repository Size ========================================================================================================================================================================================= Installing: kamailio-sipcapture-daemon-config x86_64 5.2.1-2.el7.centos home_kamailio_v5.2.x-rpms 15 k
Transaction Summary ========================================================================================================================================================================================= Install 1 Package
Total download size: 15 k Installed size: 39 k Is this ok [y/d/N]: y Downloading packages: kamailio-sipcapture-daemon-config-5.2.1-2.el7.centos.x86_64.rpm | 15 kB 00:00:02 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : kamailio-sipcapture-daemon-config-5.2.1-2.el7.centos.x86_64 1/1 Verifying : kamailio-sipcapture-daemon-config-5.2.1-2.el7.centos.x86_64 1/1
Installed: kamailio-sipcapture-daemon-config.x86_64 0:5.2.1-2.el7.centos
Complete!
```
Is sipcapture config started at server boot?
Hi Sergey, I think so. Check below what was installed. Is that what you expected?
``` # repoquery --list kamailio-sipcapture-daemon-config /etc/kamailio/kamailio-sipcapture.cfg /etc/sysconfig/sipcapture /usr/lib/systemd/system/sipcapture.service /usr/lib/tmpfiles.d/sipcapture.conf
```
required output of ``` systemctl status sipcapture.service ```
Hi Sergey, Check below. I think it is ok. It is not properly configured so it dies after the start, but service itself is there. ``` # systemctl status sipcapture.service ● sipcapture.service - Kamailio SIP router server daemon for sipcapture Loaded: loaded (/usr/lib/systemd/system/sipcapture.service; enabled; vendor preset: disabled) Active: inactive (dead) # systemctl start sipcapture # systemctl status sipcapture.service ● sipcapture.service - Kamailio SIP router server daemon for sipcapture Loaded: loaded (/usr/lib/systemd/system/sipcapture.service; enabled; vendor preset: disabled) Active: active (running) since Wed 2019-02-20 17:07:57 AEDT; 1s ago Main PID: 17547 (kamailio) CGroup: /system.slice/sipcapture.service ├─17547 /usr/sbin/kamailio -DD -P /run/sipcapture/sipcapture.pid -f /etc/kamailio/kamailio-sipcapture.cfg -m 32 -M 4 └─17568 /usr/sbin/kamailio -DD -P /run/sipcapture/sipcapture.pid -f /etc/kamailio/kamailio-sipcapture.cfg -m 32 -M 4
```
Thanks. i close ticket.
Closed #1861.
Sorry to comment on a closed ticket, but this problem is happening again for the 5.2.8 version from the rpm.kamailio.org/centos repo. Looks like the fix was reverted somehow.... # yum install kamailio-sipcapture-daemon-config Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.intergrid.com.au * epel: fedora.mirror.serversaustralia.com.au * extras: mirror.nsw.coloau.com.au * updates: mirror.intergrid.com.au Resolving Dependencies --> Running transaction check ---> Package kamailio-sipcapture-daemon-config.x86_64 0:5.2.2-3.el7.centos will be updated ---> Package kamailio-sipcapture-daemon-config.x86_64 0:5.2.8-0.el7.centos will be an update --> Processing Dependency: kamailio-sipcapture = 5.2.8 for package: kamailio-sipcapture-daemon-config-5.2.8-0.el7.centos.x86_64 --> Finished Dependency Resolution Error: Package: kamailio-sipcapture-daemon-config-5.2.8-0.el7.centos.x86_64 (kamailio-5.2) Requires: kamailio-sipcapture = 5.2.8 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
@pwakano 5.2.8 is end of life now, can please try a newer version? If the bug is also present for 5.3.x or 5.4.x releases, please re-open.
Just installed on 5.4 branch ``` [root@9d4da021a387 /]# dnf install kamailio-sipcapture-daemon-config Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:01:37 ago on Thu Oct 22 09:13:23 2020. Dependencies resolved. ============================================================================================================================================================================= Package Architecture Version Repository Size ============================================================================================================================================================================= Installing: kamailio-sipcapture-daemon-config x86_64 5.4.1-0.el8.centos kamailio 20 k
Transaction Summary ============================================================================================================================================================================= Install 1 Package
Total download size: 20 k Installed size: 39 k Is this ok [y/N]: y Downloading Packages: kamailio-sipcapture-daemon-config-5.4.1-0.el8.centos.x86_64.rpm 15 kB/s | 20 kB 00:01 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 15 kB/s | 20 kB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : kamailio-sipcapture-daemon-config-5.4.1-0.el8.centos.x86_64 1/1 Running scriptlet: kamailio-sipcapture-daemon-config-5.4.1-0.el8.centos.x86_64 1/1 Verifying : kamailio-sipcapture-daemon-config-5.4.1-0.el8.centos.x86_64 1/1
Installed: kamailio-sipcapture-daemon-config-5.4.1-0.el8.centos.x86_64 ```
I will be glad to hear about wanted updates of sip-capture config.