forked from seven1240/FreeSWITCH-OLD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
freeswitch.spec
2520 lines (2111 loc) · 96.3 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-perl freeswitch-python freeswitch-spidermonkey freeswitch-v8
# freeswitch-lan-de freeswitch-lang-en freeswitch-lang-fr freeswitch-lang-hu freeswitch-lang-ru freeswitch-freetdm
#
# 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-2014, Anthony Minessale II <anthm@freeswitch.org>
#
# 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 <anthm@freeswitch.org>
# Raul Fragoso
# Rupa Shomaker
# Marc Olivier Chouinard
# Raymond Chandler
# Ken Rice <krice@freeswitch.org>
# Chris Rienzo <crienzo@grasshopper.com>
#
# Maintainer(s): Ken Rice <krice@freeswitch.org>
#
######################################################################################################################
# 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
%{?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 }
%define version %{VERSION_NUMBER}
%define release %{BUILD_NUMBER}
######################################################################################################################
#
# 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}-%{version}.tar.bz2
Source1: http://files.freeswitch.org/downloads/libs/celt-0.10.0.tar.gz
Source2: http://files.freeswitch.org/downloads/libs/flite-1.5.4-current.tar.bz2
Source3: http://files.freeswitch.org/downloads/libs/lame-3.98.4.tar.gz
Source4: http://files.freeswitch.org/downloads/libs/libshout-2.2.2.tar.gz
Source5: http://files.freeswitch.org/downloads/libs/mpg123-1.13.2.tar.gz
#Source6: http://files.freeswitch.org/downloads/libs/openldap-2.4.11.tar.gz
Source6: http://files.freeswitch.org/downloads/libs/pocketsphinx-0.7.tar.gz
Source7: http://files.freeswitch.org/downloads/libs/soundtouch-1.7.1.tar.gz
Source8: http://files.freeswitch.org/downloads/libs/sphinxbase-0.7.tar.gz
Source9: http://files.freeswitch.org/downloads/libs/communicator_semi_6000_20080321.tar.gz
Source10: http://files.freeswitch.org/downloads/libs/libmemcached-0.32.tar.gz
Source11: http://files.freeswitch.org/downloads/libs/json-c-0.9.tar.gz
Source12: http://files.freeswitch.org/downloads/libs/opus-1.1.tar.gz
Source13: http://files.freeswitch.org/downloads/libs/v8-3.24.14.tar.bz2
Prefix: %{prefix}
######################################################################################################################
#
# Build Dependencies
#
######################################################################################################################
%if 0%{?suse_version} > 100
#BuildRequires: openldap2-devel
BuildRequires: lzo-devel
%else
#BuildRequires: openldap-devel
%endif
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: curl-devel
BuildRequires: gcc-c++
BuildRequires: gnutls-devel
BuildRequires: libtool >= 1.5.17
BuildRequires: ncurses-devel
BuildRequires: openssl-devel
BuildRequires: perl
%if 0%{?fedora_version} >= 8 || 0%{?rhel} >= 6
BuildRequires: perl-ExtUtils-Embed
%endif
BuildRequires: pkgconfig
%if 0%{?rhel} < 6 && 0%{?fedora} <= 6
BuildRequires: termcap
%endif
BuildRequires: unixODBC-devel
BuildRequires: gdbm-devel
BuildRequires: db4-devel
BuildRequires: python-devel
BuildRequires: libogg-devel
BuildRequires: libvorbis-devel
BuildRequires: libjpeg-devel
#BuildRequires: mono-devel
BuildRequires: alsa-lib-devel
BuildRequires: which
BuildRequires: zlib-devel
BuildRequires: e2fsprogs-devel
BuildRequires: libtheora-devel
BuildRequires: libxml2-devel
BuildRequires: bison
%if %{build_py26_esl}
BuildRequires: python26-devel
Requires: python26
%endif
Requires: alsa-lib
Requires: libogg
Requires: libvorbis
Requires: curl
Requires: ncurses
Requires: openssl
Requires: unixODBC
Requires: libjpeg
#Requires: openldap
Requires: db4
Requires: gdbm
Requires: zlib
Requires: libtiff
Requires: python
Requires: libtheora
Requires: libxml2
%if %{?suse_version:1}0
%if 0%{?suse_version} > 910
#BuildRequires: autogen
%endif
%endif
%if 0%{?suse_version} > 800
#PreReq: /usr/sbin/useradd /usr/sbin/groupadd
PreReq: %insserv_prereq %fillup_prereq
%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-robbin 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}
%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}
%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-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-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-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}
%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-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-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}
%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}
%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.
%package asrtts-unimrcp
Summary: FreeSWITCH mod_unimrcp
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description asrtts-unimrcp
Provides FreeSWITCH mod_unimrcp, allows communication with Media Resource
Control Protocol (MRCP) servers
######################################################################################################################
# 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}
%description codec-bv
BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source telephony platform
%package codec-celt
Summary: CELT ultra low delay Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description codec-celt
CELT ultra low delay 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}
%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}
%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-vp8
Summary: vp8 Codec support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description codec-vp8
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}
%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}
%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}
%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 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-dingaling
Summary: Generic XMPP support for FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description endpoint-dingaling
XMPP support for FreeSWITCH open source telephony platform. Allows FreeSWITCH
to be used as a client for GoogleTalk or other XMPP Servers.
#%package endpoint-gsmopen
#Summary: Generic GSM enpoint 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 enpoint support for FreeSWITCH open source telephony platform
#Group: System/Libraries
#Requires: %{name} = %{version}-%{release}
#
#%description endpoint-h323
#H.323 enpoint 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
%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 freetdm
Summary: Provides a unified interface to hardware TDM cards and ss7 stacks for FreeSWITCH
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description freetdm
FreeTDM
%if %{build_sng_isdn}
%package freetdm-sng-isdn
Summary: Sangoma ISDN Module for FreeTDM
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name}-freetdm = %{version}-%{release}
Requires: wanpipe
Requires: libsng_isdn
BuildRequires: wanpipe
BuildRequires: libsng_isdn
%description freetdm-sng-isdn
Sangoma ISDN Module for freetdm
%endif
%if %{build_sng_ss7}
%package freetdm-sng-ss7
Summary: Provides a unified interface to hardware TDM cards and ss7 stacks for FreeSWITCH, Sangoma SS7 Module
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name}-freetdm = %{version}-%{release}
Requires: wanpipe
Requires: libsng_ss7
BuildRequires: wanpipe
BuildRequires: libsng_ss7
%if 0%{?fedora_version} >= 8 || 0%{?rhel} >= 6
Requires: openssl098e
BuildRequires: openssl098e
%endif
%description freetdm-sng-ss7
Sangoma SMG-SS7 drivers for FreeTDM
%endif
%package endpoint-skypopen
Summary: Skype Endpoint
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: libX11
BuildRequires: libX11-devel
%description endpoint-skypopen
This software (Skypopen) uses the Skype API but is not endorsed, certified or
otherwise approved in any way by Skype. Skypopen is an endpoint (channel
driver) that uses the Skype client as an interface to the Skype network, and
allows incoming and outgoing Skype calls to/from FreeSWITCH (that can be
bridged, originated, answered, etc. as in all other endpoints, e.g. Sofia-SIP).
######################################################################################################################
# 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}
%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-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.
%if %{build_mod_rayo}
%package event-rayo
Summary: Rayo (XMPP 3PCC) server for the FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description event-rayo
Rayo 3PCC for FreeSWITCH. http://rayo.org http://xmpp.org/extensions/xep-0327.html
Rayo is an XMPP protocol extension for third-party control of telephone calls.
%endif
%package event-snmp
Summary: SNMP stats reporter for the FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: net-snmp
BuildRequires: net-snmp-devel
%description event-snmp
SNMP stats reporter for the FreeSWITCH open source telephony platform
######################################################################################################################
# FreeSWITCH Media Format Modules
######################################################################################################################