--- asterisk-1.4.10~dfsg.orig/debian/asterisk-config.postinst +++ asterisk-1.4.10~dfsg/debian/asterisk-config.postinst @@ -0,0 +1,37 @@ +#! /bin/sh + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# + +case "$1" in + configure) + if [ -x /usr/share/asterisk/bin/asterisk_fix ]; then + /usr/share/asterisk/bin/asterisk_fix + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- asterisk-1.4.10~dfsg.orig/debian/asterisk.postrm +++ asterisk-1.4.10~dfsg/debian/asterisk.postrm @@ -0,0 +1,9 @@ +#! /bin/sh -e + +if [ "$1" = purge ]; then + userdel -r asterisk 2>/dev/null || true + rm -fR /var/log/asterisk + +fi + +#DEBHELPER# --- asterisk-1.4.10~dfsg.orig/debian/asterisk-dev.install +++ asterisk-1.4.10~dfsg/debian/asterisk-dev.install @@ -0,0 +1,2 @@ +usr/include/asterisk +../../include/asterisk.h usr/include/asterisk --- asterisk-1.4.10~dfsg.orig/debian/asterisk-doc.docs +++ asterisk-1.4.10~dfsg/debian/asterisk-doc.docs @@ -0,0 +1,9 @@ +BUGS +README +CREDITS +CHANGES +UPGRADE.txt +doc/* +contrib +images/*.gif +images/*.jpg --- asterisk-1.4.10~dfsg.orig/debian/asterisk-h323.install +++ asterisk-1.4.10~dfsg/debian/asterisk-h323.install @@ -0,0 +1 @@ +usr/lib/asterisk/modules/chan_h323.so --- asterisk-1.4.10~dfsg.orig/debian/dummyprogs/fetch +++ asterisk-1.4.10~dfsg/debian/dummyprogs/fetch @@ -0,0 +1,10 @@ +#!/bin/sh + +# a dummy script that can serve as 'fetch' to pass for autoconf tests +# but always returns false to make sure it is never used. +# +# Note: the configure script will look for wget first. If you actually +# want to download sound tarballs or whatever at build time, make sure +# you have wget installed, and this script should cause you no problems. + +exit 1 --- asterisk-1.4.10~dfsg.orig/debian/README.Debian +++ asterisk-1.4.10~dfsg/debian/README.Debian @@ -0,0 +1,61 @@ +Welcome to the world of telephone switch owners. Asterisk is a quite powerful +and probably one of the feature-richest open-source PBXes out there. To get you +a brief impression where to start tweaking, we've included this doc. (Thanks to +Tzafrir Cohen for a proposal of this) + +File Locations +============== +See /etc/asterisk/asterisk.conf for pathnames. All the configuration is done +from the *.conf files there. + +Sounds reside at /usr/share/asterisk/sounds. Voicemail mailboxes are below +/var/spool/asterisk/voicemail using symlinks. + +User, Groups, Permissions +========================= +By default the package will create user and group 'asterisk' and will run as +them. It will optionally run with real-time priority (-p). It will also add +itself to the group audio to enable the daemon to access sound cards. Running +as root is disabled in /etc/init.d/asterisk for security reasons. If you use +zaptel devices (like zaphfc too), you need to set permissions on /dev/zap to +root.dialout or whatever other group you like and add the asterisk user to that +group. Then make sure all the devicenodes below /dev/zap/ are 660 or asterisk +will not have any access still. When no -G is given to the asterisk PARAMS, +then asterisk will automatically initialize all groups of the asterisk user. + +To change those values you can edit /etc/default/asterisk. You need to set +RUNASTERISK=yes to make asterisk autostart upon boot. + +init.d Script Commands +====================== +In addition to reload, that runs the asterisk CLI command 'reload' there +are also extensions-reload ('extensions reload') and logger-reload +('logger-reload') to load only parts of the configuration file. + +Asterisk supports a number of non-default paramters at startup. For debugging +it is often useful to run 'asterisk -U asterisk -vvvgc' from the console. Add +more -v for even higher verbosity. You can attach a remote console to a running +asterisk daemon with 'asterisk -vcr'. When testing, make sure to use the "-U +asterisk", or asterisk may write files with root ownership. In that case you +might not be able to restart the daemon without altering permissions to the +files first. + + +Getting started with config and more features +============================================= +Of course the default config is far from a plug'n'play for every environment. +You need to setup a proper dialplan in extensions.conf, remove the demo entries +and maybe remove FreeWorldDialup too in case you don't participate there. For +more info on how to setup a proper dialplan, fax, enum and configuration of +asterisk, please checkout + http://www.voip-info.org/wiki-Asterisk+quickstart + http://www.voip-info.org/wiki-Asterisk+config+files +or the larger HowTos at: + http://www.automated.it/guidetoasterisk.htm +or + http://www.asteriskdocs.org/ (Asterisk Handbook) + + +Enjoy your PBX! + +Kilian Krause (for the pkg-voip team) --- asterisk-1.4.10~dfsg.orig/debian/changelog +++ asterisk-1.4.10~dfsg/debian/changelog @@ -0,0 +1,1672 @@ +asterisk (1:1.4.10~dfsg-1) unstable; urgency=low + + * New upstream release + - Fwd: [asterisk-announce] ASA-2007-019: Remote crash vulnerability in + Skinny channel driver (Closes: #436808) + + [ Mark Purcell ] + * debhelper(1) states Build-Depends: debhelper (>= 5) + - aids backports + * Update debian/backports for etch, edgy, dapper and feisty + - http://status.buildserver.net/packages/status.php?package=asterisk&subdist=pkg-voip + + [ Faidon Liambotis ] + * Refer to /usr/share/common-licenses/GPL-2 instead of GPL. The code is + -for now- GPLv2-only and in light of GPLv3, pointing to GPL is misleading. + * Add ast_key_dir patch to move keys from /var/lib/asterisk/keys to + /usr/share/asterisk/keys where they should be. + * Actually ship keys, including Junction Networks' by fixing pubkey_jnctn + patch. + * Handle space/newline-delimited directories on /etc/asterisk when doing + chmod on postinst. + * Correct descriptions of packages in debian/control, adapting them to the + present and correcting some spelling mistakes. (Closes: #428671) + * Add a noload directive for cdr_sqlite.so in the default modules.conf since + it writes unconditionally to the database file without being rotated, + resulting in unexpected waste of disk space. (Closes: #301883) + * Delete duplicated creation of /var/run/asterisk in the init script. + + -- Mark Purcell Thu, 09 Aug 2007 22:47:00 +0100 + +asterisk (1:1.4.9~dfsg-1) unstable; urgency=high + + [ Tzafrir Cohen ] + * New upstream release. + - ASA-2007-018 - DoS Resource Exhaustion vulnerability in IAX2 + + [ Faidon Liambotis ] + * Add myself to Uploaders. + * Fix "debian/rules clean" to cleanup correctly the tree by calling "make + distclean" instead of "make clean". Also, fix some stuff in the upstream + Makefiles (debian/patches/make-clean-fixes). Fixes a lintian warning. + * Add XS-Vcs-Svn and XS-Vcs-Browser to debian/control. + * Move examples from all packages (debian/examples) to asterisk-config only. + * Add eagi-test.c, eagi-sphinx-test.c, fastagi-test and static-http to + examples. + * Remove Conflicts/Replaces/Depends to pre-sarge versions, they're useless + even for backports. + + [ Mark Purcell ] + * Include asterisk.init changes from Martin + - Asterisk does not create /var/run/asterisk directory if not existent + (Closes: #413541) + * Backout asterisk-h323 Suggests:/ Recommends: asterisk-oh323. The former + works, the latter does not with asterisk-1.4.x + * Upstream fixes from 1.4.x branch: + - Multiple security flaws in Asterisk (Closes: #421467) + - Debug switch wrong in /etc/default/asterisk (Closes: #413544) + - Upgrading destroys astdb (Closes: #354132) + - Upgrading destroys astdb (Closes: #354132) + - asterisk bindaddr in sip and iax config is to fixed ip not + Interfaces (Closes: #316443) + - Incorrect callerid syntax in sip.conf causes incorrect error + (Closes: #323275) + - dropouts (Closes: #335079) + - Does not include cdr_sqlite userfield support by default (Closes: + #344097) + - Asterisk crashes on sparc when playing 'demo-moreinfo' + (Closes: #344484) + - fresh install - crash after dialing IAX test (Closes: #350001) + - asterisk_fix script fails to set variables for adduser, user + creation fails (Closes: #383075) + - Debug switch wrong in /etc/default/asterisk (Closes: #413544) + - When using L option on Dial, instead of warning asterisk disconnects + the call (Closes: #419894) + - Patch for fastagi handling (Closes: #368948) + - bristuff patch breaks cause codes in Hangup() (Closes: #320350) + * add debian/patches/basim-safeasterisk.dpatch + - contrib/scripts/safe_asterisk should explicitly link to a cli + (Closes: #413543) + * Adding a restart when convenient in Asterisk (Closes: #413816) + * asterisk-h323: libpt.so.1.10.2 => not found (Closes: #434076) + + -- Mark Purcell Thu, 26 Jul 2007 16:52:29 +0100 + +asterisk (1:1.4.8~dfsg-2) unstable; urgency=low + + * Add patch from Faidon debian/patches/dbug433884.dpatch: + - Should not depend on libopenH323, libpt, libSDL, libssl, libldap, + ... (Closes: #433884) + - Fails to restart after upgrade due to dep on libpt.so.1.10.2 + (Closes: #434066) + + -- Mark Purcell Sat, 21 Jul 2007 11:41:01 +0100 + +asterisk (1:1.4.8~dfsg-1) unstable; urgency=high + + * New upstream release + - ASA-2007-017: Remote crash vulnerability in + STUN implementation (Closes: #433681) + * Urgency high for remote crash vulnerability + * Updated standard version to 3.7.2 . + + -- Mark Purcell Wed, 18 Jul 2007 20:51:46 +0100 + +asterisk (1:1.4.6~dfsg-1) unstable; urgency=low + + [ Mark Purcell ] + * CVE-2007-2488 was addressed 1:1.4.5~dfsg-1 + * CVE-2007-1595 was addressed 1:1.4.0~dfsg-1 + + [ Tzafrir Cohen ] + * New upstream release. + * Added asterisk-dbg for debugging symbols. + * Updated priorities of some packages. + * Updated list of supported hardware in description. + + -- Mark Purcell Wed, 04 Jul 2007 18:31:00 +0100 + +asterisk (1:1.4.5~dfsg-1) unstable; urgency=low + + [ Tzafrir Cohen ] + * New upstream release. + + [ Mark Purcell ] + * Debconf7 Release :-) + * Build-Depends: libpq-dev + - obsolete build dependency postgresql-dev (Closes: #389376) + + -- Mark Purcell Mon, 18 Jun 2007 10:18:13 +0100 + +asterisk (1:1.4.4~dfsg-3) unstable; urgency=low + + * Build-Depends: libcurl4-dev | libcurl-dev + - uninstallable due to dependancy on libcurl3 (Closes: #426393) + + -- Mark Purcell Sat, 02 Jun 2007 10:52:05 +0100 + +asterisk (1:1.4.4~dfsg-2) unstable; urgency=low + + * Missing debian/changelog entries + * Upstream calls make twice to build h323, copy in debian/rules + - Asterisks chan_h323 doesn't work because of an undefined symbol + (Closes: #421552) + * Cleanup debian/patches + * chmod +x asterisk-fix + - Setting up asterisk (1.4.3~dfsg-1) -> id: asterisk: No such user + (Closes: #422237) + + -- Mark Purcell Thu, 17 May 2007 07:35:30 +0100 + +asterisk (1:1.4.4~dfsg-1) unstable; urgency=low + + * New Upstream Release + - Fix a crash in chan_zap + - Fix some cases where IAX2 calls would get dropped + - Merge a re-write of channel group counting support that fixes a lot of + issues + - Fix some DTMF issues related to the use of chan_agent + - Fix a crash that occurs when using dialplan functions to set global + variables + + -- Mark Purcell Wed, 25 Apr 2007 18:11:44 +1000 + +asterisk (1:1.4.3~dfsg-1) unstable; urgency=high + + * Urgency high as this fixes a number of Asterisk Security Advisories (ASA) + + * New upstream release + - [asteriskteam@digium.com: [asterisk-announce] ASA-2007-011: Multiple + problems in SIP channel parser handling response codes] (Closes: + #420864) + - [asteriskteam@digium.com: [asterisk-announce] ASA-2007-012: Remote + Crash Vulnerability in Manager Interface] (Closes: #420866) + - [asteriskteam@digium.com: [asterisk-announce] ASA-2007-010: Two + stack buffer overflows in SIP channel's T.38 SDP parsing code] + (Closes: #420868) + - CVE-2007-1594: Asterisk segfaults upon receipt of a certain SIP + packet (SIP Response code 0) (Closes: #419820) + + * Update debian/NEWS to broadcast the demise of bristuff + * Asterisk-classic, asterisk-bristuff are depreciated + - asterisk has circular Depends on asterisk-bristuff|asterisk-classic + (Closes: #384674) + * Ship UPGRADE.txt and refer to it in debian/NEWS + - UPGRADE.txt cannot be found in any package (Closes: #419164) + + -- Mark Purcell Wed, 25 Apr 2007 16:47:31 +1000 + +asterisk (1:1.4.2~dfsg-5) unstable; urgency=low + + * Bump Build-Depends: libsnmp10-dev | libsnmp-dev + * Only ship default/asterisk in asterisk package + - Asterisk-config and asterisk 1:1.4.2~dfsg-4 both contain + /etc/default/asterisk (Closes: #418656) + * Lintian fixes debian-rules-sets-DH_COMPAT + + -- Mark Purcell Sat, 14 Apr 2007 16:44:18 +0100 + +asterisk (1:1.4.2~dfsg-4) experimental; urgency=low + + [ Tzafrir Cohen ] + * The dummy fetch was not executable when generated from tar+diff. + + [ Mark Purcell ] + * Create debian/rules binary-arch & binary-indep targets + * Move debian/rules magic to package.install files + + -- Mark Purcell Thu, 29 Mar 2007 00:31:41 +0100 + +asterisk (1:1.4.2~dfsg-3) experimental; urgency=low + + * Fix syntax of for dummy fetch (Closes: #416143). + * LSB init section in init.d script. + * Merge other init.d changes from trunk. + + -- Tzafrir Cohen Sun, 25 Mar 2007 16:19:37 +0200 + +asterisk (1:1.4.2~dfsg-2) experimental; urgency=low + + [ Tzafrir Cohen ] + * Fix default varrundir using make vars (Closes: #415799). + * Don't run autoconf if you don't need (Closes: #415865). + * Require zaptel >= 1.4.1, for ZT_EVENT_REMOVED . + + [ Mark Purcell ] + * Include chan_h323.so in debian/asterisk-h323.install + * Please package Asterisk-1.4.0 (Closes: #405723) + * Add Build-Depends: libgtk2.0-dev, libc-client-dev + * configure --with-pwlib=/usr/share/pwlib/include/ \ + --with-h323=/usr/share/openh323/ + * debian/asterisk.default - fix -D/-d typo in PARAMS (Closes LP#68169) + * debian/asterisk.init: + - create /var/run/ directory if necessary and set proper permissions + * Move dh_installinit to architecture dependant + * Move ASTVARRUNDIR to /var/run/asterisk/ + - PID & control files go in wrong place (Closes: #415799) + + -- Mark Purcell Sat, 24 Mar 2007 18:32:45 +0000 + +asterisk (1:1.4.2~dfsg-1) experimental; urgency=low + + * New upstream release. + - SIP INVITE DoS, supposedly fixed in 1.4.2 and 1.2.17, which is + released today 19/03/2007 (Closes: #415466) + * asterisk Depends: ${shlibs:Depends} + + -- Mark Purcell Tue, 20 Mar 2007 19:07:18 +0000 + +asterisk (1:1.4.1~dfsg-1) experimental; urgency=low + + [ Tzafrir Cohen ] + * New upstream release. + - Please package Asterisk-1.4.0 (Closes: #405723) + * A package that builds. + * Removed asterisk-sounds.install: does not belong here. + * Removed makefile_noiaxy.dpatch: applied by upstream. + * Config examples in a separate examples subdirectory. + * Generate explicitly some missing subdirectories. + * Man pages are included in upstream now. + * set ASTDATADIR=/usr/share/asterisk . + * A bunch of other fils moved for 1.4 . + * Use system gsm (only requires an explicit --with-gsm) + * Allow chrooted building with no wget. + * h323_no_exit.dpatch: Don't requires two rounds of building. + + [ Mark Purcell ] + * configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) + --prefix=/usr --mandir=\$${prefix}/share/man -- + infodir=\$${prefix}/share/info + + -- Mark Purcell Mon, 19 Mar 2007 06:24:43 +0000 + +asterisk (1:1.4.0~dfsg-1) UNRELEASED; urgency=low + + * New upstream release (1.4) + * Sandbox to start playing with 1.4, it uses autotools :-), + it also uses ASTDATADIR :-) :-) + * need to understand this menuselect and how to encorporate into debian. + * need to discuss with upstream iLBC conflict with GPL + * Ugly hack in version number. + * get-orig-source now works, though. + * No more asterisk-classic and asterisk-bristuff + * FreePlay Music files location changed + * Disabling h323 build for now, until I figure what's wrong. + * Extra Build-Deps: libiksemel-dev, libradiusclient-ng2-dev, freetds-dev, + libvorbis-dev, libsnmp9-dev + * Simply use configure. No workarounds. + * Edit menuselect.makeopts to avoid downloading MOH files. + * makefile_noiaxy.dpatch: don't try to copy the non-existing iaxy.bin , + * zapbri.dpatch: support zapbri devices + * chanzap_chanremoved.dpatch: handle ZT_EVENT_REMOVED event from zaptel + + -- Mark Purcell Mon, 25 Sep 2006 08:46:16 +0100 + +asterisk (1:1.2.16~dfsg-1) unstable; urgency=high + + [ Tzafrir Cohen ] + * New upstream release. Also fixes remote SIP security hole. + * Updated bristuff patch. + * Fix umask of Asterisk for the voicemail. + + -- Tzafrir Cohen Sun, 4 Mar 2007 00:35:53 +0200 + +asterisk (1:1.2.15~dfsg-1) unstable; urgency=low + + [ Tzafrir Cohen ] + * New upstream release. + * ukcid.dpatch: adapted to chan_conf. + * bristuff.dpatch: adapted to chan_conf. + * daemon_color.dpatch: make rastrisk colourful even without safe_asterisk. + * No need to edit a config file to start Asterisk. + * Use asterisk.conf based on README.asterisk.conf: + - Set default user to asterisk. + - Make the control socket writabe by the group asterisk. + * don't remove stereorize and streamplayer. + * A man page for stereorize. + * Create /etc/asterisk/manager.d (Closes: #410715). + * Check that Asterisk is alive before sending a command (Closes: #389448). + * Use MAKEBUILDOPTS instead of MAKEFLAGS, which is a reserved gmake name. + * Removing build depepndency on obsolete and unused libzap-dev. + * New transcoding interfaces from zaptel.h of zaptel 1.2.13 or 1.4 seem + to be required for Asterisk 1.2.15 . + + -- Mark Purcell Sat, 3 Mar 2007 17:14:25 +0000 + +asterisk (1:1.2.14~dfsg-5) UNRELEASED; urgency=low + + [ Tzafrir Cohen ] + * Bristuff 0.3.0-PRE-1x + + -- Tzafrir Cohen Mon, 22 Jan 2007 23:30:34 +0200 + +asterisk (1:1.2.14~dfsg-4) unstable; urgency=high + + * Add missing "fi" to asterisk_fix. (Closes: #406961) + + -- Kilian Krause Mon, 15 Jan 2007 12:05:18 +0100 + +asterisk (1:1.2.14~dfsg-3) unstable; urgency=low + + * Write a more robust version of the FHS-update for + /usr/share/asterisk/sounds/priv-callerintros. + * Update 30_ast-data-dir to complete fix for #406714. Thanks to Lionel! + + -- Kilian Krause Sun, 14 Jan 2007 13:38:57 +0100 + +asterisk (1:1.2.14~dfsg-2) unstable; urgency=low + + * Install private callerinfos in /var/lib/ where they belong acording to + FHS. (Closes: #406714) + + -- Kilian Krause Sat, 13 Jan 2007 12:01:33 +0100 + +asterisk (1:1.2.14~dfsg-1) unstable; urgency=low + + * New upstream release. + * Build against libspeex-dev (>= 1.1.12-3) with updated shlibs + (Closes: #403544) + * Update bristuff patch to apply cleanly with 1.2.14 until new upstream + version is out. + * Remove hardcoded gcc (Closes: #316802) + * Fix upstream clean target. (Closes: #393659) + + -- Kilian Krause Wed, 3 Jan 2007 21:03:19 +0100 + +asterisk (1:1.2.13~dfsg-2) unstable; urgency=low + + [ Tzafrir Cohen ] + * less_docs.dpatch: remove unnecessary doxygen docs. asterisk-doc's size + is now 1.6M (7.7M installed). + + [ Mark Purcell ] + * asterisk-classic, asterisk-bristuff: + /usr/lib/asterisk/modules/format_ogg_vorbis.so gone missing when + rebuilt (Closes: #397147) + + -- Mark Purcell Mon, 6 Nov 2006 06:33:19 +0000 + +asterisk (1:1.2.13~dfsg-1) unstable; urgency=high + + [ Kilian Krause ] + * Fixup dfsg versions with increased upstream build count. + + [ Santiago Ruano Rincón ] + * Added cdr_sqlite3_custom dpatch + + [ Mark Purcell ] + * New upstream release + - Remote compromise (Closes: #394025) + - CVE-2006-5444/5:security issues in asterisk (Closes: #395080) + - Urgency high as this fixes remote compromise security issue + - Information disclosure of voice mail messages through vmail.cgi + (Closes: #338116) + - package asterisk-dev should contain asterisk.h main header (Closes: + #342138) + - format_ogg_vorbis.so was present in i386, no longer in packages + (Closes: #375141) + * Update debian/patches/bristuff.dpatch + * bristuff-0.3.0-PRE-1v + - Please package bristuff 0.3.0PREu (Closes: #394122) + - please include app_pickup.c from bristuff (Closes: #348194) + * Build Depends: dpkg ( >= 1.13.19) + - Asterisk must build-depend upon dpkg ( >= 1.13.19) (Closes: #386113) + * Build-Depends: libpq-dev + - obsolete build dependency postgresql-dev (Closes: #389376) + + -- Mark Purcell Wed, 25 Oct 2006 06:46:52 +0100 + +asterisk (1:1.2.12.1.dfsg-1) unstable; urgency=low + + [ Tzafrir Cohen ] + * New upstream release + * bristuff.dpatch: version adapted. + * apprecord_sprintf.dpatch removed: already applied. + + [ Mark Purcell ] + * binary blob in asterisk-classic package (Closes: #386361) + * Cleanup bristuff.dpatch + + -- Mark Purcell Sun, 24 Sep 2006 14:45:58 +0100 + +asterisk (1:1.2.11.dfsg-1) unstable; urgency=high + + [ Tzafrir Cohen] + * apprecord_sprintf.dpatch: fix format string issue in app_record.so . + + [ Mark Purcell ] + * New Upstream Release + * Urgency high as fixes CVE-2006-4346 + * CVE-2006-4346: Asterisk MGCP AUEP Response Handling Buffer + Overflow (Closes: Bug#385060) + * Please package Asterisk 1.2.11 and Zaptel 1.2.8 (Closes: #384283) + * Better error handling on init.d reload, if asterisk isn't running + * Lintian cleanup: not-binnmuable-any-depends-all + * Lintian cleanup: not-binnmuable-all-depends-any + * Use restart in asterisk_fix + + -- Mark Purcell Sat, 2 Sep 2006 13:01:02 +0100 + +asterisk (1:1.2.10.dfsg-3) unstable; urgency=low + + [ Kilian Krause ] + * Add iaxy.bin to asterisk debs to have working IAX support. + * asterisk_fix is included on the main asterisk package + (Closes: Bug#287025, Bug#360233, Bug#381861) + * Various fixes to asterisk_fix + + [ Mark Purcell ] + * Remove Build-Depends: libgtk1.2-dev (only for asterisk-gtk) + * export PROC := $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU) + * asterisk-{classic-bristuff} Depends: asterisk + * asterisk_fix needs to fix /var/run/asterisk + * Move doc/asterisk -> asterisk-doc package + + [ Tzafrir Cohen] + * New upstream release (Closes: #385060). + * bristuff 0.3.0-PRE-1s (adapted to asterisk 1.2.11). + + -- Mark Purcell Thu, 17 Aug 2006 20:31:02 +0100 + +asterisk (1:1.2.10.dfsg-2) unstable; urgency=high + + * IAX2 channel driver security patch [CVE-2006-2898] + - CVE-2006-2898: Denial of service in Asterisk (Closes: #380054) + + -- Mark Purcell Thu, 27 Jul 2006 08:09:47 +0100 + +asterisk (1:1.2.10.dfsg-1) unstable; urgency=low + + [ Tzafrir Cohen ] + * New upstream release. + * bristuff.dpatch updated for the new version. + * dfsg tarball also removes ilbc. + * Cleanups to asterisk_fix + + [ Mark Purcell ] + * Build-Depends: libpri-dev (>= 1.2.3-1) + * Fixes: + - Please package version 1.2.9.1 (Closes: #372527) + + -- Mark Purcell Mon, 17 Jul 2006 21:15:50 +0100 + +asterisk (1:1.2.9.1.dfsg-1) unstable; urgency=high + + * New upstream release. [CVE-2006-2898] + + [ Mark Purcell ] + * Update debian/watch for numeric upstream versions + + [ Kilian Krause ] + * Remove unused correct_pid.dpatch (has apparently been fixed with 1.2 + upstream) + * debian/patches/100_nonroot.dpatch, debian/patches/20_Makefile.dpatch, + debian/patches/25_subdirs_Makefiles.dpatch: Remove unused patches + + [ Tzafrir Cohen ] + * reunite init.d and logrotate scripts in the package asterisk + * Re-add correct_pid_display.dpatch + * bristuff 0.3.0-PRE1s (gsm functionality missing: needs libgstam) + * sys_readline.dpatch: Realine support in the CLI. TODO: tab completion + * sys_editline.dpatch: alternativly, simply use the system version of + editline (not used). + * func_odbc_12.dpatch: backport of func_odbc (Closes: #364633) + * brazilian_syntax.dpatch (using "pt_BR") + * vm_he.dpatch: Hebrew in app_voicemail + * The data_dir patch also moves agi-bin/ and firmware/ + * option_detach: using -F instead of -D (the same as upstream) + * asterisk.init: added "zaptel-fix" to unload and reload zaptel modules + + -- Kilian Krause Fri, 16 Jun 2006 18:04:50 +0000 + +asterisk (1:1.2.7.1.dfsg-3) unstable; urgency=high + + * Urgency high as this is a security fix [CVE-2006-2898] + * Added 99_CVE-2006-2898.dpatch from Joey Schulze + - Fixes: Bug in the IAX2 channel allows remote attackers to craft + a denial of service. + + -- Mark Purcell Tue, 13 Jun 2006 05:11:44 +0100 + +asterisk (1:1.2.7.1.dfsg-2) unstable; urgency=high + + [ Kilian Krause ] + * Urgency bumped since 1.2.7 is a security update [CVE-2006-1827] + (Closes: #364195) + + [ Mark Purcell ] + * Previous Upload also fixes: + - cannot install - directories not created (Closes: #360233) + - package uninstallable (Closes: #359970) + * Update postinst to fix: fails to upgrade when /etc/asterisk/voicemail.conf + is deleted (Closes: #360220) + * Link debian/asterisk-bristuff.asterisk.{logrotate,init} & + provide debian/asterisk-classic.asterisk.logfile + - Fixes: init.d and logrotate.d conflicts (Closes: #360181) + + -- Mark Purcell Sun, 23 Apr 2006 13:26:29 +0100 + +asterisk (1:1.2.7.1.dfsg-1) unstable; urgency=low + + [ Tzafrir Cohen ] + * New upstream release. + * nomarch.dpatch: removed the patching to internal libgsm, as we don't use + it (and it broke in this version) + * bristuff.dpatch: based on the patch from bristuff-0.3.0-PRE1n + * bristuff.dpatch: A small fix in chan_sip.c + * bristuff.dpatch: Disabling "libgsm" until it is renamed + * 30_ast-data-dir.dpatch: the symlink sounds/voicemail is now gone + * rules: do fail if bristuff patching hasfailed + * zap_restart.dpatch: allow restarting zaptel channel with "zap restart" + * backport_playdtmf.dpatch: a harmless backport (no impact if not used) + * completed the merge of logrotate and init.d scripts + + [ Lionel Elie Mamane ] + * When not running asterisk, do it successfully, not by failure. + (closes: #360234) + * Create /var/log/asterisk/cdr-csv, not cdr-cvs. + + [ Mark Purcell ] + * Update debian/control for asterisk-h323 package description + * Create /var/spool/asterisk & /var/lib/asterisk in debian/*.postinst + * New upstream release. Fixes: + - Version 1.2.5 is out (Closes: #355299) + - since 1.2.0 no chan_modem (Closes: #343232) + - Undefined symbol in chan_zap.so (Closes: #339559) + - Unapplying patches fail (Closes: #345676) + - utils.c:619 tvfix: warning negative timestamp... (Closes: #347929) + - creates /.asterisk_history on reboot (Closes: #307218) + * h323 modules can be unstable so dont load my default + * Cleanup debian/patches to remove obsolete/ old patches + + -- Mark Purcell Fri, 21 Apr 2006 17:33:31 +0100 + +asterisk (1:1.2.6.dfsg-1) unstable; urgency=low + + * New upstream release. (Closes: #355299) + * correct_pid_display.dpatch: adjusted to 1.2.6 + * 30_ast-data-dir.dpatch: adjusted to 1.2.6 + * debian/control: Add adduser to depends of asterisk-config to shut up + lintian. + * rules: no need to copy config to the bristuff install + * rules: but use cp -a for ast_config, as there may be subdirs. + + -- Tzafrir Cohen Mon, 10 Apr 2006 19:00:12 +0300 + +asterisk (1:1.2.4.dfsg-7) unstable; urgency=low + + * Recompile to fix missing asterisk-config from last binNMU round + (Closes: #356712, #358413, #355524, #358145) + * postinstall: Add /var/spool/asterisk/meetme if nonexistant. + (Closes: #355046) + * asterisk.init: Install both asterisk-classic and asterisk-bristuff with + /etc/init.d/asterisk (Closes: #354729) + * logroate: create /var/log/asterisk/cdr-custom/ as well as cdr-csv + (Closes: #355048) + * logrotate: share location of logrotate file as /etc/logrotate.d/asterisk + for both classic and bristuff version (Closes: #356712) + * delete chan_capi modules from bristuff + * Move postinstall and postrm to asterisk-classsic, asterisk-bristuff and + asterisk-config. (Closes: #355524) + + -- Kilian Krause Thu, 30 Mar 2006 11:55:03 +0200 + +asterisk (1:1.2.4.dfsg-6) unstable; urgency=low + + * Add chan_h323 back with new Atlas_devel3 OpenH323. + + -- Kilian Krause Sat, 18 Feb 2006 17:55:24 +0000 + +asterisk (1:1.2.4.dfsg-5) unstable; urgency=low + + * Fix install of asterisk-bristuff with dh_install. + + -- Kilian Krause Tue, 14 Feb 2006 20:23:56 +0100 + +asterisk (1:1.2.4.dfsg-4) unstable; urgency=low + + * Create missing /var/spool/asterisk/voicemail in postinst (Closes: #352586) + + -- Kilian Krause Sun, 12 Feb 2006 22:51:50 +0100 + +asterisk (1:1.2.4.dfsg-3) unstable; urgency=low + + * Fix asterisk-bristuff install target to catch correct versions. + + -- Kilian Krause Sun, 12 Feb 2006 12:34:31 +0000 + +asterisk (1:1.2.4.dfsg-2) unstable; urgency=low + + * update to bristuff 0.3.0-PRE-1k + + -- Kilian Krause Thu, 9 Feb 2006 18:12:08 +0000 + +asterisk (1:1.2.4.dfsg-1) unstable; urgency=low + + [ Tzafrir Cohen ] + * Fix PID display (Closes: #338646) + * changes to the init.d script (Tzafrir) + * debian/ast_config/ place here configurutaion files that will override + the defaults from the source, though not get into the sample documentation + dir + * debian/ast_config/manager.conf: asterisk does listen onthe manager by + default, but only on localhost. Other packages need not edit manager.conf + to get a manager acount + * bristuff 0.3.0-PRE-1f + * option_detach.dpatch: Adds option -D: always daemonize (even with -v,-d) + (conflicts with bristuff, though) + * ukcid.dpatch: UK Caller ID patch for the X100P. (Closes: #302380) + + [ Kilian Krause ] + * New upstream release. (Closes: #350905) + * Bumping depends on libpri and zaptel to according 1.2 versions. + * Build-Depends on libpri1.2 since new ABI caused new package name. + * Removed alternatives from Build-Depends since sbuild will only take first + anyway to ensure constant rebuilds. + * Add a noload for chan_capi by default, so that we d not stop loading when + no CAPI is installed. (Closes: #328835) + * Include smsq by adding Build-Depends on libpopt-dev (Closes: #348090) + + -- Kilian Krause Sun, 5 Feb 2006 11:44:28 +0100 + +asterisk (1:1.2.1.dfsg-3) unstable; urgency=low + + * Remove -msoft-float from compile flags to fix compilation on arm. + (Closes: #343154) + * Provide nonexistant dirs before running chown on them. (Closes: #341810) + * Depend on Perl module in libapache-dbi-perl or libdbi-perl or web-vmail + (Closes: #337448) + * Fix permissions on voicemail.conf. (Closes: #304615) + * Build-Depend on gsfonts to have Helvetica font for doxygen + (Closes: #343079) + + -- Kilian Krause Mon, 2 Jan 2006 00:15:59 +0000 + +asterisk (1:1.2.1.dfsg-2) unstable; urgency=low + + [ Tzafrir Cohen ] + * bristuff 0.3.0-PRE-1d . Still disabled by default + * libpri_bristuffed.dpatch: link chan_zap with libpri-bristuffed.so.1 + * Use asterisk(8) as a man page for rasterisk + * Removing binary steroize: can be done with soxmix of package sox. + * Removing binary streamplay: can be done with netcat + + [ Kilian Krause ] + * Fix asterisk-dev to include asterisk.h + + -- Tzafrir Cohen Sat, 31 Dec 2005 21:17:44 +0200 + +asterisk (1:1.2.1.dfsg-1) unstable; urgency=low + + * New upstream release + - Please package asterisk 1.2.1 (Closes: #342463) + * Temporary disable bristuff for upstream release + * sip-1.914.dpatch merged upstream + + -- Mark Purcell Wed, 7 Dec 2005 21:59:20 +0000 + +asterisk (1:1.2.0.dfsg-6) unstable; urgency=low + + * Add Build-Depends: libcurl3-dev | libcurl-dev + - Should build-depend on libcurl3-dev (Closes: #341363) + * Add Build-Depends: doxygen + - Missing build-dependency on doxygen (Closes: #341362) + * Build-Depends: adduser (>= 3.63) + * disable chan_zap building (in channels makefile) against old + libmfcr2 (Closes: #342139) + * seperate api docs and configuration samples (Closes: #341395) + * Add sip-1.913.dpatch; SIP error 400 on outgoing calls (Closes: #340574) + + -- Mark Purcell Mon, 5 Dec 2005 23:49:40 +0000 + +asterisk (1:1.2.0.dfsg-5) unstable; urgency=low + + [ Tzafrir Cohen ] + * Added bristuff 0.3.0-PRE1 + + [ Mark Purcell ] + * asterisk-sounds-main Replaces: asterisk-sounds-extra + - asterisk-sounds-{main,extra}: file conflict (Closes: #339791) + + -- Mark Purcell Thu, 1 Dec 2005 17:37:13 +0000 + +asterisk (1:1.2.0.dfsg-4) unstable; urgency=low + + * Fix 50_debian-libgsm.dpatch to apply correctly + - asterisk - FTBFS: Tries to build a i386 assembler file (Closes: + #340102) + + -- Mark Purcell Mon, 21 Nov 2005 19:56:03 +0000 + +asterisk (1:1.2.0.dfsg-3) unstable; urgency=low + + * Remove -march to fix FTBFS. (Closes: #338753) + + -- Kilian Krause Sat, 19 Nov 2005 19:36:31 +0000 + +asterisk (1:1.2.0.dfsg-2) unstable; urgency=low + + * libreadline4-dev is superseeded by libreadline5-dev. Fixed build-depends. + + -- Kilian Krause Sat, 19 Nov 2005 12:12:51 +0000 + +asterisk (1:1.2.0.dfsg-1) unstable; urgency=low + + * New upstream release + + -- Mark Purcell Thu, 17 Nov 2005 18:17:02 +0000 + +asterisk (1:1.2.0-rc2.dfsg-1) experimental; urgency=low + + * New upstream release + + -- Mark Purcell Sun, 13 Nov 2005 17:58:08 +0000 + +asterisk (1:1.2.0-rc1.dfsg-1) experimental; urgency=low + + * New upstream release + * Suggests: asterisk-rate-engine + * debian/rules touch .cleancount (upstream bug?) + + -- Mark Purcell Wed, 9 Nov 2005 22:05:30 +0000 + +asterisk (1:1.2.0-beta2.dfsg-3) experimental; urgency=low + + * Fix debian/patches/30_ast-data-dir with /var/run/asterisk. Thanks + Alessandro Polverini + + -- Mark Purcell Tue, 8 Nov 2005 22:00:29 +0000 + +asterisk (1:1.2.0-beta2.dfsg-2) experimental; urgency=low + + * Copyright audit into debian/copyright (Closes: #331318) + * Please package 1.2 beta 2 (Closes: #336749) + + -- Mark Purcell Mon, 7 Nov 2005 22:58:27 +0000 + +asterisk (1:1.2.0-beta2.dfsg-1) experimental; urgency=low + + * New upstream release + * Update Build-Depends: libpri1 >= 1.2.0-beta2 + * Remove Build-Depends: doxygen. Takes too long for experimental ;-) + + -- Mark Purcell Tue, 1 Nov 2005 22:27:43 +0000 + +asterisk (1:1.2.0-beta1.dfsg-1) experimental; urgency=low + + [ Tzafrir Cohen ] + * recreated system_libgsm patch, http://bugs.digium.com/view.php?id=5434 + * Added public key from Junction Networks (pubkey_jnctn.dpatch). + Any other keys for IAX providers we can add? + * updating to a beta of Asterisk 1.2 + * added defaults_debian.dpatch to set pathes + * BuildDepends on graphviz + * disabled most patches: still need to review them + * What about h323? + * deleted from patches/00list a number of patches that should not go in + + [ Mark Purcell ] + * Fix: old-fsf-address-in-copyright-file + * Please package version 1.2 betas (Closes: #325268) + + -- Mark Purcell Thu, 20 Oct 2005 19:42:14 +0100 + +asterisk (1:1.0.9.dfsg-6) UNRELEASED; urgency=low + + * Fix memleak bug (http://bugs.digium.com/view.php?id=4318) + * Fix depends to adduser 3.64 (Closes: #326198) + + -- Kilian Krause Wed, 7 Sep 2005 21:22:40 +0200 + +asterisk (1:1.0.9.dfsg-5) unstable; urgency=low + + [ Kilian Krause ] + * debian/control: fix GCI to read CGI. (Closes: #311291) + + [ Mark Purcell ] + * /var/lib/dpkg/info/asterisk.postinst: line 22: adduser: command not + found (Closes: #322115) + * debian/patches/chan-modem.dpatch from Simon Peter + - chan_modem.c should set default read & write format (Closes: + #303903) + * apply patch from Jérôme Warnier + - Asterisk autosupport script not recognized as such (Closes: #316799) + * Updated debian/postrm: + - 'apt-get --purge remove asterisk' removes configuration files from + another package (Closes: #318455) + + -- Mark Purcell Tue, 9 Aug 2005 22:07:13 +0100 + +asterisk (1:1.0.9.dfsg-4) unstable; urgency=low + + * Cleanup bristuff to build under gcc4, thanks for the suggestions + - Closes: #318337: FTBFS. channel.c:64: error: static declaration of + 'uniquelock' follows non-static declaration + + -- Mark Purcell Fri, 22 Jul 2005 10:28:15 +1000 + +asterisk (1:1.0.9.dfsg-3) unstable; urgency=low + + * Cleanup 70_debian-libpe-fe.dpatch to check in Makefile + * Enable bristuff-0.2.0-RC8j.dpatch + * Remove debian/patches/08_debian-zaptel.dpatch as it is no longer + needed with new zaptel-source package + * Cleanup debian/patches/ + * Conflicts: asterisk-oh323 (<= 0.6.6pre3-3) + - Closes: #318189: asterisk-oh323: chan_oh323.so cannot find symbol + and Asterisk crashes + - Closes: #318216: chan_oh323.so symbols + * Cleanup postinit error: adduser asterisk audio; adduser asterisk + dialout + * Incorporate suggestions from Tzafrir Cohen + - postinst script has an error + - modified astdir patch, so it won't conflict with bristuff patch + - typo in the debian/asterisk.default: s/exra/extra/ + - build-depends both on zaptel-source (>= 1.0.6) and simply + on zaptel-source, The latter is probably unnecessary + - man pages for the other executables in the package + + -- Mark Purcell Thu, 14 Jul 2005 07:22:59 +0100 + +asterisk (1:1.0.9.dfsg-2) unstable; urgency=low + + * Closes: #301490: Please add patch for Italian syntax + * Closes: #305734: On PowerPC, hanging up on voicemail causes non-stop + log messages + + -- Mark Purcell Fri, 1 Jul 2005 23:24:53 +0100 + +asterisk (1:1.0.9.dfsg-1) unstable; urgency=low + + * New upstream release + - Closes: #315578: New version of asterisk and bristuff released + * Remove BRI patch while we work on it, to allow 1.0.9 to unstable + + -- Mark Purcell Fri, 1 Jul 2005 22:38:24 +0100 + +asterisk (1:1.0.8.dfsg-1) UNRELEASED; urgency=low + + * (NOT RELEASED YET) New upstream release + + -- Mark Purcell Fri, 24 Jun 2005 23:25:02 +0100 + +asterisk (1:1.0.7.dfsg.1-4) unstable; urgency=low + + * debian/control: fixed build-depends on sed's version greater than Woody. + (Closes: #308885) + + -- Kilian Krause Sat, 21 May 2005 14:15:03 +0200 + +asterisk (1:1.0.7.dfsg.1-3) unstable; urgency=low + + * Jose Carlos + + Fix a typo in NEWS.Readme + + debian/postint: Add asterisk user to dialout group too. This is needed + for asterisk to have enoug permissions to access zaptel devices. + + debian/control: allow a local asterisk-config-local package to satisfy + dependencies. Conflict with asterisk-config + + -- Jose Carlos Garcia Sogo Sun, 8 May 2005 22:06:44 +0200 + +asterisk (1:1.0.7.dfsg.1-2) unstable; urgency=low + + * Mark Purcell + + Update debian/watch to use svn-upgrade + * Kilian Krause + + debian/asterisk.init: fixed restart problem with breaking up after stop. + + debian/asterisk.init: fixed reference to WRAPPER_DEAMON which is only + DEAMON for us. (Closes:#300707) + + -- Kilian Krause Mon, 21 Mar 2005 10:59:01 +0100 + +asterisk (1:1.0.7.dfsg.1-1) unstable; urgency=low + + * New upstream release (Ensure non-dfsg MOH is not included in orig.tar) + + -- Mark Purcell Sun, 20 Mar 2005 10:30:44 +0000 + +asterisk (1:1.0.7-1) unstable; urgency=low + + * New upstream release. (Closes: #300403) + + Fixed music on hold. (Closes: #300370) + * Re-enabled speex codec. (Closes: #300373) + * As asterisk-h323 is empty, we are no longer depending on openh323, so + we don't have build conflicts between asterisk and zaptel. (Closes: #287260) + * debian/rules: Fixed duplicate execution of configure and unrepresentable + changes to source. (Closes: #299184) + * debian/patches/80_skinny.dpatch: removed. Incorporated in the 1.0.7 + release. + * debian/patches/97_bristuff.dpatch: fixed problems to build on AMD64 with + gcc-4.0 (Closes: #297561) + + -- Kilian Krause Sat, 19 Mar 2005 22:26:45 +0100 + +asterisk (1:1.0.6-2) unstable; urgency=low + + * fixed location of sounds dir in addmailbox (Closes: #298769) + + -- Kilian Krause Wed, 9 Mar 2005 22:09:05 +0100 + +asterisk (1:1.0.6-1) unstable; urgency=low + + * New upstream release. (asterisk 1.0.6, bristuff RC7k, Closes: #298128) + * debian/control: explicitly depend on zlib1g-dev. (Closes: #296967) + * Make sure we have the newer asterisk-config to not conflict + /etc/default/asterisk. (Closes: #297719) + * as there is no longer a conflict with libnewt-dev, it was added to the + build deps for astman + * debian/control: add astman and cdr_sqlite (Closes: #259342) + * asterisk.default, asterisk.init: removed hack to load zaphfc correctly. + We'll leave this to zaptel and it's modprobe.d features. + + -- Kilian Krause Sat, 5 Mar 2005 20:03:42 +0100 + +asterisk (1:1.0.5-4) unstable; urgency=low + + * debian/patches/00list,debian/control: Enable bristuff RC7f by default. + * debian/asterisk.init, debian/asterisk.default: Cleanup zaphfc preloading + as inspired by Tzafrir Cohen. + * debian/control: Remove speex as B-D, it's broken when imported from + debian. Added autotools-dev for editline. + * deiban/rules: fix asterisk.8.gz error in lintian. Bring new autotools for + editline's configure. + * reintroduce chan_zap (Closes: #296656) + + -- Kilian Krause Thu, 24 Feb 2005 01:24:45 +0100 + +asterisk (1:1.0.5-3) unstable; urgency=low + + * debian/patches/08_debian-zaptel.dpatch, debian/control: fixed zaptel.h + include to take zaptel-source's version. + * debian/patches/97_bristuff.dpatch: + include bristuff from junghanns.net (not enabled by default now, would + close: #286797). We need libpri and zaptel with bristuff patch first. + * 18_debian-libedit.dpatch: removed due to command history problem. + (Closes:#281690) + * debian/asterisk.init: Added grace timeout of 2 secs before hard shutting + down running daemons to don't scatter incorrect warnings. Don't run the + asterisk daemon unless RUNASTERISK=yes. (Will not bind ports from chroots) + * debian/asterisk-config.default: Disabled autostart - especially when + installing in chroots this was quite annoying. + * debian/rules: Remove the asterisk.8.gz recompression. (Closes: #295220) + * debian/README.Debian: Added first version. Thanks to Tzafrir Cohen for the + template! (Closes: #270072) + * debian/asterisk.deafult: moved the /etc/default to the asterisk package, + as /etc/init.d/asterisk in there needs it. + * debian/80_skinny.dpatch: Added + http://bugs.digium.com/bug_view_page.php?bug_id=0003496. Thanks to Johan + Thelmén . (Closes:#295658) + * debian/control: remove chan_h323 from being built for now. For now it's + being replaced by asterisk-oh323 until chan_h323 does build and work ok + with latest OpenH323 again. + + -- Kilian Krause Mon, 21 Feb 2005 23:13:57 +0100 + +asterisk (1:1.0.5-2) unstable; urgency=low + + * Debian VoIP Team upload. + * asterisk.init, asterisk-config.default: probably fixed start-as-user-with- + multiple-groups-problem. + * patches/40_initgroups.dpatch: added patch from Florian Weimer + . Thanks! (Closes: #293124) + * debian/postinst: Make asterisk user's home /var/lib/asterisk upon user + request. + * debian/control: Bump libpri build-depends to 1.0.4-1. (Closes: #293990) + + -- Kilian Krause Tue, 8 Feb 2005 11:40:43 +0100 + +asterisk (1:1.0.5-1) unstable; urgency=low + + * Debian VoIP Team upload. + * New upstream release. + + * Kilian Krause: + - debian/asterisk.init: fixed multiple GID problem when starting asterisk (as + reported by Raoul Bönisch and Simon Peter). Unfortunatelly this does + remove the chance to run as real-time prio. + - debian/asterisk.init: fixed stale stop by using start-stop-server after + soft shutdown (Closes: #263879) + - debian/asterisk.init: Fixed running as root problem for #279052. At least + through the /etc/init.d/asterisk you won't be able to run asterisk as + root (not even with another username). (Closes: #279052) + - debian/asterisk.init: Added switch to run asterisk via safe_asterisk + optionally for automatic restart (Closes: #266805) + - debian/patches/01_security_hotfix_287851.dpatch: Removed, as is + incorporated in 1.0.4 upstream release. + + * Jose Carlos + - debian/rules: add a check at build time for fpm sounds. If they exist, + abort, as we must remember to remove those from sources in each new + upstream release. + - debian/patches: 20_Makefile.dpatch: updated + + -- Jose Carlos Garcia Sogo Fri, 28 Jan 2005 23:31:14 +0100 + +asterisk (1:1.0.3-2) unstable; urgency=low + + * Apply missing 25_subdirs_Makefile patch. + + -- Jose Carlos Garcia Sogo Sat, 15 Jan 2005 18:23:40 +0100 + +asterisk (1:1.0.3-1) unstable; urgency=high + + * Debian VoIP Team upload. + * New upstream version. (Closes: #284889) + + * Kilian Krause: + - ACK NMU. (Thanks Steve!): + + debian/patches/01_security_hotfix_287851.dpatch: Patched to + fix logging strings vulnerability. (Closes: #287851) + + * Jose Carlos Garcia Sogo + - Using again dpatch. + - debian/patches: populated with different patches. + - 08_debian-zaptel: Using zaptel.h file from version 1:1.0.0-2 of + zaptel-source package. + - removed sounds licensed from FreePlayMusic from source, + as the license for them is not DFSG compliant (Closes: #288429) + - applied patch to make asterisk compile on amd64 with + gcc-4.0 (Closes: #288831) + - debian/asterisk.init: + + Changed how daemon is restarted in init file. (Closes: #287025) + + Using -r in checks in init file. (Closes: #287456) + - debian/asterisk-config.default + + Run by default as group asterisk. + - Fix some lintian warnings and errors: + + Description: should start with lowercase letter. + + Bumped Standars-Version to 3.6.1. No changes needed. + + Removed duplicate dependencies. + + Recompress asterisk.8 manpage with max level (--best option) + + -- Jose Carlos Garcia Sogo Sat, 15 Jan 2005 13:11:49 +0100 + +asterisk (1:1.0.2-3.1) unstable; urgency=high + + * Non-maintainer upload. + * High-urgency upload for sarge-targetted RC bugfix + * Fix multiple format string vulnerabilities, reported by Jan + Niehusmann. Closes: #287851. + + -- Steve Langasek Sat, 8 Jan 2005 02:54:45 -0800 + +asterisk (1:1.0.2-3) unstable; urgency=low + + * Closes: #281524: running asterisk with realtime priority + * Include changes from Tzafrir Cohen + + -- Mark Purcell Thu, 2 Dec 2004 02:10:12 +1100 + +asterisk (1:1.0.2-2) unstable; urgency=low + + * fixup init.d/asterisk to logger reload. Thanks Daniel Pocock + * Closes: #260575: chan_zap.so: undefined symbol + * Build-Depends: libpri1 >= 0.6 + * Closes: #279905: dependency issue breaks voicemail setup + * Build-Depends: asterisk-sounds-main (>= 1.0.2) + * Closes: #269942: package Debian asterisk-sounds + * Rename asterisk-sounds to asterisk-sounds-main to avoid upstream + conflict + * Closes: #277404: Please split out GTK console + * Split off asterisk-gtk-console package to contain all X11 + dependancies + + -- Mark Purcell Sat, 6 Nov 2004 13:20:33 +1100 + +asterisk (1:1.0.2-1) unstable; urgency=low + + * New upstream release + * Closes: #279540: Please package newer version of asterisk + * Closes: #275808: logrotate errors and emails + + -- Mark Purcell Thu, 4 Nov 2004 18:19:09 +1100 + +asterisk (1:1.0.1-2) unstable; urgency=low + + * Closes: #275808: logrotate errors and emails + * Add init.d/asterisk logger-reload|extensions-reload options & use + logger reload in asterisk.logrotate. Thanks Daniel Pocock + + -- Mark Purcell Wed, 13 Oct 2004 22:31:22 +1000 + +asterisk (1:1.0.1-1) unstable; urgency=low + + * New upstream release + + -- Mark Purcell Wed, 6 Oct 2004 14:39:12 +1000 + +asterisk (1:1.0.0-4) unstable; urgency=high + + * Urgency high for sarge release + * Closes: #273570: asterisk-sounds: sounds/letters directory is missing + + -- Mark Purcell Wed, 29 Sep 2004 07:48:16 +1000 + +asterisk (1:1.0.0-3) unstable; urgency=low + + * Closes: #273780: under ALSA, infinite-loops immediately on + installation + * Comment out autoload of chan_oss from modules.conf + * Closes: #272999: asterisk_1:0.9.1+1.0RC2-2_hppa: FTBFS: + [anaFilter.o] Error 1 + * Version 1.0.0 now builds on hppa + * Closes: #273576: chan_zap.so module is missing + * check for ../include/linux/zaptel.h in channels/Makefile + * Closes: #273572: Music on hold has wrong default directory + * refer to correct /usr/share/asterisk/mohmp3 directory + + -- Mark Purcell Tue, 28 Sep 2004 23:06:03 +1000 + +asterisk (1:1.0.0-2) unstable; urgency=medium + + * Rebuild with zaptel.h_1.0.0 and libpri-dev_1.0.0 + + -- Mark Purcell Sun, 26 Sep 2004 08:32:11 +1000 + +asterisk (1:1.0.0-1) unstable; urgency=low + + * New upstream release + + -- Mark Purcell Fri, 24 Sep 2004 20:23:31 +1000 + +asterisk (1:0.9.1+1.0RC2-2) unstable; urgency=low + + * Use asterisk.8.gz man page + * Remove back PROC optomizations from Makefile, enable build on hppa + + -- Mark Purcell Thu, 23 Sep 2004 18:20:45 +1000 + +asterisk (1:0.9.1+1.0RC2-1) unstable; urgency=low + + * New upstream release + * Back out dpatch (Makes new upstream release straight forward) + + -- Mark Purcell Thu, 23 Sep 2004 08:35:08 +1000 + +asterisk (1:0.9.1+1.0RC1-9) unstable; urgency=low + + * Breakup monolithic patch into components. + + -- Mark Purcell Wed, 22 Sep 2004 18:47:31 +1000 + +asterisk (1:0.9.1+1.0RC1-8) unstable; urgency=medium + + * debian/patches/11_makefile-sanitize.dpatch: fixed patch to make gsm + work again. (Closes: #266167) + + -- Kilian Krause Tue, 17 Aug 2004 15:34:21 +0200 + +asterisk (1:0.9.1+1.0RC1-7) unstable; urgency=low + + * debian/rules, debian/patches/10_rollup-1.0-1.dpatch, + debian/patches/11_makefile-sanitize.dpatch: Incorporate fixes proposed by + Thiemo Seufer . + Should fix the FTBFS on hppa. + + -- Kilian Krause Sun, 15 Aug 2004 20:16:26 +0200 + +asterisk (1:0.9.1+1.0RC1-6) unstable; urgency=low + + * debian/control: suggest gnomemeeting. (At least tell people, which clients + they need) Also add dpatch as Build-Dep. (Closes: #265036) + * Closes: #262011: SIP cancels fail due to Request-URI mismatch + * debian/patches/20_chan_sip.dpatch: Apply chan_sip patch from Jan Niehusmann + + -- Kilian Krause Sat, 14 Aug 2004 14:05:36 +0000 + +asterisk (1:0.9.1+1.0RC1-5) unstable; urgency=low + + * debian/control: make sure we're rebuilding with rtti enabled openh323 + * debian/rules: make svn-buildpacakge not choke on failing clean target + + -- Kilian Krause Mon, 9 Aug 2004 14:37:38 +0200 + +asterisk (1:0.9.1+1.0RC1-4) unstable; urgency=low + + * Cleanup wierd .diff.gz file + + -- Mark Purcell Wed, 28 Jul 2004 19:00:32 +1000 + +asterisk (1:0.9.1+1.0RC1-3) unstable; urgency=low + + * Rebuild with existing libtonezone1 + + -- Mark Purcell Wed, 28 Jul 2004 18:10:52 +1000 + +asterisk (1:0.9.1+1.0RC1-2) unstable; urgency=low + + * Cleanup codecs/ilbc/Makefile to remove -march sillyness (which is + already defined above anyway + * Debian already has libedit.a Don't build, fails on mips anyway due to old config.guess + + -- Mark Purcell Wed, 21 Jul 2004 19:21:51 +1000 + +asterisk (1:0.9.1+1.0RC1-1) unstable; urgency=low + + * New upstream release (Closes: Bug#260370) + * Closes: #247401: doesn't upgrade cleanly - initscript + problems ? + + -- Mark Purcell Tue, 20 Jul 2004 19:20:37 +1000 + +asterisk (1:0.9.1-3) unstable; urgency=low + + * allow init.d/asterisk distribution via GPL + * Remove -I/usr/include/ptlib/unix from h323 Makefile, Thanks Ray + Dassen (Closes: Bug#259564) + * Closes: #259572: Unmet dependencies + * Maintainer: Debian VoIP Team + Uploaders: Mark Purcell , + Kilian Krause , + Jose Carlos Garcia Sogo , + Goedson Teixeira Paixao , + Santiago Garcia Mantinan + * Next step. Get this all back into svn! + + -- Mark Purcell Sun, 18 Jul 2004 10:40:22 +1000 + +asterisk (1:0.9.1-2) unstable; urgency=low + + * Rebuild with libopenh323-dev (1.12.2-4) from sarge for H.323 support + + -- Mark Purcell Wed, 14 Jul 2004 18:35:42 +1000 + +asterisk (1:0.9.1-1) unstable; urgency=low + + * New upstream release. Previous version WAS tagged as 1.0 in CVS :-( + * Closes: #249046: no ring indication + * Closes: #254654: init.d/asterisk restart kills asterisk + * Build-Depends: libgtk1.2-dev, libspeex-dev (Closes: Bug#253639) + * Turn off broken H.323 support (Closes: Bug#255662) + * Closes: #250302: Package description is slightly outdated and + incorrect + * Closes: #255685: Syntax error in configuration file, + /etc/asterisk/sip.conf + * Closes: #228722: please add postgres support for asterisk + + -- Mark Purcell Sat, 3 Jul 2004 22:47:41 +1000 + +asterisk (1.0-2) unstable; urgency=low + + * Rebuild for new libopenh323-dev + + -- Mark Purcell Sat, 3 Jul 2004 21:56:58 +1000 + +asterisk (1.0-2) unstable; urgency=low + + * Merged 1.0-1 and 0.9.0-2 + + -- Jose Carlos Garcia Sogo Tue, 8 Jun 2004 00:10:16 +0200 + +asterisk (1.0-1) unstable; urgency=low + + * New upstream release + + -- Mark Purcell Mon, 31 May 2004 21:51:18 +1000 + +asterisk (0.9.0-1) unstable; urgency=low + + * New upstream release + + -- Mark Purcell Sun, 18 Apr 2004 22:51:59 +1000 + +asterisk (0.7.2-4) unstable; urgency=low + + * Update channels/h323/Makefile Closes: #235010: + asterisk_0.7.2-3(unstable/sparc): arch-dependent CFLAGS + + -- Mark Purcell Fri, 27 Feb 2004 12:14:26 +1100 + +asterisk (0.7.2-3) unstable; urgency=low + + * Add Build-Depends: libopenh323-dev (Closes: Bug#233649) + + -- Mark Purcell Tue, 24 Feb 2004 11:55:57 +1100 + +asterisk (0.7.2-2) unstable; urgency=low + + * Build-Depends: libpri-dev (Closes:Bug#199548) + * Include Suggests: rate-engine + + -- Mark Purcell Thu, 5 Feb 2004 17:26:02 +1100 + +asterisk (0.7.2-1) unstable; urgency=low + + * New upstream release + + -- Mark Purcell Thu, 5 Feb 2004 16:25:28 +1100 + +asterisk (0.7.1-3) unstable; urgency=low + + * Build with libopenh323 support (Closes: Bug#195233) + * Include Suggests: ohphone + + -- Mark Purcell Tue, 3 Feb 2004 08:47:47 +1100 + +asterisk (0.7.1-2) unstable; urgency=low + + * Remove ppc fixup in codecs/lpc10/Makefile again. Prevents build on + ia64, mk68 et al + + -- Mark Purcell Fri, 16 Jan 2004 11:46:57 +1100 + +asterisk (0.7.1-1) unstable; urgency=low + + * New upstream release + * i686 optomised build + + -- Mark Purcell Thu, 15 Jan 2004 23:06:01 +1100 + +asterisk (0.7.0-1) unstable; urgency=low + + * LCA2004 release. Thanks Internode for the wireless access + * New upstream release + * Clean up bad symlinks in vm (Closes: Bug#220714) + * Apply restart gracefully patch from Nick Estes (Closes: Bug#217004) + * Fixup permission/ ownership problems in /etc/asterisk (Closes: + Bug#216995) + * Fixup master call log issues (Closes: Bug#217003) + * Remove Build-Depends: libmysql-dev - see doc/README.mysql (Closes: + Bug#222255) + * Build with include/linux/zaptel.h from zaptel-0.8.0.tar.gz + * Include Build-Depends: postgresql-dev + * Include Build-Depends: unixodbc-dev + + -- Mark Purcell Wed, 14 Jan 2004 10:10:02 +1100 + +asterisk (0.5.0-3) unstable; urgency=low + + * Remove Suggests: gnophone (Orphaned and removed) + * Clean up bad symlinks in vm (Closes: Bug#220714) + * Apply restart gracefully patch from Nick Estes (Closes: Bug#217004) + * Fixup permission/ ownership problems in /etc/asterisk (Closes: + Bug#216995) + * Fixup master call log issues (Closes: Bug#217003) + + -- Mark Purcell Tue, 13 Jan 2004 21:01:16 +1100 + +asterisk (0.5.0-2) unstable; urgency=low + + * Build-Depends: debhelper (>= 4.0.4) (Closes: Bug#216725) + + -- Mark Purcell Fri, 31 Oct 2003 06:59:11 +1100 + +asterisk (0.5.0-1) unstable; urgency=low + + * New upstream release (Closes: Bug#196761) + * Build with include/linux/zaptel.h from zaptel-0.7.0.tar.gz + + -- Mark Purcell Tue, 16 Sep 2003 23:40:05 +1000 + +asterisk (0.4.0-6) unstable; urgency=low + + * Include dh_install in debian/rules (Closes: Bug#207879) + + -- Mark Purcell Wed, 10 Sep 2003 23:07:37 +1000 + +asterisk (0.4.0-5) unstable; urgency=low + + * Rebuild for libnewt-utf8-0 (NOT AVAILABLE) + * Build-Depend: libnewt-dev + + -- Mark Purcell Sat, 5 Jul 2003 15:17:57 +1000 + +asterisk (0.4.0-4) unstable; urgency=low + + * include Build-Depends: libgtk1.2-dev (Closes: Bug#194489) + + -- Mark Purcell Sat, 5 Jul 2003 15:12:02 +1000 + +asterisk (0.4.0-3) unstable; urgency=low + + * Rebuild for libtonezone-0.60, libzaptel-0.60 + * Change codecs/codec_gsm.c:#include (Closes: Bug#190082) + * Start after isdnactivecards debian/rules dh_installinit (Closes: + Bug#191062) + * Change to Build-Depends: libnetw-utf8-dev + * Update Tormenta URL in debian/control + + -- Mark Purcell Sat, 10 May 2003 16:58:03 +1000 + +asterisk (0.4.0-2) unstable; urgency=low + + * Remove ppc 'fixup' in codecs/lpc10/Makefile (Closes: Bug#189743) + * Updated description (Closes: Bug#168779) + + -- Mark Purcell Sun, 20 Apr 2003 08:37:49 +1000 + +asterisk (0.4.0-1) unstable; urgency=low + + * New upstream release + * cdr/Makefile CFLAGS+=-fPIC -DPIC (Closes: Bug#188915) + * Include include/linux/zaptel.h from zaptel-0.6.0.tar.gz + + -- Mark Purcell Sat, 19 Apr 2003 21:11:45 +1000 + +asterisk (0.3.0-2) unstable; urgency=low + + * Build-Depends: libmysqlclient-dev, libgtk2.0-dev (Closes: Bug#188188) + + -- Mark Purcell Thu, 10 Apr 2003 20:08:38 +1000 + +asterisk (0.3.0-1) unstable; urgency=low + + * New upstream release + * channels/chan_zap_new.c is depreciated + * Debian patches to upstream Makefile are a lot cleaner!! + * Update /etc/init.d/asterisk stop to use 'stop now' command + * Hack AST_DATA_DIR to provide asterisk-sounds under /usr/share/asterisk + * `chown asterisk.asterisk /var/lib/asterisk` on install + * Remove dh_undocumented + * chan_oss failing again :-( + * Force Depends: libspeex1 (dpkg-shlibs bug?) + + -- Mark Purcell Tue, 8 Apr 2003 21:27:52 +1000 + +asterisk (0.2.0-cvs20030103-3) unstable; urgency=low + + * Include Build-Depends: libasounds2-dev + * Update channels/Makefile to include Debian zaptel.h dir (Closes: Bug#178868) + * Thanks to mdz for the new libzap-dev and other patches + + -- Mark Purcell Sat, 8 Mar 2003 15:45:40 +1100 + +asterisk (0.2.0-cvs20030103-2) unstable; urgency=low + + * Revert -march in codecs/lpc10/Makefile + + -- Mark Purcell Sat, 25 Jan 2003 08:38:51 +1100 + +asterisk (0.2.0-cvs20030103-1) unstable; urgency=low + + * New upstream release + * Use invoke-rc.d in logrotate script (Closes: Bug#174633) + + -- Mark Purcell Fri, 24 Jan 2003 21:57:43 +1100 + +asterisk (0.2.0-4) unstable; urgency=low + + * Add Build-Depends: bison (Closes: Bug#169312) + + -- Mark Purcell Sun, 17 Nov 2002 09:03:01 +1100 + +asterisk (0.2.0-3) unstable; urgency=low + + * Fixed bison problems. ThanksMartijn + * Move gethostname in app_voicemail.c (Closes: Bug#168936) + * Move 0.2.0 to unstable. If you have OSS problems use asterisk/testing. + + -- Mark Purcell Fri, 15 Nov 2002 20:36:03 +1100 + +asterisk (0.2.0-2) experimental; urgency=low + + * Incorporate changes from mdz (Remove graphviz, build astman) + * Force Build-Deps: bison-1.35 :( + + -- Mark Purcell Sat, 26 Oct 2002 12:59:12 +1000 + +asterisk (0.2.0-1) experimental; urgency=low + + * New upstream release (Closes: Bug#163852) + * Uploaded to experimental as I am having problems with the chan_oss driver + which is a critial component. + + -- Mark Purcell Wed, 9 Oct 2002 08:02:38 +1000 + +asterisk (0.1.12-5) unstable; urgency=low + + * Remove chown against /var/lib/asterisk (Closes: Bug#154774) + * Fixup vm symlink (Closes: Bug#158800) + * Fixup location of iaxtel.pub keys + + -- Mark Purcell Sun, 8 Sep 2002 20:56:24 +1000 + +asterisk (0.1.12-4) unstable; urgency=low + + * Seperate into indep packages; asterisk, asterisk-[sounds,dev,doc] + * Sounds & images from /var/lib/asterisk to FHS compliant /usr/share/asterisk + * Remove DEBUG options from normal build + * Include Build-Depends: doxygen + + -- Mark Purcell Wed, 24 Jul 2002 15:07:51 +1000 + +asterisk (0.1.12-3) unstable; urgency=low + + * Update Description + * Use dpkg-architecture to set processor optimisations (Closes: #153175) + + -- Mark Purcell Wed, 17 Jul 2002 21:23:33 +1000 + +asterisk (0.1.12-2) unstable; urgency=low + + * Fixup build check for /etc/asterisk + + -- Mark Purcell Tue, 9 Jul 2002 07:32:17 +1000 + +asterisk (0.1.12-1) unstable; urgency=low + + * New upstream release + * Fixup typo in /etc/init.d/asterisk + * Include [cdr_mysql.so] => (MySQL CDR Backend) + * Use excellent init.d script idea from Sim IJskes + * Fixup broken postinst & postinst scripts + + -- Mark Purcell Mon, 8 Jul 2002 23:07:27 +1000 + +asterisk (0.1.11-5) unstable; urgency=low + + * Include zaptel support (Closes: Bug#151274) + + -- Mark Purcell Fri, 5 Jul 2002 23:59:17 +1000 + +asterisk (0.1.11-4) unstable; urgency=low + + * Add init.d from Matt Zimmerman (Closes: Bug#150573) + * More updates from Matt Zimmerman: (Closes: Bug#151201) + - place socket and fifo in /var/run/asterisk instead of /var/run + - fix mkfifo call (bug uncovered by running as non-root), patch + sent upstream also + - create postinst with necessary adduser and chown calls + * Install logrotate from Matt Zimmerman (Closes: Bug#151198) + * Disable geteuid check to allow running as non-root + * Add asterisk to audio group by default + + -- Mark Purcell Sat, 29 Jun 2002 01:34:56 +1000 + +asterisk (0.1.11-3) unstable; urgency=high + + * Update cdr/Makefile to include CFLAGS+=-fPIC -DPIC (Closes: Bug#144052) + + -- Mark Purcell Sat, 27 Apr 2002 21:19:32 +1000 + +asterisk (0.1.11-2) unstable; urgency=low + + * Move from non-us to main/comm + * Update copyright file to reflect upstream CVS LICENCE change to permit + linking with OpenSSL/ OpenH323 (Closes: Bug#141164) + + -- Mark Purcell Fri, 19 Apr 2002 20:11:58 +1000 + +asterisk (0.1.11-1) unstable; urgency=low + + * New upstream release + * Update debian/control + * Include README.cdr & README.iax + + -- Mark Purcell Mon, 18 Mar 2002 15:46:39 +1100 + +asterisk (0.1.10-3) unstable; urgency=low + + * Include CFLAGS+=-fPIC -DPIC in res/Makefile for hppa build + + -- Mark Purcell Fri, 1 Mar 2002 20:58:02 +1100 + +asterisk (0.1.10-2) unstable; urgency=low + + * Change Build-Depends: libssl-dev (Closes: Bug#134821) + + -- Mark Purcell Wed, 20 Feb 2002 22:28:35 +1100 + +asterisk (0.1.10-1) unstable; urgency=low + + * New upstream release + + -- Mark Purcell Wed, 20 Feb 2002 22:28:00 +1100 + +asterisk (0.1.9-5) unstable; urgency=low + + * Better make that Architecture: any if I want this to autobuild :-) + + -- Mark Purcell Wed, 2 Jan 2002 13:00:09 +1100 + +asterisk (0.1.9-4) unstable; urgency=low + + * Exclude MMX optimsed asm codecs/gsm/src/k6opt.s to enable non-x86 & + non-k6 builds (Closes: Bug#127225) + + -- Mark Purcell Wed, 2 Jan 2002 12:59:38 +1100 + +asterisk (0.1.9-3) unstable; urgency=low + + * New maintainer (Closes: Bug#123497) + * Set Arch to i386 as this contains x86 assember code + + -- Mark Purcell Sat, 29 Dec 2001 10:25:21 +1100 + +asterisk (0.1.9-2) unstable; urgency=high + + * apps/Makefile, codecs/gsm/Makefile: Missed an -mpentium in CFLAGS. + Closes: #126552. + + -- Matej Vela Thu, 27 Dec 2001 04:00:50 +0100 + +asterisk (0.1.9-1) unstable; urgency=medium + + * QA upload. + * New upstream version. + * Package is orphaned; maintainer set to Debian QA Group. + * debian/postrm: Ensure correct exit status. Closes: #105523. + * debian/control: s/API's/APIs/ Closes: #124423. + * debian/conffiles: Already handled by debhelper; removed. + * Conforms to Standards version 3.5.6: + * debian/copyright: Include module licensing exception and GSM and + ADPCM copyrights. + * debian/rules: + * Use dh_undocumented rather than a verbatim copy of undocumented.7. + * Pass ChangeLog to dh_installchangelogs. + * Support DEB_BUILD_OPTIONS. + + -- Matej Vela Tue, 25 Dec 2001 19:16:48 +0100 + +asterisk (0.1.6-1.2) unstable; urgency=low + + * NMU + * Fix makefiles, add -fPIC to builds. Closes: #104779 + + -- LaMont Jones Sun, 15 Jul 2001 15:15:46 -0600 + +asterisk (0.1.6-1.1) unstable; urgency=low + + * NMU with permission of Raphael Bossek. + * Corrected an error in channels/adtranvofr.h that prevented + big endian from compiling. (closes: #87273, #89868, #93913) + * Added build dependencies. + * Added the location of the upstream source to debian/copyright. + + -- Adrian Bunk Tue, 15 May 2001 00:22:31 +0200 + +asterisk (0.1.6-1) unstable; urgency=low + + * New upstream version. + + -- Raphael Bossek Mon, 19 Feb 2001 15:48:43 +0100 + --- asterisk-1.4.10~dfsg.orig/debian/asterisk.default +++ asterisk-1.4.10~dfsg/debian/asterisk.default @@ -0,0 +1,35 @@ +# This file allows you to alter the configuration of the Asterisk +# init.d script. Normally you should leave the file as-is. +# +# RUNASTERISK: If set to anything other that 'yes', the asterisk init.d script +# will not run. The default is 'yes'. +#RUNASTERISK=no +# +# +# AST_REALTIME: if set to anything other than "no", asterisk will run in +# real-time priority (pass '-p' to asterisk). un-rem the +# following line to disable asterisk from running in real-time +# priority +#AST_REALTIME=no +# +# PARAMS: extra parameters to pass to asterisk: generate cores in +# case of crash, and be more verbose. -F guarantees that Asterisk +# will still run daemonized. +# +# Instead of adding switches here, consider editing +# /etc/asterisk/asterisk.conf +#PARAMS="-F -g -vvv" +# +# +# RUNASTSAFE: run safe_asterisk rather than asterisk (will auto-restart upon +# crash). This is generally less tested and has some known issues +# with properly starting and stopping Asterisk. +#RUNASTSAFE=yes +# +# +# AST_DUMPCORE: if set to anything other than "no", asterisk will be run with +# the option -g (to tell it to dump core on crash) and its +# working directory will be set to /var/spool/asterisk, as that +# directory is writable and hence core files can be written there. +# See /etc/init.d/asterisk for some other relevant variables. +#AST_DUMPCORE=yes --- asterisk-1.4.10~dfsg.orig/debian/ast_config/modules.conf +++ asterisk-1.4.10~dfsg/debian/ast_config/modules.conf @@ -0,0 +1,59 @@ +; +; Asterisk configuration file +; +; Module Loader configuration file +; + +[modules] +autoload=yes +; +; Any modules that need to be loaded before the Asterisk core has been +; initialized (just after the logger has been initialized) can be loaded +; using 'preload'. This will frequently be needed if you wish to map all +; module configuration files into Realtime storage, since the Realtime +; driver will need to be loaded before the modules using those configuration +; files are initialized. +; +; An example of loading ODBC support would be: +;preload => res_odbc.so +;preload => res_config_odbc.so +; +; If you want, load the GTK console right away. +; Don't load the KDE console since +; it's not as sophisticated right now. +; +noload => pbx_gtkconsole.so +;load => pbx_gtkconsole.so +noload => pbx_kdeconsole.so +; +; Intercom application is obsoleted by +; chan_oss. Don't load it. +; +noload => app_intercom.so +; +; The 'modem' channel driver and its subdrivers are +; obsolete, don't load them. +; +noload => chan_modem.so +noload => chan_modem_aopen.so +noload => chan_modem_bestdata.so +noload => chan_modem_i4l.so +noload => chan_capi.so +; +load => res_musiconhold.so +; +; Load either OSS or ALSA, not both +; By default, load OSS only (automatically) and do not load ALSA +; +noload => chan_alsa.so +;noload => chan_oss.so +; +; Disable CDR logging to SQLite by default since it writes unconditionally to +; cdr.db without a way to rotate it. +; +noload => cdr_sqlite.so +; +; Module names listed in "global" section will have symbols globally +; exported to modules loaded after them. +; +[global] --- asterisk-1.4.10~dfsg.orig/debian/ast_config/asterisk.conf +++ asterisk-1.4.10~dfsg/debian/ast_config/asterisk.conf @@ -0,0 +1,8 @@ +[global] +astetcdir => /etc/asterisk +astmoddir => /usr/lib/asterisk/modules +astvarlibdir => /var/lib/asterisk +astagidir => /usr/share/asterisk/agi-bin +astspooldir => /var/spool/asterisk +astrundir => /var/run/asterisk +astlogdir => /var/log/asterisk --- asterisk-1.4.10~dfsg.orig/debian/ast_config/manager.conf +++ asterisk-1.4.10~dfsg/debian/ast_config/manager.conf @@ -0,0 +1,16 @@ +; +; Asterisk Call Management support +; + +; By default asterisk will listen on localhost only. +[general] +enabled = yes +port = 5038 +bindaddr = 127.0.0.1 + +; No access is allowed by default. +; To set a password, create a file in /etc/asterisk/manager.d +; use creative permission games to allow other serivces to create their own +; files +#include "manager.d/*.conf" + --- asterisk-1.4.10~dfsg.orig/debian/asterisk_fix +++ asterisk-1.4.10~dfsg/debian/asterisk_fix @@ -0,0 +1,83 @@ +#! /bin/sh + +if getent passwd asterisk >/dev/null ;then + # Some halfbaked Sarge versions needed their home dir fixed: + if [ "`getent passwd asterisk|awk -F: '{print $6}'`" = \ + "/var/run/asterisk" ];then + usermod -d /var/lib/asterisk asterisk + fi +else + adduser_extra_opts="" + # Cosmetic noise reduction + if [ -d "/var/lib/asterisk" ]; then + adduser_extra_opts="--no-create-home" + fi + adduser --system --group --home /var/lib/asterisk \ + $adduser_extra_opts \ + --gecos "Asterisk PBX daemon" asterisk +fi + +for group in dialout audio; do + if groups asterisk | grep -w -q -v $group; then + adduser asterisk $group + fi +done + +# Make sure all (possibly) used dirs exist and is owned by asterisk + +# /var/run/asterisk is not yet handled by init.d :-( +# (/var/run/asterisk is handled in sysV script /etc/init.d/asterisk) + +dirs=" + /var/log/asterisk + /var/spool/asterisk + /var/lib/asterisk + /var/run/asterisk + /etc/asterisk +" + +subdirs=" + /var/log/asterisk/cdr-csv + /var/log/asterisk/cdr-custom + /var/spool/asterisk/dictate + /var/spool/asterisk/meetme + /var/spool/asterisk/monitor + /var/spool/asterisk/monitor + /var/spool/asterisk/system + /var/spool/asterisk/tmp + /var/spool/asterisk/voicemail +" + +for dir in $subdirs $dirs; do + mkdir -p "$dir" +done + +for dir in $dirs; do + chown -R asterisk: "$dir" +done + + +################################### +# this part should be reviewed, but it's basically trial and error +# code i wrote to make freepbx work. better solutions are welcomed. + +# files need to be RW by the group +# dirs need to a+rx +chmod -R 0660 /etc/asterisk/ +find /etc/asterisk/ -type d -print0 | xargs -0 chmod ug+rx + +#chmod g+s /etc/asterisk/ + +# this is needed because othewise sqlite cannot write to the DB +#chmod -R 0660 /var/lib/asterisk/ + +#################################### +# If asterisk in running, reload it +# otherwise start it +if [ -f "/etc/init.d/asterisk" ];then + if [ -f /var/run/asterisk/asterisk.pid ];then + invoke-rc.d asterisk reload || exit $? + else + invoke-rc.d asterisk restart || exit $? + fi +fi --- asterisk-1.4.10~dfsg.orig/debian/control +++ asterisk-1.4.10~dfsg/debian/control @@ -0,0 +1,118 @@ +Source: asterisk +Priority: optional +Section: comm +Maintainer: Debian VoIP Team +Uploaders: Mark Purcell , Kilian Krause , Jose Carlos Garcia Sogo , Santiago Garcia Mantinan , Simon Richter , Tzafrir Cohen , Faidon Liambotis +Standards-Version: 3.7.2 +Build-Depends: debhelper (>= 5), sed (>= 3.95), zlib1g-dev, libreadline5-dev, libgsm1-dev, libssl-dev, libtonezone-dev (>= 1:1.4.1~0), bison, libasound2-dev, libpq-dev, unixodbc-dev, libpri-dev (>= 1.4), dpatch (>= 2.0.10), zaptel-source (>= 1:1.4.1~0), autotools-dev, libnewt-dev, libsqlite-dev, libspeex-dev, graphviz, libcurl4-dev | libcurl-dev, doxygen, gsfonts, libpopt-dev, libopenh323-dev (>= 1.17.4-1), libiksemel-dev, libradiusclient-ng-dev, freetds-dev, libvorbis-dev, libsnmp10-dev | libsnmp-dev, libgtk2.0-dev, libc-client-dev +XS-Vcs-Svn: svn://svn.debian.org/pkg-voip/asterisk/ +XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-voip/asterisk/ + +Package: asterisk +Architecture: any +Section: comm +Depends: ${shlibs:Depends}, asterisk-config (= ${source:Version}) | asterisk-config-custom, adduser (>= 3.63), asterisk-sounds-main +Conflicts: asterisk-oh323 (<= 0.6.6pre3-3), asterisk-classic, asterisk-bristuff +Replaces: asterisk-classic, asterisk-bristuff +Suggests: gnomemeeting, ekiga, ohphone, kphone, asterisk-doc, asterisk-dev, asterisk-rate-engine +Description: Open Source Private Branch Exchange (PBX) + Asterisk is an Open Source PBX and telephony toolkit. It is, in a + sense, middleware between Internet and telephony channels on the bottom, + and Internet and telephony applications at the top. + . + Asterisk can be used with Voice over IP (SIP, H.323, IAX and more) standards, + or the Public Switched Telephone Network (PSTN) through supported hardware. + . + Supported hardware: + . + * All Wildcard (tm) ISDN PRI cards from Digium (http://www.digium.com) + * All TDM (FXO/FXS) cards from Digium + * Various clones of Digium cards such as those by beroNet, Junghanns.NET, + OpenVox etc. + * Xorcom Astribank USB telephony adapter (http://www.xorcom.com) + * CAPI-compatible ISDN cards (using the add-on package chan-capi) + * Full Duplex Sound Card (ALSA or OSS) supported by Linux + * Tormenta T1/E1 card (http://www.bsdtelephony.com.mx) + * QuickNet Internet PhoneJack and LineJack (http://www.quicknet.net) + . + This is the main package that includes the Asterisk daemon and most channel + drivers and applications. + . + Website: http://www.asterisk.org. + +Package: asterisk-h323 +Architecture: any +Section: comm +Depends: asterisk, ${shlibs:Depends} +Description: Asterisk's H.323 VoIP channel + Asterisk is an Open Source PBX and telephony toolkit. + . + This package provides H.323 support for the Asterisk Open Source PBX system. + It is the stock H.323 channel originally written by Nufone. + +Package: asterisk-doc +Recommends: asterisk +Section: doc +Priority: extra +Architecture: all +Description: Source code documentation for Asterisk + Asterisk is an Open Source PBX and telephony toolkit. + . + This package contains the source code documentation needed if you wish to + extend Asterisk. + +Package: asterisk-dev +Architecture: all +Recommends: asterisk +Section: devel +Priority: extra +Description: Development files for asterisk + Asterisk is an Open Source PBX and telephony toolkit. + . + This package contains the include files used if you wish to compile a + package which requires Asterisk's source file headers. + +Package: asterisk-dbg +Architecture: any +Depends: asterisk (= ${binary:Version}) +Section: devel +Priority: extra +Description: debugging symbols for asterisk + Asterisk is an Open Source PBX and telephony toolkit. + . + This package includes the debugging symbols useful for debugging + Asterisk. The debugging symbols are used for execution tracing and core + dump analysis. + +Package: asterisk-sounds-main +Architecture: all +Recommends: asterisk +Replaces: asterisk-sounds-extra +Section: comm +Description: Core Sound files for Asterisk (English) + Asterisk is an Open Source PBX and telephony toolkit. + . + This package contains the default (core) sound files in English, useful for + the operation of Asterisk. + +Package: asterisk-web-vmail +Recommends: asterisk +Architecture: all +Depends: httpd-cgi, libapache-dbi-perl | libdbi-perl +Section: comm +Priority: extra +Description: Web-based (CGI) voice mail interface for Asterisk + Asterisk is an Open Source PBX and telephony toolkit. + . + This package contains a web-based interface for the voice-mail system. + +Package: asterisk-config +Recommends: asterisk +Depends: adduser (>= 3.63) +Conflicts: asterisk-config-custom +Architecture: all +Section: comm +Description: config files for asterisk + Asterisk is an Open Source PBX and telephony toolkit. + . + This package contains the default configuration files of Asterisk. --- asterisk-1.4.10~dfsg.orig/debian/asterisk-config.install +++ asterisk-1.4.10~dfsg/debian/asterisk-config.install @@ -0,0 +1,2 @@ +etc/asterisk +../ast_config/* etc/asterisk/ --- asterisk-1.4.10~dfsg.orig/debian/rules +++ asterisk-1.4.10~dfsg/debian/rules @@ -0,0 +1,227 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# This file is public domain software, originally written by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += --build $(DEB_HOST_GNU_TYPE) +else + confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + +export PROC := $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU) + +MAKEFLAGS += OPTIMIZE=-O2 MAKECMDGOALS=dont-optimize + +# Force music files selection: +MAKEFLAGS += MENUSELECT_MOH= \ + ASTDATADIR=/usr/share/asterisk \ + ASTVARRUNDIR=/var/run/asterisk \ + + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +include /usr/share/dpatch/dpatch.make + +DEBVERSION:=$(shell head -n 1 debian/changelog \ + | sed -e 's/^[^(]*(\([^)]*\)).*/\1/') +UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/.dfsg$$//') + +FILENAME := asterisk_$(UPVERSION)~dfsg.orig.tar.gz +UPFILENAME := asterisk_$(UPVERSION).orig.tar.gz +URL := http://ftp2.digium.com/pub/asterisk/releases/asterisk-$(UPVERSION).tar.gz + +# make sure we have 'fetch' . We need to have either wget or fetch +# on the system. However it is generally not a good idea to actually +# get remote tarballs at build time. So if nither wget nor fetch +# happen to be installed, the configure script will find a dummy +# fetch script that always returns an error. +FETCH_ENV = PATH=$$PATH:$(CURDIR)/debian/dummyprogs + + +check-sounds: + ( [ ! -f sounds/asterisk-moh-freeplay-wav.tar.gz ] && \ + [ ! -f sounds/fpm-calm-river.mp3 ] && \ + [ ! -f sounds/fpm-sunshine.mp3 ] && \ + [ ! -f sounds/fpm-world-mix.mp3 ] ) || \ + (echo "WARNING: non-free fpm sounds must be removed from sources before packaging." ; false ) + touch $@ + +BRISTUFF_DIR=debian/build/asterisk-bristuff +config.status: check-sounds patch-stamp + dh_testdir + + if [ ! -r configure.debian_sav ]; then cp -a configure configure.debian_sav; fi + #./bootstrap.sh # also runs autoonf. TODO: currently not needed. + + chmod 755 $(CURDIR)/debian/dummyprogs/fetch + + # Without --with-gsm the internal gsm will be used + $(FETCH_ENV) ./configure --with-gsm \ + --with-pwlib=/usr/share/pwlib/include/ --with-h323=/usr/share/openh323/ \ + --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info + + +menuselect.makeopts: config.status + $(FETCH_ENV) $(MAKE) menuselect.makeopts + sed -i -e '/^MENUSELECT_MOH=/d' menuselect.makeopts + + # some voodoo in order to get chan_h323 built, and make it in one + # build pass: + # enable chan_h323 (not enabled by default). Note that modules listed + # in MENUSELECT_CHANNEL are ones to disable: + sed -i -e '/MENUSELECT_CHANNELS=/s/chan_h323//' menuselect.makeopts + cat menuselect.makedeps + cat menuselect.makeopts + +build: build-arch build-indep + +build-arch: build-arch-stamp +build-arch-stamp: menuselect.makeopts + dh_testdir + + # Add here command to compile/build the package. + $(FETCH_ENV) $(MAKE) $(MAKEFLAGS) || true + + # Build a second time to pick up h323 :-( + $(FETCH_ENV) $(MAKE) $(MAKEFLAGS) + + + touch $@ + +build-indep: build-indep-stamp +build-indep-stamp: menuselect.makeopts + dh_testdir + + # Add here command to compile/build the arch indep package. +ifndef ASTERISK_NO_DOCS + $(FETCH_ENV) $(MAKE) progdocs +endif + touch $@ + + +clean: cleaned unpatch +# make clean breaks if we don't patch it up, hence the dependency +cleaned: patch + dh_testdir + dh_testroot + + # Add here commands to clean up after the build process. + $(MAKE) distclean + -$(RM) -rf debian/build + + if [ -r configure.debian_sav ]; then mv configure.debian_sav configure; fi + -test -d configs && chmod -x configs/*.sample + -$(RM) -f build-arch-stamp build-indep-stamp config.status check-sounds menuselect.makeopts + + dh_clean + +install: install-arch install-indep +install-arch: build-arch + dh_testdir + dh_testroot + dh_clean -k -s + dh_installdirs -s + + # Add here commands to install the package into debian/tmp + $(FETCH_ENV) $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + + dh_install -s --sourcedir=debian/tmp + + chmod +x $(CURDIR)/debian/asterisk/usr/share/asterisk/bin/asterisk_fix + + $(RM) -f $(CURDIR)/debian/asterisk/usr/sbin/{stereorize,streamplayer} + touch $@ + +install-indep: build-indep + dh_testdir + dh_testroot + dh_clean -k -i + dh_installdirs -i + + # Add here commands to install the package into debian/tmp + $(FETCH_ENV) $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install samples + + dh_install -i --sourcedir=debian/tmp + + chmod +x $(CURDIR)/debian/asterisk-web-vmail/usr/lib/cgi-bin/asterisk/vmail.cgi + + +# Build architecture-independent files here. +binary-indep: install-indep + dh_testdir -i + dh_testroot -i + dh_installlogrotate -i + dh_installdocs -i -XREADME.cygwin + dh_installexamples -i -XCVS + dh_installcron -i + dh_installchangelogs ChangeLog -i + dh_link -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + + +# Build architecture-dependent files here. +binary-arch: install-arch + dh_testdir -a + dh_testroot -a + dh_installdocs -a + dh_installman utils/*.1 doc/*.8 contrib/scripts/*.8 + dh_installexamples -a -XCVS + dh_installchangelogs ChangeLog -a + dh_installinit -a -- defaults 21 + dh_strip -a --dbg-package=asterisk-dbg + dh_link -a + dh_compress -a + dh_fixperms -a + dh_installdeb -a + rm -f debian/asterisk/usr/lib/asterisk/modules/chan_h323.so + dh_makeshlibs -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +print-version: + @@echo "Debian version: $(DEBVERSION)" + @@echo "Upstream version: $(UPVERSION)" + +TMP_TARBALL_TOP=../tarballs/asterisk-$(UPVERSION).tmp/asterisk-$(UPVERSION) +get-orig-source: + @@dh_testdir + @@[ -d ../tarballs/. ]||mkdir -p ../tarballs + @@echo Downloading $(UPFILENAME) from $(URL) ... + @@wget -N -nv -T10 -t3 -O ../tarballs/$(UPFILENAME) $(URL) + @@echo Repacking as DFSG-free... + @@mkdir -p ../tarballs/asterisk-$(UPVERSION).tmp/ + @@cd ../tarballs/asterisk-$(UPVERSION).tmp ; \ + tar xfz ../$(UPFILENAME) + @@rm -f $(TMP_TARBALL_TOP)/sounds/fpm-*.mp3 + @@rm -f $(TMP_TARBALL_TOP)/sounds/asterisk-moh-freeplay-wav.tar.gz + @@rm -rf $(TMP_TARBALL_TOP)/codecs/ilbc + @@rm -f $(TMP_TARBALL_TOP)/codecs/codec_ilbc.c + @@rm -rf $(TMP_TARBALL_TOP)/contrib/firmware/ + @@cd ../tarballs/asterisk-$(UPVERSION).tmp ; \ + tar cfz ../$(FILENAME) * + @@echo Cleaning up... + @@$(RM) -rf ../tarballs/asterisk-$(UPVERSION).tmp/ + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install clean patch unpatch --- asterisk-1.4.10~dfsg.orig/debian/asterisk.links +++ asterisk-1.4.10~dfsg/debian/asterisk.links @@ -0,0 +1 @@ +usr/share/man/man8/asterisk.8 usr/share/man/man8/rasterisk.8 --- asterisk-1.4.10~dfsg.orig/debian/astman.1 +++ asterisk-1.4.10~dfsg/debian/astman.1 @@ -0,0 +1,102 @@ +.\" $Header: /aolnet/dev/src/CVS/sgml/docbook-to-man/cmd/docbook-to-man.sh,v 1.1.1.1 1998/11/13 21:31:59 db3l Exp $ +.\" +.\" transcript compatibility for postscript use. +.\" +.\" synopsis: .P! +.\" +.de P! +.fl +\!!1 setgray +.fl +\\&.\" +.fl +\!!0 setgray +.fl \" force out current output buffer +\!!save /psv exch def currentpoint translate 0 0 moveto +\!!/showpage{}def +.fl \" prolog +.sy sed \-e 's/^/!/' \\$1\" bring in postscript file +\!!psv restore +. +.de pF +.ie \\*(f1 .ds f1 \\n(.f +.el .ie \\*(f2 .ds f2 \\n(.f +.el .ie \\*(f3 .ds f3 \\n(.f +.el .ie \\*(f4 .ds f4 \\n(.f +.el .tm ? font overflow +.ft \\$1 +.. +.de fP +.ie !\\*(f4 \{\ +. ft \\*(f4 +. ds f4\" +' br \} +.el .ie !\\*(f3 \{\ +. ft \\*(f3 +. ds f3\" +' br \} +.el .ie !\\*(f2 \{\ +. ft \\*(f2 +. ds f2\" +' br \} +.el .ie !\\*(f1 \{\ +. ft \\*(f1 +. ds f1\" +' br \} +.el .tm ? font underflow +.. +.ds f1\" +.ds f2\" +.ds f3\" +.ds f4\" +'\" t +.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n +.TH ASTMAN 1 "Jun 12th, 2005" "astman" "Linux Programmer's Manual" +.SH NAME +.B astman +-- a client to asterisk's manager interface +.SH SYNOPSIS +.PP +.B astman +.I hostname + +.SH DESCRIPTION +.B astman +This program is a full-screen (terminal) client for Asterisk's manager +interface. + +.SH OPTIONS +.B hostname + +The host name or IP address to connect to (TCP port 5038). If astman +fails to connect it will exit immidiately. + +.SH USAGE +If \fBastman\fR has successfully cunnected to the manager port it will +prompt the user for a username and a secret (password) for the manager +interface on the remote Asterisk manager interface. It will then be able +to report existing channels (calls). You will then be able to redirect +calls to or terminate them. + +.SH "SEE ALSO" +asterisk(8) + +http://www.voip-info.org/wiki-Asterisk+astman + +.SH BUGS +The hostname does not default to localhost. + +Impossible to use a port other than 5038. + +The username and password cannot be defined from the command-line. + +I mean, what's the point in a man page if the syntax is so simple? + +.SH "AUTHOR" +This manual page was written by Tzafrir Cohen +Permission is granted to copy, distribute and/or modify this document under +the terms of the GNU General Public License, Version 2 any +later version published by the Free Software Foundation. + +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL. --- asterisk-1.4.10~dfsg.orig/debian/patches/00list +++ asterisk-1.4.10~dfsg/debian/patches/00list @@ -0,0 +1,6 @@ +astvarrundir +ast_key_dir +pubkey_jnctn +dbug433884 +make-clean-fixes +bashism-safeasterisk --- asterisk-1.4.10~dfsg.orig/debian/patches/pubkey_jnctn.dpatch +++ asterisk-1.4.10~dfsg/debian/patches/pubkey_jnctn.dpatch @@ -0,0 +1,32 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## pubkey_jnctn.dpatch by Tzafrir Cohen +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Public key for Junction Networks. From http://www.jnctn.net/jnctn.pub +## DP: at Wed, 12 Oct 2005 23:35:06 +0200 +## DP: See also http://www.junctionnetworks.com/Asterisk-config.htm + +@DPATCH@ +diff -urNad asterisk-1.4.9~dfsg~/Makefile asterisk-1.4.9~dfsg/Makefile +--- asterisk-1.4.9~dfsg~/Makefile 2007-08-06 04:40:26.000000000 +0300 ++++ asterisk-1.4.9~dfsg/Makefile 2007-08-06 04:41:07.000000000 +0300 +@@ -435,8 +435,7 @@ + mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware + mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware/iax + mkdir -p $(DESTDIR)$(ASTMANDIR)/man8 +- $(INSTALL) -m 644 keys/iaxtel.pub $(DESTDIR)$(ASTDATADIR)/keys +- $(INSTALL) -m 644 keys/freeworlddialup.pub $(DESTDIR)$(ASTDATADIR)/keys ++ $(INSTALL) -m 644 keys/*.pub $(DESTDIR)$(ASTDATADIR)/keys + $(INSTALL) -m 644 doc/asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8 + $(INSTALL) -m 644 contrib/scripts/astgenkey.8 $(DESTDIR)$(ASTMANDIR)/man8 + $(INSTALL) -m 644 contrib/scripts/autosupport.8 $(DESTDIR)$(ASTMANDIR)/man8 +diff -urNad asterisk-1.4.9~dfsg~/keys/jnctn.pub asterisk-1.4.9~dfsg/keys/jnctn.pub +--- asterisk-1.4.9~dfsg~/keys/jnctn.pub 1970-01-01 02:00:00.000000000 +0200 ++++ asterisk-1.4.9~dfsg/keys/jnctn.pub 2007-08-06 04:40:27.000000000 +0300 +@@ -0,0 +1,6 @@ ++-----BEGIN PUBLIC KEY----- ++MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDWaDv4190BpeL5K+Yuq5Q7+vPs ++FVrkibbIp+Io1gCQ6CGZJbR0kUZvTdf58bBdG0zqf6azFN8XPaNz9PVLDl+KgHwU ++3Ilu//eX8ph8Wu+Oxs/ymi/hzKm+Cd6aty94zYuqiegc0KdrjvU5TLQAkIQpiB6k ++CvuIm0R0XXQjj3R7LwIDAQAB ++-----END PUBLIC KEY----- --- asterisk-1.4.10~dfsg.orig/debian/patches/ast_key_dir.dpatch +++ asterisk-1.4.10~dfsg/debian/patches/ast_key_dir.dpatch @@ -0,0 +1,22 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## ast_key_dir.dpatch by Faidon Liambotis +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Put public/private keys in DATADIR/keys (aka /usr/share/asterisk/keys) +## DP: instead of VARLIBDIR/keys. Besided being FHS compliant, that's where +## DP: the Makefile installs them and what src/main/asterisk.c does when +## DP: parsing asterisk.conf. Should be forwarded upstream. + +@DPATCH@ +diff -urNad asterisk-1.4.9~dfsg~/build_tools/make_defaults_h asterisk-1.4.9~dfsg/build_tools/make_defaults_h +--- asterisk-1.4.9~dfsg~/build_tools/make_defaults_h 2006-04-16 01:53:53.000000000 +0300 ++++ asterisk-1.4.9~dfsg/build_tools/make_defaults_h 2007-08-06 04:24:38.000000000 +0300 +@@ -14,7 +14,7 @@ + #define AST_DATA_DIR "${INSTALL_PATH}${ASTDATADIR}" + #define AST_LOG_DIR "${INSTALL_PATH}${ASTLOGDIR}" + #define AST_AGI_DIR "${INSTALL_PATH}${AGI_DIR}" +-#define AST_KEY_DIR "${INSTALL_PATH}${ASTVARLIBDIR}/keys" ++#define AST_KEY_DIR "${INSTALL_PATH}${ASTDATADIR}/keys" + #define AST_DB "${INSTALL_PATH}${ASTVARLIBDIR}/astdb" + #define AST_TMP_DIR "${INSTALL_PATH}${ASTSPOOLDIR}/tmp" + --- asterisk-1.4.10~dfsg.orig/debian/patches/astvarrundir.dpatch +++ asterisk-1.4.10~dfsg/debian/patches/astvarrundir.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## varrundir.dpatch by Mark Purcell +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Move ASTVARRUNDIR to /var/run/asterisk/ + +@DPATCH@ +diff -urNad asterisk-1.4.2~dfsg~/Makefile asterisk-1.4.2~dfsg/Makefile +--- asterisk-1.4.2~dfsg~/Makefile 2007-03-16 01:41:00.000000000 +0000 ++++ asterisk-1.4.2~dfsg/Makefile 2007-03-24 18:28:56.000000000 +0000 +@@ -113,7 +113,7 @@ + ASTSBINDIR=$(sbindir) + ASTSPOOLDIR=$(localstatedir)/spool/asterisk + ASTLOGDIR=$(localstatedir)/log/asterisk +- ASTVARRUNDIR=$(localstatedir)/run ++ ASTVARRUNDIR=$(localstatedir)/run/asterisk + ASTMANDIR=$(mandir) + ifeq ($(OSARCH),FreeBSD) + ASTVARLIBDIR=$(prefix)/share/asterisk --- asterisk-1.4.10~dfsg.orig/debian/patches/dbug433884.dpatch +++ asterisk-1.4.10~dfsg/debian/patches/dbug433884.dpatch @@ -0,0 +1,33 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## dbug433884.dpatch by Faidon Liambotis +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: http://bugs.debian.org/433884 + +@DPATCH@ +diff -urNad asterisk-1.4.8~dfsg~/main/Makefile asterisk-1.4.8~dfsg/main/Makefile +--- asterisk-1.4.8~dfsg~/main/Makefile 2007-07-03 21:17:31.000000000 +0100 ++++ asterisk-1.4.8~dfsg/main/Makefile 2007-07-21 10:20:51.000000000 +0100 +@@ -120,13 +120,6 @@ + AST_EMBED_LIBS:=$(foreach dep,$(EMBED_LIBS),$(value $(dep))) + OBJS:=$(sort $(OBJS)) + +-ifneq ($(wildcard ../channels/h323/Makefile.ast),) +- include ../channels/h323/Makefile.ast +-else +- H323LDFLAGS= +- H323LDLIBS= +-endif +- + asterisk: $(OBJS) editline/libedit.a db1-ast/libdb1.a $(AST_EMBED_LDSCRIPTS) + @$(ASTTOPDIR)/build_tools/make_build_h > $(ASTTOPDIR)/include/asterisk/build.h.tmp + @if cmp -s $(ASTTOPDIR)/include/asterisk/build.h.tmp $(ASTTOPDIR)/include/asterisk/build.h ; then echo ; else \ +@@ -135,7 +128,7 @@ + @rm -f $(ASTTOPDIR)/include/asterisk/build.h.tmp + @$(CC) -c -o buildinfo.o $(ASTCFLAGS) buildinfo.c + $(ECHO_PREFIX) echo " [LD] $^ -> $@" +- $(CMD_PREFIX) $(CXX) $(STATIC_BUILD) -o $@ $(ASTLINK) $(AST_EMBED_LDFLAGS) $(ASTLDFLAGS) $(H323LDFLAGS) $^ buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS) $(H323LDLIBS) ++ $(CMD_PREFIX) $(CC) $(STATIC_BUILD) -o $@ $(ASTLINK) $(AST_EMBED_LDFLAGS) $(ASTLDFLAGS) $^ buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS) + @$(ASTTOPDIR)/build_tools/strip_nonapi $@ + + clean:: --- asterisk-1.4.10~dfsg.orig/debian/patches/bashism-safeasterisk.dpatch +++ asterisk-1.4.10~dfsg/debian/patches/bashism-safeasterisk.dpatch @@ -0,0 +1,16 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## basim-safeasterisk.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad asterisk-1.4.9~dfsg~/contrib/scripts/safe_asterisk asterisk-1.4.9~dfsg/contrib/scripts/safe_asterisk +--- asterisk-1.4.9~dfsg~/contrib/scripts/safe_asterisk 2007-06-18 18:46:40.000000000 +0100 ++++ asterisk-1.4.9~dfsg/contrib/scripts/safe_asterisk 2007-07-26 16:31:34.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/bin/sh ++#!/bin/bash + # vim:textwidth=80:tabstop=4:shiftwidth=4:smartindent:autoindent + + CLIARGS="$*" # Grab any args passed to safe_asterisk --- asterisk-1.4.10~dfsg.orig/debian/patches/make-clean-fixes.dpatch +++ asterisk-1.4.10~dfsg/debian/patches/make-clean-fixes.dpatch @@ -0,0 +1,76 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## make-clean-fixes.dpatch by Faidon Liambotis +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix some upstream Makefiles so that make distclean correctly cleans up +## DP: besides the ilbc fix, it should go upstream + +@DPATCH@ +diff -urNad asterisk-1.4.8~dfsg~/Makefile asterisk-1.4.8~dfsg/Makefile +--- asterisk-1.4.8~dfsg~/Makefile 2007-07-22 06:17:53.000000000 +0300 ++++ asterisk-1.4.8~dfsg/Makefile 2007-07-22 06:18:27.000000000 +0300 +@@ -360,7 +360,6 @@ + + distclean: clean + @$(MAKE) -C menuselect dist-clean +- @$(MAKE) -C sounds dist-clean + rm -f menuselect.makeopts makeopts menuselect-tree menuselect.makedeps + rm -f makeopts.embed_rules + rm -f config.log config.status +@@ -370,6 +369,10 @@ + rm -rf doc/api + rm -f build_tools/menuselect-deps + ++# tarballs distributed by Digium include sounds ++all-clean: distclean ++ @$(MAKE) -C sounds dist-clean ++ + datafiles: _all + if [ x`$(ID) -un` = xroot ]; then CFLAGS="$(ASTCFLAGS)" sh build_tools/mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi + # Should static HTTP be installed during make samples or even with its own target ala +diff -urNad asterisk-1.4.8~dfsg~/channels/Makefile asterisk-1.4.8~dfsg/channels/Makefile +--- asterisk-1.4.8~dfsg~/channels/Makefile 2007-07-22 06:17:53.000000000 +0300 ++++ asterisk-1.4.8~dfsg/channels/Makefile 2007-07-22 06:17:53.000000000 +0300 +@@ -68,6 +68,7 @@ + H323LDFLAGS+=-Wl,--version-script=h323/noexport.map + clean:: + $(MAKE) -C h323 clean ++ rm -f h323/Makefile + else + h323/libchanh323.a h323/Makefile.ast: + $(CMD_PREFIX) $(MAKE) -C h323 +diff -urNad asterisk-1.4.8~dfsg~/codecs/Makefile asterisk-1.4.8~dfsg/codecs/Makefile +--- asterisk-1.4.8~dfsg~/codecs/Makefile 2007-07-22 06:17:53.000000000 +0300 ++++ asterisk-1.4.8~dfsg/codecs/Makefile 2007-07-22 06:17:53.000000000 +0300 +@@ -38,7 +38,7 @@ + clean:: + $(MAKE) -C gsm clean + $(MAKE) -C lpc10 clean +- $(MAKE) -C ilbc clean ++ -$(MAKE) -C ilbc clean + + gsm/lib/libgsm.a: + @mkdir -p gsm/lib +diff -urNad asterisk-1.4.8~dfsg~/menuselect/Makefile asterisk-1.4.8~dfsg/menuselect/Makefile +--- asterisk-1.4.8~dfsg~/menuselect/Makefile 2007-07-22 06:17:53.000000000 +0300 ++++ asterisk-1.4.8~dfsg/menuselect/Makefile 2007-07-22 06:17:53.000000000 +0300 +@@ -79,6 +79,6 @@ + dist-clean: distclean + + distclean: clean +- @if test -f mxml/Makefile ; then $(MAKE) -C mxml clean ; fi ++ @if test -f mxml/Makefile ; then $(MAKE) -C mxml distclean ; fi + rm -f autoconfig.h config.status config.log makeopts + rm -rf autom4te.cache +diff -urNad asterisk-1.4.8~dfsg~/menuselect/mxml/Makefile.in asterisk-1.4.8~dfsg/menuselect/mxml/Makefile.in +--- asterisk-1.4.8~dfsg~/menuselect/mxml/Makefile.in 2007-07-22 06:17:53.000000000 +0300 ++++ asterisk-1.4.8~dfsg/menuselect/mxml/Makefile.in 2007-07-22 06:17:53.000000000 +0300 +@@ -119,6 +119,8 @@ + $(RM) config.cache config.log config.status config.h + $(RM) -r autom4te*.cache + ++distclean: clean ++ $(RM) mxml.list Makefile + + # + # Install everything... --- asterisk-1.4.10~dfsg.orig/debian/astgenkey.8 +++ asterisk-1.4.10~dfsg/debian/astgenkey.8 @@ -0,0 +1,129 @@ +.\" $Header: /aolnet/dev/src/CVS/sgml/docbook-to-man/cmd/docbook-to-man.sh,v 1.1.1.1 1998/11/13 21:31:59 db3l Exp $ +.\" +.\" transcript compatibility for postscript use. +.\" +.\" synopsis: .P! +.\" +.de P! +.fl +\!!1 setgray +.fl +\\&.\" +.fl +\!!0 setgray +.fl \" force out current output buffer +\!!save /psv exch def currentpoint translate 0 0 moveto +\!!/showpage{}def +.fl \" prolog +.sy sed \-e 's/^/!/' \\$1\" bring in postscript file +\!!psv restore +. +.de pF +.ie \\*(f1 .ds f1 \\n(.f +.el .ie \\*(f2 .ds f2 \\n(.f +.el .ie \\*(f3 .ds f3 \\n(.f +.el .ie \\*(f4 .ds f4 \\n(.f +.el .tm ? font overflow +.ft \\$1 +.. +.de fP +.ie !\\*(f4 \{\ +. ft \\*(f4 +. ds f4\" +' br \} +.el .ie !\\*(f3 \{\ +. ft \\*(f3 +. ds f3\" +' br \} +.el .ie !\\*(f2 \{\ +. ft \\*(f2 +. ds f2\" +' br \} +.el .ie !\\*(f1 \{\ +. ft \\*(f1 +. ds f1\" +' br \} +.el .tm ? font underflow +.. +.ds f1\" +.ds f2\" +.ds f3\" +.ds f4\" +'\" t +.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n +.TH ASTGENKEY 8 "May 14th, 2005" "Asterisk" "Linux Programmer's Manual" +.SH NAME +.B astgenkey +-- generates keys for for Asterisk IAX2 RSA authentication +.SH SYNOPSIS +.PP +.B astgenkey +[ -q ] [ -n ] [ \fIkeyname\fP ] + +.SH DESCRIPTION +.B genzaptelconf +This script generates an RSA private and public key pair in PEM format +for use by Asterisk. The private key should be kept a secret, as it can +be used to fake your system's identity. Thus by default (without the +option +.I -n +) the script will create a passphrase-encrypted copy of your secret key: +without entering the passphrase you won't be able to use it. + +However if you want to use such a key with Asterisk, you'll have to start +it interactively, because the scripts that start asterisk can't use that +encrypted key. + +The key is identified by a name. If you don't write the name on the +command-line you'll be prompted for one. The outputs of the script are: + +.I name\fB.pub +.RS +The public key: not secret. Send this to the other side. +.RE + +.I name\fB.key +.RS +The private key: secret. +.RE + +Those files should be copied to +.I /var/lib/asterisk/keys + +(The private key: on your system. The public key: on other systems) + +To see the currently-installed keys from the asterisk CLI, use the command + +.RS +show keys +.RE + +.SH OPTIONS +.B -q +.RS +Run quietly. +.RE + +.B -n +.RS +Don't encrypt the private key. +.RE + +.SH FILES +.I /var/lib/asterisk/keys +.RS +.RE + +.SH "SEE ALSO" +asterisk(8), genrsa(1), rsa(1), + +http://www.voip-info.org/wiki-Asterisk+iax+rsa+auth + +.SH "AUTHOR" +This manual page was written by Tzafrir Cohen +Permission is granted to copy, distribute and/or modify this document under +the terms of the GNU General Public License, Version 2 any +later version published by the Free Software Foundation. + +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL. --- asterisk-1.4.10~dfsg.orig/debian/asterisk.docs +++ asterisk-1.4.10~dfsg/debian/asterisk.docs @@ -0,0 +1,5 @@ +BUGS +README +CREDITS +UPGRADE.txt +CHANGES --- asterisk-1.4.10~dfsg.orig/debian/asterisk.init +++ asterisk-1.4.10~dfsg/debian/asterisk.init @@ -0,0 +1,233 @@ +#! /bin/sh +# +# asterisk start the asterisk PBX +# (c) Mark Purcell +# This package 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 2 of the License, or +# (at your option) any later version. +# +# Based on: +# +# skeleton example file to build /etc/init.d/ scripts. +# This file should be used to construct scripts for /etc/init.d. +# +# Written by Miquel van Smoorenburg . +# Modified for Debian GNU/Linux +# by Ian Murdock . +# +# Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl +# + +### BEGIN INIT INFO +# Provides: asterisk +# Required-Start: $local_fs zaptel +# Required-Stop: $local_fs +# Should-Start: +# Should-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Asterisk PBX +# Description: Controls the Asterisk PBX +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +NAME=asterisk +USER=$NAME +GROUP=$USER +DAEMON=/usr/sbin/$NAME +DESC="Asterisk PBX" +PIDFILE="/var/run/asterisk/asterisk.pid" +ASTSAFE_PIDFILE="/var/run/asterisk/asterisk_safe.pid" +PIDFILE_DIR=`dirname $PIDFILE` +UMASK=007 # by default + + +# by default: use real-time priority +PARAMS="" +CHDIR_PARM="" +AST_REALTIME="yes" +RUNASTERISK="yes" +AST_DUMPCORE="no" +AST_DUMPCORE_DIR="/var/spool/asterisk" +# core_pattern. See: http://lxr.linux.no/source/Documentation/sysctl/kernel.txt +#CORE_PATTERN= +if [ -r /etc/default/$NAME ]; then . /etc/default/$NAME; fi + +if [ "$RUNASTERISK" != "yes" ];then + echo "Asterisk not yet configured. Edit /etc/default/asterisk first." + exit 0 +fi + +if [ "$AST_REALTIME" != "no" ] +then + PARAMS="$PARAMS -p" +fi + +if [ "$AST_DUMPCORE" != "no" ] +then + PARAMS="$PARAMS -g" + if [ "$CORE_PATTERN" != '' ] + then + echo "$CORE_PATTERN" >/proc/sys/kernel/core_pattern + fi + if [ -d "$DUMPCORE_DIR" ] + then + CHDIR_PARM="--chdir $AST_DUMPCORE_DIR" + fi +fi + +if [ "x$USER" = "x" ] +then + echo "Error: empty USER name" + exit 1 +fi +if [ `id -u "$USER"` = 0 ] +then + echo "Starting as root not supported." + exit 1 +fi +PARAMS="$PARAMS -U $USER" + +if [ "x$AST_DEBUG_PARAMS" = x ] +then + AST_DEBUG_PARAMS=-cvvvvvddddd +fi +if [ "$RUNASTSAFE" = "yes" ];then + # The value of WRAPPER_DAEMON in can be set in /etc/default/asterisk + WRAPPER_DAEMON=${WRAPPER_DAEMON:-/usr/sbin/safe_asterisk} + REALDAEMON="$WRAPPER_DAEMON" +else + REALDAEMON="$DAEMON" +fi + +test -x $DAEMON || exit 0 + +if [ ! -d "$PIDFILE_DIR" ];then + mkdir "$PIDFILE_DIR" + chown $USER:$GROUP "$PIDFILE_DIR" +fi + +set -e + +if [ "$UMASK" != '' ] +then + umask $UMASK +fi + +status() { + plist=`ps auxw | grep "$DAEMON" | grep -v grep | awk '{print $2}' | tr '\012' ' '` + if [ "$plist" = "" ]; then + echo "$DESC is stopped" + return 1 + else + echo "$DESC is running: $plist" + return 0 + fi +} + +asterisk_rx() { + if ! status >/dev/null; then return 0; fi + $DAEMON -rx "$1" +} + +case "$1" in + debug) + # we add too many special parameters that I don't want to skip + # accidentally. I'm afraid that skipping -U once may cause + # confusing results. I also want to maintain the user's choice + # of -p + echo "Debugging $DESC: " + $DAEMON $PARAMS $AST_DEBUG_PARAMS + exit 0 + ;; + start) + if status > /dev/null; then + echo "$DESC is already running. Use restart." + exit 0 + fi + echo -n "Starting $DESC: " + if [ "$RUNASTSAFE" != "yes" ];then + # TODO: what if we cought the wrapper just as its asterisk + # was killed? status should check for the wrapper if we're in + # "safe mode" + if status > /dev/null; then + echo "$DESC is already running. Use restart." + exit 0 + fi + start-stop-daemon --start --group $GROUP --pidfile "$PIDFILE" \ + $CHDIR_PARM \ + --exec $REALDAEMON -- $PARAMS + else + start-stop-daemon --start --group $GROUP --make-pidfile \ + $CHDIR_PARM --pidfile "$ASTSAFE_PIDFILE" \ + --exec $REALDAEMON -- $PARAMS + fi + + + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + if [ "$RUNASTSAFE" = "yes" ];then + # hopefully this will work. Untested + $REALDAEMON -rx 'stop now' > /dev/null || true + else + # Try gracefully. + # this may hang in some cases. Specifically, when the asterisk + # processes is stopped. No bother to worry about cleanup: + # it will either fail or die when asterisk dies. + ( $DAEMON -rx 'stop now' > /dev/null 2>&1 & ) & + fi + echo -n "$NAME" + ## giving a small grace time to shut down cleanly. + #sleep 2 # you can add timeouts in the comma + if [ "$RUNASTSAFE" = "yes" ];then + start-stop-daemon --quiet --pidfile $ASTSAFE_PIDFILE --oknodo \ + --stop + fi + # just making sure it's really, really dead. + # KILL is necessary just in case there's an asterisk -r in the background + start-stop-daemon --stop --quiet --oknodo --retry=0/2/TERM/2/KILL/5 --exec $DAEMON + echo "." + ;; + reload) + echo "Reloading $DESC configuration files." + asterisk_rx 'reload' + ;; + logger-reload) + asterisk_rx 'logger reload' + ;; + extensions-reload) + echo "Reloading $DESC configuration files." + asterisk_rx 'extensions reload' + ;; + restart-convenient) + asterisk_rx 'restart when convenient' + ;; + restart|force-reload) + $0 stop + $0 start + ;; + status) + status + exit $? + ;; + zaptel-fix) + echo "Unloading and reloading loading Asterisk and Zaptel:" + $0 stop + /etc/init.d/zaptel unload + # load modules from /etc/modules. This will break if you count on + # discover/hotplug + /etc/init.d/module-init-tools + /etc/init.d/zaptel start + $0 start + ;; + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|restart|reload|status|debug|logger-reload|extensions-reload|restart-convenient|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 --- asterisk-1.4.10~dfsg.orig/debian/asterisk-config.examples +++ asterisk-1.4.10~dfsg/debian/asterisk-config.examples @@ -0,0 +1,7 @@ +sample.call +configs +agi/agi-test.agi +agi/eagi-test.c +agi/eagi-sphinx-test.c +agi/fastagi-test +static-http --- asterisk-1.4.10~dfsg.orig/debian/backports/edgy +++ asterisk-1.4.10~dfsg/debian/backports/edgy @@ -0,0 +1,13 @@ +#!/bin/bash +# +# Hook for automatic backports at buildserver.net +# +# Target dist: Debian Etch + +# Replace libcurl4-dev with libcurl3-dev +sed -i -e 's#^\(Build-Depends:.*\)libcurl4-dev[^\ ]* \(.*\)$#\1libcurl3-dev \2#' debian/control + +# Replace libsnmp10-dev with libsnmp9-dev +sed -i -e 's#^\(Build-Depends:.*\)libsnmp10-dev[^\ ]* \(.*\)$#\1libsnmp9-dev \2#' debian/control + +exit 0 --- asterisk-1.4.10~dfsg.orig/debian/backports/dapper +++ asterisk-1.4.10~dfsg/debian/backports/dapper @@ -0,0 +1,13 @@ +#!/bin/bash +# +# Hook for automatic backports at buildserver.net +# +# Target dist: Debian Etch + +# Replace libcurl4-dev with libcurl3-dev +sed -i -e 's#^\(Build-Depends:.*\)libcurl4-dev[^\ ]* \(.*\)$#\1libcurl3-dev \2#' debian/control + +# Replace libsnmp10-dev with libsnmp9-dev +sed -i -e 's#^\(Build-Depends:.*\)libsnmp10-dev[^\ ]* \(.*\)$#\1libsnmp9-dev \2#' debian/control + +exit 0 --- asterisk-1.4.10~dfsg.orig/debian/backports/feisty +++ asterisk-1.4.10~dfsg/debian/backports/feisty @@ -0,0 +1,13 @@ +#!/bin/bash +# +# Hook for automatic backports at buildserver.net +# +# Target dist: Debian Etch + +# Replace libcurl4-dev with libcurl3-dev +sed -i -e 's#^\(Build-Depends:.*\)libcurl4-dev[^\ ]* \(.*\)$#\1libcurl3-dev \2#' debian/control + +# Replace libsnmp10-dev with libsnmp9-dev +sed -i -e 's#^\(Build-Depends:.*\)libsnmp10-dev[^\ ]* \(.*\)$#\1libsnmp9-dev \2#' debian/control + +exit 0 --- asterisk-1.4.10~dfsg.orig/debian/backports/etch +++ asterisk-1.4.10~dfsg/debian/backports/etch @@ -0,0 +1,13 @@ +#!/bin/bash +# +# Hook for automatic backports at buildserver.net +# +# Target dist: Debian Etch + +# Replace libcurl4-dev with libcurl3-dev +sed -i -e 's#^\(Build-Depends:.*\)libcurl4-dev[^\ ]* \(.*\)$#\1libcurl3-dev \2#' debian/control + +# Replace libsnmp10-dev with libsnmp9-dev +sed -i -e 's#^\(Build-Depends:.*\)libsnmp10-dev[^\ ]* \(.*\)$#\1libsnmp9-dev \2#' debian/control + +exit 0 --- asterisk-1.4.10~dfsg.orig/debian/autosupport.8 +++ asterisk-1.4.10~dfsg/debian/autosupport.8 @@ -0,0 +1,41 @@ +.TH AUTOSUPPORT 8 "Jul 5th, 2005" "Asterisk" "Linux Programmer's Manual" +.SH NAME +.B autosupport +\(em interactive script to provide Digium[tm]'s support with information +.SH SYNOPSIS +.PP +.B autosupport + +.SH DESCRIPTION +.B autoasupport +is a script that is normally run by a user contacting Digium's support +to automate gathering support information. + +It will probe the system for some configuration and run-time information, +and will also prompt the user for some optional access information (IP +address, login and password). + +The information is written to /root/digiuminfo which the user is expected +to attach to a support ticket to Digium. + +The script must be run as root as it reads Asterisk's configuration and +the disk information using hdparm(8). + +.SH FILES +.B /root/digiuminfo +.RS +The output of the script goes there +.RE + +.SH SEE ALSO +asterisk(8) + +.SH "AUTHOR" +autosupport was written by John Bigelow . +This manual page was written by Tzafrir Cohen +Permission is granted to copy, distribute and/or modify this document under +the terms of the GNU General Public License, Version 2 any +later version published by the Free Software Foundation. + +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL. --- asterisk-1.4.10~dfsg.orig/debian/asterisk.install +++ asterisk-1.4.10~dfsg/debian/asterisk.install @@ -0,0 +1,5 @@ +usr/lib/asterisk +usr/sbin +usr/share/asterisk/firmware +usr/share/asterisk/keys +../asterisk_fix usr/share/asterisk/bin --- asterisk-1.4.10~dfsg.orig/debian/safe_asterisk.8 +++ asterisk-1.4.10~dfsg/debian/safe_asterisk.8 @@ -0,0 +1,62 @@ +.TH SAFE_ASTERISK 8 "Jun 30th, 2005" "Asterisk" "Linux Programmer's Manual" +.SH NAME +.B safe_asterisk +\(em A wrapper to run the asterisk executable in a loop +.SH SYNOPSIS +.PP +.B safe_asterisk +.I [ asterisk_params ] + +.SH DESCRIPTION +.B safe_asterisk +is a script that runs asterisk in a loop, which can be useful if you +fear asterisk may crash. + +The script does not run in the background like a standard service. Rather, +it runs in its own linux virtual console (9, by default). +It also uses the option '-c' of asterisk(8) to avoid detaching asterisk +from that terminal. + +safe_asterisk also runs asterisk with unlimited core file size, and thus +asterisk will dump core in case of a crash. + +To get a "picture" of console 9, from another terminal (e.g: from a +remote shell session) you can use: + + screendump 9 + +The init script of the Debian package should be able to run safe_asterisk +as the asterisk service, if so configured. See coments in +/etc/default/asterisk + +.SH FILES +.B /tmp +.RS +safe_asterisk runs in that directory, rather than in / as usual. +.RE + +.B /tmp/core +.RS +If core files were generated there, they may be +.RE + +.SH BUGS +While showing the output on a console is useful, using screen(1) as +the terminal may be better. + +The script does not read configuration from standard location under /etc + +It uses fixed locations under /tmp , and thus may be exposed to a +symlink attacks. + +.SH SEE ALSO +asterisk(8), screendump(9) + +.SH "AUTHOR" +This manual page was written by Tzafrir Cohen +Permission is granted to copy, distribute and/or modify this document under +the terms of the GNU General Public License, Version 2 any +later version published by the Free Software Foundation. + +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL. --- asterisk-1.4.10~dfsg.orig/debian/asterisk.logrotate +++ asterisk-1.4.10~dfsg/debian/asterisk.logrotate @@ -0,0 +1,9 @@ +/var/log/asterisk/cdr-custom/Master.csv /var/log/asterisk/debug /var/log/asterisk/event_log /var/log/asterisk/messages { + weekly + missingok + rotate 4 + sharedscripts + postrotate + /usr/sbin/invoke-rc.d asterisk logger-reload + endscript +} --- asterisk-1.4.10~dfsg.orig/debian/compat +++ asterisk-1.4.10~dfsg/debian/compat @@ -0,0 +1 @@ +5 --- asterisk-1.4.10~dfsg.orig/debian/asterisk-sounds-main.install +++ asterisk-1.4.10~dfsg/debian/asterisk-sounds-main.install @@ -0,0 +1,2 @@ +usr/share/asterisk/sounds +usr/share/asterisk/moh --- asterisk-1.4.10~dfsg.orig/debian/asterisk.dirs +++ asterisk-1.4.10~dfsg/debian/asterisk.dirs @@ -0,0 +1 @@ +usr/share/asterisk/static-http --- asterisk-1.4.10~dfsg.orig/debian/asterisk-gtk-console.install +++ asterisk-1.4.10~dfsg/debian/asterisk-gtk-console.install @@ -0,0 +1 @@ +usr/lib/asterisk/modules/pbx_gtkconsole.so --- asterisk-1.4.10~dfsg.orig/debian/copyright +++ asterisk-1.4.10~dfsg/debian/copyright @@ -0,0 +1,229 @@ +This package was debianized by Mark Purcell on +Fri Apr 19 19:58:40 EST 2002 + +Asterisk downloaded from http://www.asterisk.org +Bristuff downloaded from http://www.junghanns.net/asterisk/ + +Upstream Authors: Asterisk: Mark Spencer + Bristuff: Klaus-Peter Junghanns + +Debian asterisk-xxx.dfsg.tar.gz +=============================== + * The Debian version of the upstream asterisk source has had the fpm Music +on Hold removed as this music has only been licenced for use within +asterisk which is incompatible with the Debian Free Software Guildlines (DFSG) +. + + * The iLBC codec library code has been removed from the Debian asterisk +package as it does not conform with the DFSG. + + * The contrib/firmware/iax/iaxy.bin binary firmware without source has been removed. + +Copyright: + +Copyright (C) 2001-2004 Digium and others.... + + This package 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; version 2 dated June, 1991. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + + Asterisk is distributed under GNU General Public License. The GPL also + must apply to all loadable modules as well, except as defined below. + + Digium, Inc. (formerly Linux Support Services) retains copyright to all + of the core Asterisk system, and therefore can grant, at its sole discretion, + the ability for companies, individuals, or organizations to create proprietary + or Open Source (but non-GPL'd) modules which may be dynamically linked at + runtime with the portions of Asterisk which fall under our copyright + umbrella, or are distributed under more flexible licenses than GPL + + If you wish to use our code in other GPL programs, don't worry -- there + is no requirement that you provide the same exemption in your GPL'd + products (although if you've written a module for Asterisk we would + strongly encourage you to make the same excemption that we do). + + Specific permission is also granted to OpenSSL and OpenH323 to link to + Asterisk. + + If you have any questions, whatsoever, regarding our licensing policy, + please contact us. + + The 'Asterisk' name and logos are trademarks owned by Digium, Inc., + and use of them is subject to our trademark licensing policies. If you + wish to use these trademarks for purposes other than simple + redistribution of Asterisk source code obtained from Digium, you + should contact our licensing department to determine the necessary + steps you must take. + + If you have any questions regarding our licensing policy, please + contact us: + + +1.877.546.8963 (via telephone in the USA) + +1.256.428.6000 (via telephone outside the USA) + +1.256.864.0464 (via FAX inside or outside the USA) + IAX2/misery.digium.com/6000 (via IAX2) + licensing@digium.com (via email) + + Digium, Inc. + 150 West Park Loop + Suite 100 + Huntsville, AL 35806 + USA + +Other source code in Asterisk: + + GSM source: + + Copyright 1992, 1993, 1994 by Jutta Degener and Carsten Bormann, + Technische Universitaet Berlin + + Any use of this software is permitted provided that this notice is not + removed and that neither the authors nor the Technische Universitaet Berlin + are deemed to have made any representations as to the suitability of this + software for any purpose nor are held responsible for any defects of + this software. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. + + As a matter of courtesy, the authors request to be informed about uses + this software has found, about bugs in this software, and about any + improvements that may be of general interest. + + Berlin, 28.11.1994 + Jutta Degener + Carsten Bormann + + ADPCM source: + + Copyright 1992 by Stichting Mathematisch Centrum, Amsterdam, The + Netherlands. + + All Rights Reserved + + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the names of Stichting Mathematisch + Centrum or CWI not be used in advertising or publicity pertaining to + distribution of the software without specific, written prior permission. + + STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO + THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE + FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT + OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + Bristuff: + + * Copyright (C) 2004, 2005 Junghanns.NET GmbH + * + * Klaus-Peter Junghanns + * + * This program is free software and may be modified and + * distributed under the terms of the GNU Public License. + +Other portions of code: + +aescrypt.c: Copyright (c) 2003, Dr Brian Gladman , Worcester, UK. +aeskey.c: Copyright (c) 2003, Dr Brian Gladman , Worcester, UK. +dlfcn.c:Copyright (c) 2002 Jorge Acereda & + Peter O'Gorman +dns.c: * Copyright (C) 1999 - 2005 Thorsten Lockert +dnsmgr.c: * Copyright (C) 2005, Kevin P. Fleming +dsp.c: Copyright (C) 2001 Steve Underwood +indications.c: * Copyright (C) 2002, Pauline Middelink +jitterbuf.c: * Copyright (C) 2004-2005, Horizon Wimba, Inc. +jitterbuf.h: * Copyright (C) 2004-2005, Horizon Wimba, Inc. +md5.c: * written by Colin Plumb in 1993, no copyright is claimed. +plc.c: * Copyright (C) 2004 Steve Underwood +poll.c: Copyright (c) 1995-2002 Brian M. Clapper +slinfactory.c: * Copyright (C) 2005, Anthony Minessale II. +apps/app_alarmreceiver.c: * Copyright (C) 2004 - 2005 Steve Rodgers +apps/app_chanspy.c: * Copyright (C) 2005 Anthony Minessale II (anthmct@yahoo.com) +apps/app_controlplayback.c: * Copyright (C) 1999 - 2005, Digium, Inc. +apps/app_curl.c: * Copyright (C) 2004 - 2005, Tilghman Lesher +apps/app_cut.c: * Copyright (c) 2003 Tilghman Lesher. All rights reserved. +apps/app_db.c: * Copyright (C) 2003, Jefferson Noxon +apps/app_dictate.c: * Copyright (C) 2005, Anthony Minessale II +apps/app_directed_pickup.c: * Copyright (C) 2005, Joshua Colp +apps/app_dumpchan.c: * Copyright (C) 2004 - 2005, Anthony Minessale II. +apps/app_eval.c: * Copyright (c) 2004 - 2005, Tilghman Lesher. All rights reserved. +apps/app_exec.c: * Copyright (c) 2004 - 2005, Tilghman Lesher. All rights reserved. +apps/app_festival.c: * Copyright (C) 2002, Christos Ricudis +apps/app_forkcdr.c: * Copyright (C) 1999 - 2005, Anthony Minessale anthmct@yahoo.com +apps/app_hasnewvoicemail.c: * Changes Copyright (c) 2004 - 2005 Todd Freeman +apps/app_hasnewvoicemail.c: * Copyright (c) 2003 Tilghman Lesher. All rights reserved. +apps/app_math.c: * Copyright (C) 2004 - 2005, Andy Powell +apps/app_md5.c: * Copyright (C) 2005, Olle E. Johansson, Edvina.net +apps/app_mixmonitor.c: * Copyright (C) 2005, Anthony Minessale II +apps/app_random.c: * Copyright (c) 2003 - 2005 Tilghman Lesher. All rights reserved. +apps/app_rpt.c: * Copyright (C) 2002-2005, Jim Dixon, WB6NIL +apps/app_sayunixtime.c: * Copyright (c) 2003 Tilghman Lesher. All rights reserved. +apps/app_settransfercapability.c: * Copyright (C) 2005, Frank Sautter, levigo holding gmbh, www.levigo.de +apps/app_skel.c: * Copyright (C) , +apps/app_sms.c: * Copyright (C) 2004 - 2005, Adrian Kennard, rights assigned to Digium +apps/app_sql_postgres.c: * Copyright (C) 2002, Christos Ricudis +apps/app_verbose.c: * Copyright (c) 2004 - 2005 Tilghman Lesher. All rights reserved. +apps/app_while.c: * Copyright 2004 - 2005, Anthony Minessale +cdr/cdr_sqlite.c: * Copyright (C) 2004 - 2005, Holger Schurig +cdr/cdr_tds.c: Copyright (C) 1994, 1996, 1997, 2000, 2001 Free Software Foundation, Inc. +channels/chan_misdn.c: * Copyright (C) 2004, Christian Richter +channels/chan_misdn_config.c: * Copyright (C) 2005, Christian Richter +channels/chan_modem_bestdata.c: * Copyright (C) 1999, Mark Spencer and 2001 Jim Dixon +channels/chan_vpb.c: * Copyright (C) 2003, Paul Bagyenda +channels/chan_vpb.c: * Copyright (C) 2004 - 2005, Ben Kramer +channels/DialTone.h: * Copyright (C) 1999, Mark Spencer +channels/Makefile:# Copyright (C) 1999-2005, Mark Spencer +codecs/codec_ilbc.c: * The iLBC code is from The IETF code base and is copyright The Internet Society (2004) +doc/README.backtrace:Copyright 2004 Free Software Foundation, Inc. +editline/: * Copyright (c) 1992, 1993 + * The Regents of the University of California. All rights reserved. +editline/editline.3:.\" Copyright (c) 1997-1999 The NetBSD Foundation, Inc. +editline/install-sh:# Copyright 1991 by the Massachusetts Institute of Technology +formats/format_au.c: * Copyright (C) 2005, Andriy Pylypenko +formats/format_g726.c: * Copyright (c) 2004 - 2005, inAccess Networks +formats/format_ogg_vorbis.c: * Copyright (C) 2005, Jeff Ollie +formats/format_sln.c: * Copyright (C) 1999 - 2005, Anthony Minessale +funcs/func_cdr.c: * Portions Copyright (C) 2005, Anthony Minessale II +funcs/func_db.c: * Copyright (C) 2005, Russell Bryant +funcs/func_db.c: * Copyright (C) 2003, Jefferson Noxon +funcs/func_logic.c: * Portions Copyright (C) 2005, Anthony Minessale II +funcs/func_math.c: * Copyright (C) 2004 - 2005, Andy Powell +funcs/func_md5.c: * Copyright (C) 2005, Olle E. Johansson, Edvina.net +funcs/func_md5.c: * Copyright (C) 2005, Russell Bryant +funcs/func_strings.c: * Portions Copyright (C) 2005, Tilghman Lesher. All rights reserved. +funcs/func_strings.c: * Portions Copyright (C) 2005, Anthony Minessale II +res/res_config_odbc.c: * Copyright (C) 2004 - 2005 Anthony Minessale II +res/res_indications.c: * Copyright (C) 2002, Pauline Middelink +res/res_odbc.c: * Copyright (C) 2004 - 2005 Anthony Minessale II +utils/smsq.c: * Copyright (C) 2004 - 2005 Adrian Kennard +utils/streamplayer.c: fprintf(stderr, "Copyright (C) 2005 -- Russell Bryant -- Digium, Inc.\n\n"); +channels/misdn/: * Copyright (C) 2004, Christian Richter +codecs/ilbc/: Copyright (C) The Internet Society (2004). +contrib/scripts/managerproxy.pl:# Copyright (c) 2004 David C. Troy <dave@popvox.com> +contrib/scripts/retrieve_extensions_from_sql.pl:# Copyright: 2004 Peter Nixon +db1-ast/*/*: * Copyright (c) 1990, 1993, 1994 + * The Regents of the University of California. All rights reserved. +editline/np/: * Copyright (c) 1998 The NetBSD Foundation, Inc. +editline/np/strlcat.c: * Copyright (c) 1998 Todd C. Miller +include/asterisk/aes.h: Copyright (c) 2003, Dr Brian Gladman , Worcester, UK. +include/asterisk/dlfcn-compat.h:Copyright (c) 2002 Jorge Acereda & + Peter O'Gorman +include/asterisk/plc.h: * Copyright (C) 2004 Steve Underwood +include/asterisk/poll-compat.h: Copyright (c) 1995-2002 Brian M. Clapper +include/asterisk/res_odbc.h: * Copyright (C) 2004 - 2005, Anthony Minessale II +include/asterisk/slinfactory.h: * Copyright (C) 2005, Anthony Minessale II --- asterisk-1.4.10~dfsg.orig/debian/watch +++ asterisk-1.4.10~dfsg/debian/watch @@ -0,0 +1,7 @@ +# format version number, currently 2; this line is compulsory! +version=2 + +# Full-site-with-pattern [Version [Action]] +opts=dversionmangle=s/\~dfsg// \ + http://ftp.digium.com/pub/asterisk/asterisk-([\d.].*[\d])\.tar\.gz \ + debian svn-upgrade --- asterisk-1.4.10~dfsg.orig/debian/asterisk-web-vmail.install +++ asterisk-1.4.10~dfsg/debian/asterisk-web-vmail.install @@ -0,0 +1 @@ +../../contrib/scripts/vmail.cgi usr/lib/cgi-bin/asterisk/ --- asterisk-1.4.10~dfsg.orig/debian/NEWS.Debian +++ asterisk-1.4.10~dfsg/debian/NEWS.Debian @@ -0,0 +1,31 @@ +asterisk (1:1.4.2~dfsg-5) unstable; urgency=low + + * With the release of asterisk 1.4.x to unstable the asterisk-classic & + asterisk-bristuff packages have been depreciated. We + are awaiting bristuff compatible with asterisk 1.4 + * If you require bristuff, it is recommended you stick + with the packages in etch. + + * Note also there are significant configuration differences between + asterisk 1.2.x & 1.4.x, please refer to the file + /usr/share/doc/asterisk/UPGRADE.txt.gz for details + + -- Mark Purcell Sat, 14 Apr 2007 16:44:18 +0100 + +asterisk (1:1.2.10.dfsg-1) unstable; urgency=low + + * The iLBC codec library code has been removed from the Debian asterisk + package as it does not conform with the DFSG. + + -- Mark Purcell Mon, 17 Jul 2006 21:15:50 +0100 + +asterisk (1:1.0.7.dfsg.1-1) unstable; urgency=low + + * The Debian version of the upstream asterisk source has had the fpm Music on Hold + removed as this music has only been licenced for use within asterisk which is + incompatible with the Debian Free Software Guildlines + . Please drop your alternative + Music on Hold into the directory /usr/share/asterisk/mohmp3/ + + -- Mark Purcell Sun, 20 Mar 2005 10:30:44 +0000 +