forked from signalwire/freeswitch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
freeswitch.spec
2707 lines (2265 loc) · 103 KB
/
freeswitch.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
######################################################################################################################
#
# spec file for package freeswitch
#
# includes module(s): freeswitch-devel freeswitch-codec-passthru-amr freeswitch-codec-passthru-amrwb freeswitch-codec-passthru-g729
# freeswitch-codec-passthru-g7231 freeswitch-lua freeswitch-mariadb freeswitch-pgsql freeswitch-perl freeswitch-python freeswitch-v8 freeswitch-signalwire
# freeswitch-lan-de freeswitch-lang-en freeswitch-lang-fr freeswitch-lang-hu freeswitch-lang-ru
# and others
#
# Initial Version Copyright (C) 2007 Peter Nixon and Michal Bielicki, All Rights Reserved.
#
# This file is part of:
# FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
# Copyright (C) 2005-2015, Anthony Minessale II <[email protected]>
#
# This file and all modifications and additions to the pristine package are under the same license as the package itself.
#
# Contributor(s): Mike Jerris
# Brian West
# Anthony Minessale II <[email protected]>
# Raul Fragoso
# Rupa Shomaker
# Marc Olivier Chouinard
# Raymond Chandler
# Ken Rice <[email protected]>
# Chris Rienzo <[email protected]>
#
# Maintainer(s): SignalWire, Inc <[email protected]>
#
######################################################################################################################
# Module build settings
%define build_sng_isdn 0
%define build_sng_ss7 0
%define build_sng_tc 0
%define build_py26_esl 0
%define build_timerfd 0
%define build_mod_esl 0
%define build_mod_rayo 1
%define build_mod_ssml 1
%define build_mod_v8 0
%{?with_sang_tc:%define build_sng_tc 1 }
%{?with_sang_isdn:%define build_sng_isdn 1 }
%{?with_sang_ss7:%define build_sng_ss7 1 }
%{?with_py26_esl:%define build_py26_esl 1 }
%{?with_timerfd:%define build_timerfd 1 }
%{?with_mod_esl:%define build_mod_esl 1 }
%{?with_mod_v8:%define build_mod_v8 1 }
%define nonparsedversion 1.7.0
%define version %(echo '%{nonparsedversion}' | sed 's/-//g')
%define release 1
######################################################################################################################
#
# disable rpath checking
#%define __arch_install_post /usr/lib/rpm/check-buildroot
#%define _prefix /usr
#%define prefix %{_prefix}
#%define sysconfdir /etc/freeswitch
#%define _sysconfdir %{sysconfdir}
#%define logfiledir /var/log/freeswitch
#%define _logfiledir %{logfiledir}
#%define runtimedir /var/run/freeswitch
#%define _runtimedir %{runtimedir}
######################################################################################################################
# Layout of packages FHS (Redhat/SUSE), FS (Standard FreeSWITCH layout using /usr/local), OPT (/opt based layout)
%define packagelayout FHS
%define PREFIX %{_prefix}
%define EXECPREFIX %{_exec_prefix}
%define BINDIR %{_bindir}
%define SBINDIR %{_sbindir}
%define LIBEXECDIR %{_libexecdir}/%name
%define SYSCONFDIR %{_sysconfdir}/%name
%define SHARESTATEDIR %{_sharedstatedir}/%name
%define LOCALSTATEDIR %{_localstatedir}/lib/%name
%define LIBDIR %{_libdir}
%define INCLUDEDIR %{_includedir}
%define _datarootdir %{_prefix}/share
%define DATAROOTDIR %{_datarootdir}
%define DATADIR %{_datadir}
%define INFODIR %{_infodir}
%define LOCALEDIR %{_datarootdir}/locale
%define MANDIR %{_mandir}
%define DOCDIR %{_defaultdocdir}/%name
%define HTMLDIR %{_defaultdocdir}/%name/html
%define DVIDIR %{_defaultdocdir}/%name/dvi
%define PDFDIR %{_defaultdocdir}/%name/pdf
%define PSDIR %{_defaultdocdir}/%name/ps
%define LOGFILEDIR /var/log/%name
%define MODINSTDIR %{_libdir}/%name/mod
%define RUNDIR %{_localstatedir}/run/%name
%define DBDIR %{LOCALSTATEDIR}/db
%define HTDOCSDIR %{_datarootdir}/%name/htdocs
%define SOUNDSDIR %{_datarootdir}/%name/sounds
%define GRAMMARDIR %{_datarootdir}/%name/grammar
%define SCRIPTDIR %{_datarootdir}/%name/scripts
%define RECORDINGSDIR %{LOCALSTATEDIR}/recordings
%define PKGCONFIGDIR %{_datarootdir}/%name/pkgconfig
%define HOMEDIR %{LOCALSTATEDIR}
Name: freeswitch
Summary: FreeSWITCH open source telephony platform
License: MPL1.1
Group: Productivity/Telephony/Servers
Version: %{version}
Release: %{release}%{?dist}
URL: http://www.freeswitch.org/
Packager: Ken Rice
Vendor: http://www.freeswitch.org/
######################################################################################################################
#
# Source files and where to get them
#
######################################################################################################################
Source0: http://files.freeswitch.org/%{name}-%{nonparsedversion}.tar.bz2
Source1: http://files.freeswitch.org/downloads/libs/freeradius-client-1.1.7.tar.gz
Source2: http://files.freeswitch.org/downloads/libs/communicator_semi_6000_20080321.tar.gz
Source3: http://files.freeswitch.org/downloads/libs/pocketsphinx-0.8.tar.gz
Source4: http://files.freeswitch.org/downloads/libs/sphinxbase-0.8.tar.gz
Prefix: %{prefix}
######################################################################################################################
#
# Build Dependencies
#
######################################################################################################################
%if 0%{?suse_version} > 100
BuildRequires: lzo-devel
%endif
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: curl-devel >= 7.19
BuildRequires: gcc-c++
BuildRequires: libtool >= 1.5.17
BuildRequires: openssl-devel >= 1.0.1e
BuildRequires: sofia-sip-devel >= 1.13.6
BuildRequires: spandsp3-devel >= 3.0
BuildRequires: pcre-devel
BuildRequires: speex-devel
BuildRequires: sqlite-devel >= 3.6.20
BuildRequires: libtiff-devel
BuildRequires: libedit-devel
BuildRequires: yasm
BuildRequires: pkgconfig
BuildRequires: unixODBC-devel
BuildRequires: libjpeg-devel
BuildRequires: which
BuildRequires: zlib-devel
BuildRequires: libxml2-devel
BuildRequires: libsndfile-devel
Requires: curl >= 7.19
Requires: pcre
Requires: speex
Requires: sqlite >= 3.6.20
Requires: libtiff
Requires: libedit
Requires: openssl >= 1.0.1e
Requires: unixODBC
Requires: libjpeg
Requires: zlib
Requires: libxml2
Requires: libsndfile
%if 0%{?rhel} == 7
# to build mariadb module required gcc >= 4.9 (more details GH #1046)
# On CentOS 7 dist you can install fresh gcc using command
# yum install centos-release-scl && yum install devtoolset-9
BuildRequires: devtoolset-9
%endif
%if 0%{?rhel} == 8
# we want use fresh gcc on RHEL 8 based dists
# On CentOS 8 dist you can install fresh gcc using command
# dnf install gcc-toolset-9
BuildRequires: gcc-toolset-9
%endif
%if 0%{?suse_version} > 800
PreReq: %insserv_prereq %fillup_prereq
%endif
%if 0%{?fedora}
BuildRequires: gumbo-parser-devel
%endif
######################################################################################################################
#
# Where the packages are going to be built
#
######################################################################################################################
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
FreeSWITCH is an open source telephony platform designed to facilitate the creation of voice
and chat driven products scaling from a soft-phone up to a soft-switch. It can be used as a
simple switching engine, a media gateway or a media server to host IVR applications using
simple scripts or XML to control the callflow.
We support various communication technologies such as SIP, H.323 and GoogleTalk making
it easy to interface with other open source PBX systems such as sipX, OpenPBX, Bayonne, YATE or Asterisk.
We also support both wide and narrow band codecs making it an ideal solution to bridge legacy
devices to the future. The voice channels and the conference bridge module all can operate
at 8, 16 or 32 kilohertz and can bridge channels of different rates.
FreeSWITCH runs on several operating systems including Windows, Max OS X, Linux, BSD and Solaris
on both 32 and 64 bit platforms.
Our developers are heavily involved in open source and have donated code and other resources to
other telephony projects including sipXecs, OpenSER, Asterisk, CodeWeaver and OpenPBX.
######################################################################################################################
#
# Sub Package definitions. Description and Runtime Requirements go here
# What goes into which package is in the files section after the whole build enchilada
#
######################################################################################################################
%package devel
Summary: Development package for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
FreeSWITCH development files
######################################################################################################################
# FreeSWITCH Application Modules
######################################################################################################################
%package application-abstraction
Summary: FreeSWITCH mod_abstraction
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-abstraction
Provide an abstraction to FreeSWITCH API calls
%package application-avmd
Summary: FreeSWITCH voicemail detector
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-avmd
Provide an voicemail beep detector for FreeSWITCH
%package application-blacklist
Summary: FreeSWITCH blacklist module
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-blacklist
Provide black/white listing of various fields used for routing calls in
FreeSWITCH
%package application-callcenter
Summary: FreeSWITCH mod_callcenter Call Queuing Application
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-callcenter
Provide Automated Call Distribution capabilities for FreeSWITCH
%package application-cidlookup
Summary: FreeSWITCH mod_cidlookup
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-cidlookup
Provide FreeSWITCH access to third party CallerID Name Databases via HTTP
%package application-conference
Summary: FreeSWITCH mod_conference
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-conference
Provide FreeSWITCH Conference Bridge Services.
%package application-curl
Summary: FreeSWITCH mod_curl
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-curl
Provide FreeSWITCH dialplan access to CURL
%package application-db
Summary: FreeSWITCH mod_db
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-db
mod_db implements an API and dialplan interface to a database backend for
FreeSWITCH. The database can either be in sqlite or ODBC. It also provides
support for group dialing and provides database backed limit interface.
%package application-directory
Summary: FreeSWITCH mod_directory
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-directory
Provides FreeSWITCH mod_directory, a dial by name directory application.
%package application-distributor
Summary: FreeSWITCH mod_distributor
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-distributor
Provides FreeSWITCH mod_distributor, a simple round-robin style distribution
to call gateways.
%package application-easyroute
Summary: FreeSWITCH mod_easyroute
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-easyroute
Provides FreeSWITCH mod_easyroute, a simple, easy to use DB Backed DID routing
Engine. Uses ODBC to connect to the DB of your choice.
%package application-enum
Summary: FreeSWITCH mod_enum
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: ldns-devel
%description application-enum
Provides FreeSWITCH mod_enum, a ENUM dialplan, with API and Dialplan extensions
supporting ENUM lookups.
%package application-esf
Summary: FreeSWITCH mod_esf
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-esf
Provides FreeSWITCH mod_esf, Extra Sip Functionality such as Multicast Support
%if %{build_mod_esl}
%package application-esl
Summary: FreeSWITCH mod_esl
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-esl
Provides FreeSWITCH mod_esl, add api commands for remote ESL commands
%endif
%package application-expr
Summary: FreeSWITCH mod_expr
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-expr
Provides FreeSWITCH mod_expr, implements Brian Allen Vanderburg's ExprEval
expression evaluation library for FreeSWITCH.
%package application-fifo
Summary: FreeSWITCH mod_fifo
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-fifo
Provides FreeSWITCH mod_fifo, a parking-like app which allows you to make
custom call queues
%package application-fsk
Summary: FreeSWITCH mod_fsk
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-fsk
Provides FreeSWITCH mod_fsk, a module to send and receive information via
Frequency-shift keying
%package application-fsv
Summary: FreeSWITCH mod_fsv
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-fsv
Provides FreeSWITCH mod_fsk, implements functions to record and play back video
%package application-hash
Summary: FreeSWITCH mod_hash
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-hash
Provides FreeSWITCH mod_hash, implements an API and application interface for
manipulating a hash table. It also provides a limit backend.
%package application-httapi
Summary: FreeSWITCH mod_httapi
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-httapi
Provides FreeSWITCH mod_httapi, provides an HTTP based Telephony API using a
standard FreeSWITCH application interface as well as a cached http file format
interface
%package application-http-cache
Summary: FreeSWITCH mod_http_cache
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-http-cache
Provides FreeSWITCH mod_http_cache, allows one to make a HTTP GET request to
cache a document. The primary use case is to download and cache audio files
from a web server.
%package application-lcr
Summary: FreeSWITCH mod_lcr
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-lcr
Provides FreeSWITCH mod_lcr, provide basic Least Cost Routing Services
%package application-limit
Summary: FreeSWITCH mod_limit
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-limit
Provides FreeSWITCH mod_limit, provide application to limit both concurrent and call per time period
%package application-memcache
Summary: FreeSWITCH mod_memcache
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: libmemcached-devel
%description application-memcache
Provides FreeSWITCH mod_memcache, implements an API interface to memcached which
is a "high-performance, distributed memory object caching system, generic in
nature, but intended for use in speeding up dynamic web applications by
alleviating database load."
%package application-mongo
Summary: FreeSWITCH mod_mongo
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: mongo-c-driver-devel
%description application-mongo
Provides FreeSWITCH mod_mongo, which implements an API interface to mongodb.
%package application-nibblebill
Summary: FreeSWITCH mod_nibblebill
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-nibblebill
Provides FreeSWITCH mod_nibblebill, provides a credit/debit module for
FreeSWITCH to allow real-time debiting of credit or cash from a database
while calls are in progress.
%package application-rad_auth
Summary: FreeSWITCH mod_rad_auth
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-rad_auth
Provides FreeSWITCH mod_rad_auth, authentication via RADIUS protocol from FreeSWITCH dialplan
%package application-redis
Summary: FreeSWITCH mod_redis
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-redis
Provides FreeSWITCH mod_redis, access to the redis key value pair db system from
FreeSWITCH
%package application-rss
Summary: FreeSWITCH mod_rss
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-rss
Provides FreeSWITCH mod_rss, edisrse and read an XML based RSS feed, then read
the entries aloud via a TTS engine
%package application-signalwire
Summary: FreeSWITCH mod_signalwire
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: libks signalwire-client-c
%description application-signalwire
Provides FreeSWITCH mod_signalwire
%package application-sms
Summary: FreeSWITCH mod_sms
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-sms
Provides FreeSWITCH mod_sms, provide a way to route messages in freeswitch,
potentially allowing one to build a powerful chatting system like in XMPP using
using SIP SIMPLE on SIP clients
%package application-snapshot
Summary: FreeSWITCH mod_snapshot
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-snapshot
Provides FreeSWITCH mod_snapshot, allows recording a sliding window of audio
and taking snapshots to disk.
%package application-snom
Summary: FreeSWITCH mod_snom
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-snom
Provides FreeSWITCH mod_snom, an application for controlling the functionality
and appearance of the programmable softkeys on Snom phones
%package application-soundtouch
Summary: FreeSWITCH mod_soundtouch
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: soundtouch-devel >= 1.7.1
%description application-soundtouch
Provides FreeSWITCH mod_soundtouch, uses the soundtouch library, which can do
pitch shifting and other audio effects, so you can pipe the audio of a call
(or any other channel audio) through this module and achieve those effects. You
can specifically adjust pitch, rate, and tempo.
%package application-spy
Summary: FreeSWITCH mod_spy
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-spy
Provides FreeSWITCH mod_spy, implements userspy application which provides
persistent eavesdrop on all channels bridged to a certain user
%package application-stress
Summary: FreeSWITCH mod_stress
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-stress
Provides FreeSWITCH mod_stress. mod_stress attempts to detect stress in a
person's voice and generates FreeSWITCH events based on that data.
%package application-translate
Summary: FreeSWITCH mod_translate
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-translate
Provide an number translation to FreeSWITCH API calls
%package application-valet_parking
Summary: FreeSWITCH mod_valet_parking
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-valet_parking
Provides FreeSWITCH mod_valet_parking. Provides 'Call Parking' in the switch
as opposed to on the phone and allows for a number of options to handle call
retrieval
%package application-video_filter
Summary: FreeSWITCH video filter bugs
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-video_filter
Provide a chromakey video filter media bug
%package application-voicemail
Summary: FreeSWITCH mod_voicemail
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-voicemail
Provides FreeSWITCH mod_voicemail. Implements Voicemail Application
%package application-voicemail-ivr
Summary: FreeSWITCH mod_voicemail_ivr
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description application-voicemail-ivr
Provides FreeSWITCH mod_voicemail_ivr. Provides a custimizable audio navigation
system for backend voicemail systems
######################################################################################################################
# FreeSWITCH ASR TTS Modules
######################################################################################################################
%package asrtts-flite
Summary: FreeSWITCH mod_flite
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: flite >= 2.0.0
BuildRequires: flite-devel >= 2.0.0
%description asrtts-flite
Provides FreeSWITCH mod_flite, a interface to the flite text to speech engine
%package asrtts-pocketsphinx
Summary: FreeSWITCH mod_pocketsphinx
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: bison
%description asrtts-pocketsphinx
Provides FreeSWITCH mod_pocketsphinx, a interface to the OpenSource
Pocketsphinx speech recognition engine
%package asrtts-tts-commandline
Summary: FreeSWITCH mod_tts_commandline
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description asrtts-tts-commandline
Provides FreeSWITCH mod_tts_commandline, Run a command line and play the
output file.
######################################################################################################################
# FreeSWITCH Codec Modules
######################################################################################################################
%package codec-passthru-amr
Summary: Pass-through AMR Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Conflicts: codec-amr
%description codec-passthru-amr
Pass-through AMR Codec support for FreeSWITCH open source telephony platform
%package codec-passthru-amrwb
Summary: Pass-through AMR WideBand Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Conflicts: codec-amrwb
%description codec-passthru-amrwb
Pass-through AMR WideBand Codec support for FreeSWITCH open source telephony platform
%package codec-bv
Summary: BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: broadvoice-devel
%description codec-bv
BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source telephony platform
%package codec-codec2
Summary: Codec2 Narrow Band Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: codec2-devel
%description codec-codec2
CODEC2 narrow band codec support for FreeSWITCH open source telephony platform.
CODEC2 was created by the developers of Speex.
%package codec-passthru-g723_1
Summary: Pass-through g723.1 Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Conflicts: codec-g723_1
%description codec-passthru-g723_1
Pass-through g723.1 Codec support for FreeSWITCH open source telephony platform
%package codec-passthru-g729
Summary: Pass-through g729 Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Conflicts: codec-com-g729
%description codec-passthru-g729
Pass-through g729 Codec support for FreeSWITCH open source telephony platform
%package codec-h26x
Summary: H.263/H.264 Video Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description codec-h26x
H.263/H.264 Video Codec support for FreeSWITCH open source telephony platform
%package codec-ilbc
Summary: iLCB Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: ilbc2
BuildRequires: ilbc2-devel
%description codec-ilbc
iLBC Codec support for FreeSWITCH open source telephony platform
%package codec-isac
Summary: iSAC Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description codec-isac
iSAC Codec support for FreeSWITCH open source telephony platform
%package codec-vpx
Summary: vp8 Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description codec-vpx
iSAC Codec support for FreeSWITCH open source telephony platform
%package codec-mp4v
Summary: MP4V Video Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description codec-mp4v
MP4V Video Codec support for FreeSWITCH open source telephony platform
%package codec-opus
Summary: Opus Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: opus >= 1.1
BuildRequires: opus-devel >= 1.1
%description codec-opus
OPUS Codec support for FreeSWITCH open source telephony platform
%if %{build_sng_tc}
%package sangoma-codec
Summary: Sangoma D100 and D500 Codec Card Support
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: sng-tc-linux
BuildRequires: sng-tc-linux
%description sangoma-codec
Sangoma D100 and D500 Codec Card Support
%endif
%package codec-silk
Summary: Silk Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: libsilk-devel
%description codec-silk
Silk Codec (from Skype) support for FreeSWITCH open source telephony platform
%package codec-siren
Summary: Siren Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: g722_1-devel
%description codec-siren
Siren Codec support for FreeSWITCH open source telephony platform. Using
mod_siren in a commercial product will require you to acquire a patent license
directly from Polycom(R) for your company.
see http://www.polycom.com/usa/en/company/about_us/technology/siren_g7221/siren_g7221.html
and http://www.polycom.com/usa/en/company/about_us/technology/siren14_g7221c/siren14_g7221c.html
At the time of this packaging, Polycom does not charge for licensing.
%package codec-theora
Summary: Theora Video Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description codec-theora
Theora Video Codec support for FreeSWITCH open source telephony platform.
######################################################################################################################
# FreeSWITCH Database Modules
######################################################################################################################
%package database-mariadb
Summary: MariaDB native support for FreeSWITCH
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: mariadb-connector-c
BuildRequires: mariadb-connector-c-devel
%description database-mariadb
MariaDB native support for FreeSWITCH.
%package database-pgsql
Summary: PostgreSQL native support for FreeSWITCH
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: postgresql-libs
BuildRequires: postgresql-devel
%description database-pgsql
PostgreSQL native support for FreeSWITCH.
######################################################################################################################
# FreeSWITCH Directory Modules
######################################################################################################################
#%package directory-ldap
#Summary: LDAP Directory support for FreeSWITCH open source telephony platform
#Group: System/Libraries
#Requires: %{name} = %{version}-%{release}
#%description directory-ldap
#LDAP Directory support for FreeSWITCH open source telephony platform.
######################################################################################################################
# FreeSWITCH Endpoint Modules
######################################################################################################################
#%package endpoint-gsmopen
#Summary: Generic GSM endpoint support for FreeSWITCH open source telephony platform
#Group: System/Libraries
#Requires: %{name} = %{version}-%{release}
#
#%description endpoint-gsmopen
#GSMopen is an endpoint (channel driver) that allows an SMS to be sent or
#received from FreeSWITCH as well as incoming and outgoing GSM voice calls.
#SMS is handled via the standard CHAT API in FreeSWITCH.
#%package endpoint-h323
#Summary: H.323 endpoint support for FreeSWITCH open source telephony platform
#Group: System/Libraries
#Requires: %{name} = %{version}-%{release}
#
#%description endpoint-h323
#H.323 endpoint support for FreeSWITCH open source telephony platform
#%package endpoint-khomp
#Summary: khomp endpoint support for FreeSWITCH open source telephony platform
#Group: System/Libraries
#Requires: %{name} = %{version}-%{release}
#
#%description endpoint-khomp
#Khomp hardware endpoint support for FreeSWITCH open source telephony platform.
%package endpoint-portaudio
Summary: PortAudio endpoint support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: alsa-lib
BuildRequires: alsa-lib-devel
BuildRequires: portaudio-devel
%description endpoint-portaudio
PortAudio endpoint support for FreeSWITCH open source telephony platform.
%package endpoint-rtmp
Summary: RTPM Endpoint support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description endpoint-rtmp
RTMP Endpoint support for FreeSWITCH open source telephony platform. Allows FreeSWITCH
to be used from a RTMP client. See http://wiki.freeswitch.org/wiki/Mod_rtmp#Flex_Client
for the OpenSouce FreeSWITCH backed Client.
%package endpoint-skinny
Summary: Skinny/SCCP endpoint support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description endpoint-skinny
SCCP/Skinny support for FreeSWITCH open source telephony platform.
%package endpoint-verto
Summary: Verto endpoint support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description endpoint-verto
Verto protocol support for FreeSWITCH open source telephony platform.
%package endpoint-rtc
Summary: Verto endpoint support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description endpoint-rtc
Verto protocol support for FreeSWITCH open source telephony platform.
######################################################################################################################
# FreeSWITCH Event Handler Modules
######################################################################################################################
%package event-cdr-mongodb
Summary: MongoDB CDR Logger for the FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
BuildRequires: mongo-c-driver-devel
%description event-cdr-mongodb
MongoDB CDR Logger for FreeSWITCH
%package event-cdr-pg-csv
Summary: PostgreSQL CDR Logger for the FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: postgresql-libs
BuildRequires: postgresql-devel
%description event-cdr-pg-csv
PostgreSQL CDR Logger for FreeSWITCH.
%package event-cdr-sqlite
Summary: SQLite CDR Logger for the FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description event-cdr-sqlite
SQLite CDR Logger for FreeSWITCH.
%package event-erlang-event
Summary: Erlang Event Module for the FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: erlang
BuildRequires: erlang
%description event-erlang-event
Erlang Event Module for FreeSWITCH.
%package event-format-cdr
Summary: JSON and XML Logger for the FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description event-format-cdr
JSON and XML Logger for the FreeSWITCH open source telephony platform
%package kazoo
Summary: Kazoo Module for the FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: erlang
BuildRequires: erlang
%description kazoo
Kazoo Module for FreeSWITCH.
%package event-multicast
Summary: Multicast Event System for the FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description event-multicast
Multicast Event System for FreeSWITCH.
#%package event-zmq
#Summary: ZeroMQ Event System for the FreeSWITCH open source telephony platform
#Group: System/Libraries
#Requires: %{name} = %{version}-%{release}
#
#%description event-zmq
#ZeroMQ Event System for FreeSWITCH.
%package event-json-cdr
Summary: JSON CDR Logger for the FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description event-json-cdr
JSON CDR Logger for FreeSWITCH.
%package event-radius-cdr
Summary: RADIUS Logger for the FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description event-radius-cdr
RADIUS Logger for the FreeSWITCH open source telephony platform
%if %{build_mod_rayo}
%package event-rayo
Summary: Rayo (XMPP 3PCC) server for the FreeSWITCH open source telephony platform
Group: System/Libraries