Browse Source

Avoid terminal

Laurent Destailleur 12 years ago
parent
commit
a0dc4ae62e
1 changed files with 8 additions and 1 deletions
  1. 8 1
      scripts/clicktodial/linphone.sh

+ 8 - 1
scripts/clicktodial/linphone.sh

@@ -6,6 +6,13 @@
 # More information on http://wiki.dolibarr.org/index.php/Module_ClickToDial_En
 #---------------------------------------------------------
 
+# Note: Adding handler into gconf-tools seems to do nothing
+# gconftool-2 -t string -s /desktop/gnome/url-handlers/sip/command "linphone-3 -c %s"
+# gconftool-2 -s /desktop/gnome/url-handlers/sip/needs_terminal false -t bool
+# gconftool-2 -t bool -s /desktop/gnome/url-handlers/sip/enabled true
+
 echo Launch Linphone $1 $2
+
 param=`echo $1 | sed -s 's/^sip:[\/]*//' `
-/usr/bin/linphone-3 -c $param
+
+/usr/bin/linphone-3 -c $param &