2 Summary: Asterisk huawei 3g dongle channel driver
3 Name: asterisk-chan_dongle
8 # Source0: http://asterisk-chan-dongle.googlecode.com/files/chan_dongle-%{version}.tgz
9 # svn checkout http://asterisk-chan-dongle.googlecode.com/svn/trunk/ chan_dongle
10 Source0: chan_dongle-%{snap}.tar.bz2
11 # Source0-md5: eb230442d44c5221d07633de4ea1fd21
12 Patch0: chan_dongle-pin.patch
13 URL: http://wiki.e1550.mobi/
14 BuildRequires: asterisk-devel >= 1.8
15 Requires: usb-modeswitch
16 Requires: usb-modeswitch-data
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 chan_dongle is an Asterisk channel driver for Huawei UMTS/3G USB
21 modems (dongles). At this moment, the supported features are:
23 - Voice calls, dialling by modem name, group, round robin, provider
27 - Conference (multiparty) call
28 - Send SMS from CLI, asterisk manager and dialplan
29 - Receive SMS (latin charset and multiline included)
31 - Receive USSD (latin charset and multiline included)
32 - Send DTMF (excluding A,B,C,D letters not supported by Huawei)
36 %setup -q -n chan_dongle
40 install /usr/share/automake/{config.*,install-sh,missing} .
47 rm -rf $RPM_BUILD_ROOT
49 install -D etc/dongle.conf $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/dongle.conf
50 install -D chan_dongle.so $RPM_BUILD_ROOT%{_libdir}/asterisk/modules/chan_dongle.so
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
57 %doc BUGS README.txt TODO.txt etc/extensions.conf
58 %attr(755,root,root) %{_libdir}/asterisk/modules/chan_dongle.so
59 %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/dongle.conf