Module ClickToDial En: Difference between revisions

Jump to navigation Jump to search
Line 51: Line 51:
# Launch Firefox
# Launch Firefox
# Type about:config in the address bar and press ‘Enter’
# Type about:config in the address bar and press ‘Enter’
3) Accept the warning
# Accept the warning
4) Right click somewhere on the page and select New –> Boolean from the menu
# Right click somewhere on the page and select New –> Boolean from the menu
5) Set the name to “network.protocol-handler.expose.sip” without the quotes
# Set the name to “network.protocol-handler.expose.sip” without the quotes
6) Set the value to “false”
# Set the value to “false”
7) Close the about:config window (or tab)
# Close the about:config window (or tab)
8) 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 (With Ekiga, you can set here path of script provided with Dolibarr 3.3+: '''yourdolibarrpath/scripts/clicktodial/ekiga.sh''').
# 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 (With Ekiga, you can set here path of script provided with Dolibarr 3.3+: '''yourdolibarrpath/scripts/clicktodial/ekiga.sh''').
Your browser should launch your SIP software and dial the number provided into URI each tie you click on a phone number. That’s it!
Your browser should launch your SIP software and dial the number provided into URI each tie 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 then page to send informations to Asterisk server to execute the phone call. The Asteriks server should do the rest.
Once setup is finished, all phone number in Dolibarr screens are now links you can click. If you do so, Dolibarr will call then page to send informations to Asterisk server to execute the phone call. The Asteriks server should do the rest.

Navigation menu