You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

209 lines
8.6 KiB

;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 John Darrington <>
;;; Copyright © 2015 Andreas Enge <>
;;; Copyright © 2015 David Hashe <>
;;; This file is part of GNU Guix.
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; GNU General Public License for more details.
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <>.
(define-module (gnu packages telephony)
#:use-module (gnu packages)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages linux)
#:use-module (gnu packages pkg-config)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu))
(define-public commoncpp
(name "commoncpp")
(version "1.8.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/" name "/commoncpp2-"
version ".tar.gz"))
(sha256 (base32
'configure 'pre-configure
(lambda _
(substitute* "src/applog.cpp"
(("^// TODO sc.*") "#include <sys/types.h>\n#include <sys/stat.h>\n")))
(build-system gnu-build-system)
(synopsis "(u)Common C++ framework for threaded applications")
(description "GNU Common C++ is an portable, optimized class framework for
threaded applications, supporting concurrent synchronization, inter-process
communications via sockets, and various methods for data handling, such as
serialization and XML parsing. It includes the uCommon C++ library, a smaller
(license gpl2+) ; plus runtime exception
(home-page "")))
(define-public ucommon
(name "ucommon")
(version "6.3.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/commoncpp/" name "-"
version ".tar.gz"))
(sha256 (base32
(build-system gnu-build-system)
(synopsis "Common C++ framework for threaded applications")
(description "GNU uCommon C++ is meant as a very light-weight C++ library
to facilitate using C++ design patterns even for very deeply embedded
applications, such as for systems using uclibc along with posix threading
(license gpl2+) ; plus runtime exception
(home-page "")))
(define-public ccrtp
(name "ccrtp")
(version "2.1.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/ccrtp/ccrtp-"
version ".tar.gz"))
(sha256 (base32
(build-system gnu-build-system)
(inputs `(("ucommon" ,ucommon)
("libgcrypt" ,libgcrypt)))
(native-inputs `(("pkg-config" ,pkg-config)))
(synopsis "Implementation of RTP (real-time transport protocol)")
(description "GNU ccRTP is an implementation of RTP, the real-time transport
protocol from the IETF. It is suitable both for high capacity servers and
personal client applications. It is flexible in its design, allowing it to
function as a framework for the framework, rather than just being a
packet-manipulation library.")
(license gpl2+) ; plus runtime exception
(home-page "")))
(define-public osip
(name "osip")
(version "4.1.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/osip/libosip2-" version ".tar.gz"))
(sha256 (base32
(build-system gnu-build-system)
(synopsis "Library implementing SIP (RFC-3261)")
(description "GNU oSIP is an implementation of the SIP protocol. It is
used to provide multimedia and telecom software developers with an interface
to initiate and control SIP sessions.")
(license lgpl2.1+)
(home-page "")))
(define-public exosip
(name "exosip")
(version "4.1.0")
(source (origin
(method url-fetch)
(uri (string-append
version ".tar.gz"))
(sha256 (base32
(build-system gnu-build-system)
(inputs `(("osip" ,osip)))
(synopsis "Sip abstraction library")
(description "EXosip is a library that hides the complexity of using the
SIP protocol for mutlimedia session establishement. This protocol is mainly to
be used by VoIP telephony applications (endpoints or conference server) but
might be also usefull for any application that wish to establish sessions like
multiplayer games.")
(license gpl2+)
;; (plus OpenSSL linking exception)
(home-page "")))
(define-public sipwitch
(name "sipwitch")
(version "1.9.7")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/sipwitch/sipwitch-"
version ".tar.gz"))
(sha256 (base32
(build-system gnu-build-system)
;; The uses pkg-config but in a kludgy way which breaks when
;; cross-compiling. Among other issues there the program name "pkg-config"
;; is hard coded instead of respecting the PKG_CONFIG environment variable.
;; Fortunately we can avoid the use of pkg-config and set the dependency
;; flags ourselves.
(arguments `(#:configure-flags
,(string-append "UCOMMON_CFLAGS=-I"
(assoc-ref %build-inputs "ucommon") "/include")
"UCOMMON_LIBS=-lusecure -lucommon -lrt -ldl -lpthread"
,(string-append "LIBOSIP2_CFLAGS=-I"
(assoc-ref %build-inputs "osip") "/include")
"LIBOSIP2_LIBS=-losipparser2 -losip2"
,(string-append "--sysconfdir=" (assoc-ref %outputs "out")
,(string-append "EXOSIP2_CFLAGS=-I"
(assoc-ref %build-inputs "exosip")
(inputs `(("ucommon" ,ucommon)
("exosip" ,exosip)
("osip" ,osip)))
(synopsis "Secure peer-to-peer VoIP server for the SIP protocol")
(description "GNU SIP Witch is a peer-to-peer Voice-over-IP server that
uses the SIP protocol. Calls can be made from behind NAT firewalls and
without the need for a service provider. Its peer-to-peer design ensures that
there is no central point for media intercept or capture and thus it can be
used to construct a secure telephone system that operates over the public
(license gpl3+)
(home-page "")))
(define-public libsrtp
(name "libsrtp")
(version "1.5.2")
(source (origin
(method url-fetch)
(uri (string-append ""
version ".tar.gz"))
`(("procps" ,procps)))
(build-system gnu-build-system)
`(#:test-target "runtest"))
(synopsis "Secure RTP (SRTP) Reference Implementation")
(description "This package provides an implementation of the Secure
Real-time Transport Protocol (SRTP), the Universal Security Transform (UST),
and a supporting cryptographic kernel.")
(home-page "")
(license bsd-3)))