31,040
edits
| Line 62: | Line 62: | ||
'''With Chrome''' | '''With Chrome''' | ||
Create a file '''/usr/share/applications/dolibarr_clicktodial.desktop''' to describe the SIP software to launch | |||
<pre> | |||
[Desktop Entry] | |||
Name=SIP phone | |||
Comment=SIP phone | |||
Type=Application | |||
Exec=/pathtodolibarr/scripts/clicktodial/linphone.sh %U | |||
Icon=/usr/share/pixmaps/linphone/linphone.png | |||
Terminal=false | |||
Categories=Network;Telephony; | |||
</pre> | |||
Replace path into line Exec= with your 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> | |||
x-scheme-handler/sip=dolibarr_clicktodial.desktop | |||
</pre> | |||
= 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. | ||