Skip to content
Snippets Groups Projects
Commit 58877d10 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files
parents 97e4d856 e333b284
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
#
# @author: Yun Liu <yun.liu@savoirfairelinux.com>
#
# Build sflphone debian packages for Ubuntu 8.04
#1. Before building sflphone package, you need get gpg key. Skip it if you have already one.
# Usage: gpg --gen-key
#2. You mush have access to sflphone git repository. Skip this step if you have the access.
# Refer to http://dev.savoirfairelinux.net/sflphone/wiki/DownloadSFLphone#Developmentsources
#3. After having all the prerequisites, you can run "build-package.sh" to build debian packages for sflphone.
# All the source packages and binary packages will be generated in the current directory.
if [ -d "sflphone" ]; then
echo "Directory sflphone already exists. Please remove it first."
exit 1
fi
git clone git+ssh://repos-sflphone-git@sflphone.org/~/sflphone.git
# Get system parameters
arch_flag=`getconf -a|grep LONG_BIT | sed -e 's/LONG_BIT\s*//'`
os_version=`lsb_release -d -s -c | sed -e '1d'`
# If intrepid(Ubuntu8.10), then use appropriate changelog file
if [ $os_version == "intrepid" ];then
cp sflphone/debian/changelog.intrepid sflphone/debian/changelog
else
cp sflphone/debian/changelog.hardy sflphone/debian/changelog
fi
# Remove useless git directory
rm sflphone/.git/ -rf
# Copy the appropriate control file based on different archtecture
if [ $arch_flag -eq 32 ] && [ $os_version == "intrepid" ];then
cp sflphone/debian/control.intrepid.i386 sflphone/debian/control
elif [ $arch_flag -eq 64 ] && [ $os_version == "intrepid" ];then
cp sflphone/debian/control.intrepid.amd64 sflphone/debian/control
elif [ $arch_flag -eq 32 ] && [ $os_version == "hardy" ];then
cp sflphone/debian/control.hardy.i386 sflphone/debian/control
else
cp sflphone/debian/control.hardy.amd64 sflphone/debian/control
fi
echo "Building sflphone package on Ubuntu $os_version $arch_flag bit archetecture...."
# Provide prerequisite directories used by debuild
cp sflphone sflphone-0.9.2 -r
cp sflphone sflphone-0.9.2.orig -r
# Build packages
cd sflphone-0.9.2/debian; debuild
# Clean
rm sflphone-0.9.2/ -rf
rm sflphone/ -rf
echo "Building package finished successullly!"
sflphone (0.9.2-0ubuntu2) hardy; urgency=low
* Fix bug ticket #129
-- Yun Liu <yun.liu@savoirfairelinux.com> Wed, 5 Jan 2009 15:54:53 -0500
sflphone (0.9.2-0ubuntu1) hardy; urgency=low sflphone (0.9.2-0ubuntu1) hardy; urgency=low
* Migrate from eXosip library to pjsip * Migrate from eXosip library to pjsip
......
sflphone (0.9.2-2ubuntu2) intrepid; urgency=low
* Fix bug ticket #129
-- Yun Liu <yun.liu@savoirfairelinux.com> Wed, 5 Jan 2009 15:54:53 -0500
sflphone (0.9.2-2ubuntu1) intrepid; urgency=low
* Migrate from eXosip library to pjsip
* Add multiple SIP accounts support
* Fix ringtones problems
* Add a pulseaudio support
* Improve audio quality with ALSA
* Add chinese translation
* Improve spanish translation
* Migrate to a maintained C++ DBus bindings
* Clean and improve the build system
* Add build-dependency on Perl because we need pod2man to generate manpages
-- Yun Liu <yun.liu@savoirfairelinux.com> Wed, 26 Nov 2008 09:47:53 -0500
sflphone (0.9.1) unstable; urgency=low
* Add a search tool in the history
* Migrate some gtk_entry_new to sexy_icon_entry_new
* Bug fix (Ticket #78): The voicemail password isn't displayed anymore in
the history tab
* Add the SIP registration expire value in the user file.
-- Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> Thu, 22 May 2008 11:14:25 -0500
sflphone (0.9.0) unstable; urgency=low
* Add history features
* Call date
* Call duration
* Mouse events in the history tab
* Smooth switch from the history tab to the calls tab
* Remove most of GTK-Critical warnings
-- Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> Wed, 13 May 2008 16:58:25 -0500
sflphone (0.9-2008-06-06) unstable; urgency=low
* Audio bug correction: capture stopped after a few minutes of conversation
with USB Plantronics sound card
-- Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> Tue, 06 May 2008 16:58:25 -0500
sflphone (0.9-2008-05-06) unstable; urgency=low
* Bug correction: account creation with the assistant
* GTK+ warnings removal
* libnotify warnings removal
* Remove aliasing on the SFLphone logo
-- Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> Mon, 05 May 2008 16:58:25 -0500
sflphone (0.9) unstable; urgency=low
* Clean dependencies ( removal of libboost )
* Several GTK improvement and updates
-account window
-configuration window
* Migrate from GtkCheckMenuItem to GtkImageMenuItem
* ALSA standard I/O transfers: MMAP instead of R/W
* Fix speex audio quality
* IAX2 protocol
-Fix hold/unhold situation
-Add on hold music
* SIP protocol
-Ringtone on incoming call
-Fix transfer situation
* Add desktop notification ( libnotify )
* Improve the system tray icon behaviour
* Improve registration error handling
* Register/unregister from the account window takes effect without starting back SFLphone
* Compilation warnings removal
* Call history
* Add an account configuration wizard
-- Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> Wed, 30 Apr 2008 16:58:25 -0500
sflphone (0.8.2) unstable; urgency=low
* Internationalization of the GTK GUI
* English / French
* STUN support
* Slight modifications of the graphical interface ( tooltips, dialpad, ...)
-- Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> Fri, 21 Mar 2008 11:37:53 -0500
File moved
File moved
Source: sflphone
Maintainer: SavoirFaireLinux Inc <yun.liu@savoirfairelinux.com>
Section: gnome
Priority: optional
Build-Depends: debhelper (>= 5)
Standards-Version: 3.8.0
Package: sflphone
Priority: optional
Architecture: amd64
Depends: libgcc1 , libsamplerate0 (>=0.1.2) , libdbus-glib-1-2 (>= 0.73), libexpat1 , libgtk2.0-0 , libc6 (>= 2.3.6-6) , libglib2.0-0 (>= 2.12.0) , libcommoncpp2-1.6-0 , sflphone-iax2, libgsm1 (>=1.0.10) , libspeex1 (>=1.1.12) , libdbus-1-3, libdbus-glib-1-2, dbus-c++-1 (>=0.5.0) , libsexy2 (>=0.1.11), libcppunit-1.12-1, libasound2 (>= 1.0), libpulse0 (>= 0.9.6), libccrtp1-1.6-1, libnotify1 (>= 0.4), libsexy2 (>= 0.1), perl (>=5.5.8)
Homepage: http://www.sflphone.org
Description: SIP and IAX2 compatible softphone
SFLphone is meant to be a robust enterprise-class desktop phone.
SFLphone is released under the GNU General Public License.
SFLphone is being developed by the global community, and maintained by
Savoir-faire Linux, a Montreal, Quebec, Canada-based Linux consulting company.
Source: sflphone
Maintainer: SavoirFaireLinux Inc <yun.liu@savoirfairelinux.com>
Section: gnome
Priority: optional
Build-Depends: debhelper (>= 5)
Standards-Version: 3.8.0
Package: sflphone
Priority: optional
Architecture: i386
Depends: libgcc1 , libsamplerate0 (>=0.1.2) , libdbus-glib-1-2 (>= 0.73), libexpat1 , libgtk2.0-0 , libc6 (>= 2.3.6-6) , libglib2.0-0 (>= 2.12.0) , libcommoncpp2-1.6-0 , sflphone-iax2, libgsm1 (>=1.0.10) , libspeex1 (>=1.1.12) , libdbus-1-3, libdbus-glib-1-2, dbus-c++-1 (>=0.5.0) , libsexy2 (>=0.1.11), libcppunit-1.12-1, libasound2 (>= 1.0), libpulse0 (>= 0.9.6), libccrtp1-1.6-1, libnotify1 (>= 0.4), libsexy2 (>= 0.1), perl (>=5.5.8)
Homepage: http://www.sflphone.org
Description: SIP and IAX2 compatible softphone
SFLphone is meant to be a robust enterprise-class desktop phone.
SFLphone is released under the GNU General Public License.
SFLphone is being developed by the global community, and maintained by
Savoir-faire Linux, a Montreal, Quebec, Canada-based Linux consulting company.
...@@ -20,9 +20,8 @@ configure: configure-stamp ...@@ -20,9 +20,8 @@ configure: configure-stamp
configure-stamp: configure-stamp:
dh_testdir dh_testdir
# Add here commands to configure the package. # Add here commands to configure the package.
./autogen.sh ./autogen.sh --prefix=/usr --with-debug
./configure --prefix=/usr --with-debug cd sflphone-gtk; ./autogen.sh --prefix=/usr
cd sflphone-gtk; ./autogen.sh; ./configure --prefix=/usr
cd libs/pjproject-1.0; ./configure cd libs/pjproject-1.0; ./configure
touch configure-stamp touch configure-stamp
...@@ -35,7 +34,7 @@ build-arch-stamp: configure-stamp ...@@ -35,7 +34,7 @@ build-arch-stamp: configure-stamp
# Add here commands to compile the arch part of the package. # Add here commands to compile the arch part of the package.
$(MAKE) $(MAKE)
cd sflphone-gtk; $(MAKE) cd sflphone-gtk; make
cd libs/pjproject-1.0; $(MAKE) dep; $(MAKE) cd libs/pjproject-1.0; $(MAKE) dep; $(MAKE)
touch $@ touch $@
......
...@@ -274,6 +274,11 @@ ManagerImpl::answerCall(const CallID& id) ...@@ -274,6 +274,11 @@ ManagerImpl::answerCall(const CallID& id)
return false; return false;
} }
if (hasCurrentCall()) {
_debug("* Manager Info: there is currently a call, try to hold it\n");
onHoldCall(getCurrentCallId());
}
if (!getAccountLink(accountid)->answer(id)) { if (!getAccountLink(accountid)->answer(id)) {
// error when receiving... // error when receiving...
removeCallAccount(id); removeCallAccount(id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment