31,040
edits
| Line 52: | Line 52: | ||
'''With Firefox''' | '''With Firefox''' | ||
- Launch Firefox | |||
- Type about:config in the address bar and press ‘Enter’ | |||
- Accept the warning | |||
- Right click somewhere on the page and select New –> Boolean from the menu | |||
- Set the name to “network.protocol-handler.expose.sip” without the quotes | |||
- Set the value to “false” | |||
- Close the about:config window (or tab) | |||
- Copy launcher script file .sh (provided with dolibarr into '''yourdolibarrpath/scripts/clicktodial/ekiga.sh''' or '''yourdolibarrpath/scripts/clicktodial/linphone.sh''' with linphone) into your home directory. For example into '''/home/yourlogin''' | |||
- Go on a card with a phone number (a third party or contact page for example). Click on phone link. When prompted, select the path to the launch script to run your SIP software you have copied previously (so '''/home/yourlogin/ekiga.sh''' or '''/home/yourlogin/linphone.sh'''). | |||
Your browser should launch your SIP software and dial the number provided into URI each time you click on a phone number. That’s it! | Your browser should launch your SIP software and dial the number provided into URI each time you click on a phone number. That’s it! | ||
| Line 66: | Line 75: | ||
'''With Chrome and Ubuntu''' | '''With Chrome and Ubuntu''' | ||
- Copy launcher script file .sh (provided with dolibarr into '''yourdolibarrpath/scripts/clicktodial/ekiga.sh''' or '''yourdolibarrpath/scripts/clicktodial/linphone.sh''' with linphone) into your home directory. For example into '''/home/yourlogin''' | |||
- Create a file '''/usr/share/applications/dolibarr_clicktodial.desktop''' to describe the SIP software to launch | |||
<pre> | <pre> | ||
[Desktop Entry] | [Desktop Entry] | ||
| Line 80: | Line 90: | ||
Replace path into line Exec= with the path and name of script or your SIP software. | Replace path into line Exec= with the path and name of script or your SIP software. | ||
- Add a ligne into file '''/usr/share/applications/defaults.list''' to tell to use this descriptor when we need to handle SIP urls. | |||
<pre> | <pre> | ||
x-scheme-handler/sip=dolibarr_clicktodial.desktop | x-scheme-handler/sip=dolibarr_clicktodial.desktop | ||