|
@@ -7,6 +7,7 @@
|
|
|
%define dist_version %{?fedora}
|
|
|
%bcond_without cnxcc
|
|
|
%bcond_with dnssec
|
|
|
+%bcond_without evapi
|
|
|
%bcond_without geoip
|
|
|
%bcond_without http_async_client
|
|
|
%bcond_without ims
|
|
@@ -32,6 +33,7 @@
|
|
|
%define dist_version %{?centos}
|
|
|
%bcond_with cnxcc
|
|
|
%bcond_without dnssec
|
|
|
+%bcond_without evapi
|
|
|
%bcond_without geoip
|
|
|
%bcond_without http_async_client
|
|
|
%bcond_without ims
|
|
@@ -58,6 +60,7 @@
|
|
|
%define dist .el7.centos
|
|
|
%bcond_without cnxcc
|
|
|
%bcond_with dnssec
|
|
|
+%bcond_without evapi
|
|
|
%bcond_without geoip
|
|
|
%bcond_without http_async_client
|
|
|
%bcond_without ims
|
|
@@ -84,6 +87,7 @@
|
|
|
%define dist .el8.centos
|
|
|
%bcond_without cnxcc
|
|
|
%bcond_with dnssec
|
|
|
+%bcond_without evapi
|
|
|
%bcond_with geoip
|
|
|
%bcond_without http_async_client
|
|
|
%bcond_without ims
|
|
@@ -109,6 +113,7 @@
|
|
|
%define dist_version %{?suse_version}
|
|
|
%bcond_without cnxcc
|
|
|
%bcond_with dnssec
|
|
|
+%bcond_with evapi
|
|
|
%bcond_without geoip
|
|
|
%bcond_without http_async_client
|
|
|
%bcond_without ims
|
|
@@ -134,6 +139,7 @@
|
|
|
%define dist_version %{?rhel}
|
|
|
%bcond_with cnxcc
|
|
|
%bcond_without dnssec
|
|
|
+%bcond_without evapi
|
|
|
%bcond_with geoip
|
|
|
%bcond_with http_async_client
|
|
|
%bcond_with ims
|
|
@@ -159,6 +165,7 @@
|
|
|
%define dist_version %{?rhel}
|
|
|
%bcond_without cnxcc
|
|
|
%bcond_with dnssec
|
|
|
+%bcond_without evapi
|
|
|
%bcond_without geoip
|
|
|
%bcond_without http_async_client
|
|
|
%bcond_without ims
|
|
@@ -184,6 +191,7 @@
|
|
|
%define dist_version %{?rhel}
|
|
|
%bcond_without cnxcc
|
|
|
%bcond_with dnssec
|
|
|
+%bcond_without evapi
|
|
|
%bcond_with geoip
|
|
|
%bcond_without http_async_client
|
|
|
%bcond_without ims
|
|
@@ -444,6 +452,21 @@ DNSSEC support for Kamailio.
|
|
|
%endif
|
|
|
|
|
|
|
|
|
+%if %{with evapi}
|
|
|
+%package evapi
|
|
|
+Summary: Module can be used to create an event message flow from Kamailio to any application that can connect to a TCP socket
|
|
|
+Group: %{PKGGROUP}
|
|
|
+Requires: libev, kamailio = %ver
|
|
|
+BuildRequires: libev-devel
|
|
|
+
|
|
|
+%description evapi
|
|
|
+The remote application can also issue messages received by Kamailio.
|
|
|
+There is no protocol definition, it is all up to the author of the routing script.
|
|
|
+Events can be generated for any event in Kamailio. For 3rd party transaction control, a transaction can be automatically
|
|
|
+suspended when sending the event, to be resumed at a later point, maybe triggered by an incoming message on the event socket.
|
|
|
+%endif
|
|
|
+
|
|
|
+
|
|
|
%if %{with geoip}
|
|
|
%package geoip
|
|
|
Summary: MaxMind GeoIP support for Kamailio
|
|
@@ -1099,6 +1122,9 @@ make every-module skip_modules="app_mono db_cassandra db_oracle iptrtpproxy \
|
|
|
%if %{with dnssec}
|
|
|
kdnssec \
|
|
|
%endif
|
|
|
+%if %{with evapi}
|
|
|
+ kev \
|
|
|
+%endif
|
|
|
%if %{with geoip}
|
|
|
kgeoip \
|
|
|
%endif
|
|
@@ -1183,6 +1209,9 @@ make install-modules-all skip_modules="app_mono db_cassandra db_oracle \
|
|
|
%if %{with dnssec}
|
|
|
kdnssec \
|
|
|
%endif
|
|
|
+%if %{with evapi}
|
|
|
+ kev \
|
|
|
+%endif
|
|
|
%if %{with geoip}
|
|
|
kgeoip \
|
|
|
%endif
|
|
@@ -1716,6 +1745,14 @@ fi
|
|
|
%endif
|
|
|
|
|
|
|
|
|
+%if %{with evapi}
|
|
|
+%files evapi
|
|
|
+%defattr(-,root,root)
|
|
|
+%doc %{_docdir}/kamailio/modules/README.evapi
|
|
|
+%{_libdir}/kamailio/modules/evapi.so
|
|
|
+%endif
|
|
|
+
|
|
|
+
|
|
|
%if %{with geoip}
|
|
|
%files geoip
|
|
|
%defattr(-,root,root)
|