31,040
edits
| Line 43: | Line 43: | ||
ClickToDial Id caller (phone) : your phone | ClickToDial Id caller (phone) : your phone | ||
== With a SIP softare (Ekiga), Linux and Firefox == | == With a SIP softare (Ekiga or LinPhone), Linux and Firefox == | ||
* First, be sure, a SIP software (like Ekiga) is installed and working correctly (you can phone using it). | * First, be sure, a SIP software (like Ekiga or Linphone) is installed and working correctly (you can phone using it) without using Dolibarr. | ||
* | * Once this is done, login to Dolibarr, go into ClickToDial module setup page. Into URL field, type | ||
sip:__PHONETO__@yoursipdomain | sip:__PHONETO__@yoursipdomain | ||
For example, when using freephonie, the SIP system of the french ISP Free, URL would be | For example, when using freephonie, the SIP system of the french ISP Free, URL would be | ||
| Line 59: | Line 59: | ||
# Set the value to “false” | # Set the value to “false” | ||
# Close the about:config window (or tab) | # Close the about:config window (or tab) | ||
# 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 ( | # 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''' | ||
Your browser should launch your SIP software and dial the number provided into URI each | # 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! | |||
'''With Chrome and Ubuntu''' | '''With Chrome and Ubuntu''' | ||
Create a file '''/usr/share/applications/dolibarr_clicktodial.desktop''' to describe the SIP software to launch | # 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 70: | Line 73: | ||
Comment=SIP phone | Comment=SIP phone | ||
Type=Application | Type=Application | ||
Exec=/ | Exec=/home/yourlogin/linphone.sh %U | ||
Icon=/usr/share/pixmaps/linphone/linphone.png | Icon=/usr/share/pixmaps/linphone/linphone.png | ||
Terminal=false | Terminal=false | ||
Categories=Network;Telephony; | Categories=Network;Telephony; | ||
</pre> | </pre> | ||
Replace path into line Exec= with | 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. | # 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 | ||
</pre> | </pre> | ||
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! | |||
= Usage = | = Usage = | ||
Once setup is finished, all phone number in Dolibarr screens are now links you can click. If you do so, Dolibarr will call the defined page/URL, that should make the calling. | Once setup is finished, all phone number in Dolibarr screens are now links you can click. If you do so, Dolibarr will call the defined page/URL, that should make the calling. | ||