Module ClickToDial (developer): Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Tag: 2017 source edit
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:AsteriskEn]]
<!-- BEGIN origin interlang links -->
{{TemplateDocUser}}
<!-- You can edit this section but do NOT remove these comments
{{TemplateModEN}}
    Links below will be automatically replicated on translated pages by PolyglotBot -->
[[fr:Module_ClickToDial_(développeur)]]
[[es:Módulo_ClickToDial_(desarrollador)]]
<!-- END interlang links -->
 
[[Category:CTI]]
[[Category:List of Modules (developer)‎]]
{{TemplateDocDevEn}}
{{TemplateModEN Developer}}
{{BasculeDevUserEn|
{{BasculeDevUserEn|
name=Asterisk|
name=ClickTodial|
num=58|
num=58|
devdoc=[[Module ClickToDial En|Module ClickTodial]]|
devdoc=This page|
userdoc=This page|}}
userdoc=[[Module ClickToDial En|Module ClickTodial]]|}}
 
 
 
 


= Introduction =
This module allows you to trigger a phone call with a simple mous click on a phone number in Dolibarr.
This feature for Asterisk is not yet available as an independent module but you can emulate it using the module ClickToDial.


= Installation =
{{NoInstallModuleEn}}


= Configuration =
{{ActivationModuleEn}}


== With Asterisk ==
= Feature =
'''This is how to fill the specific setup for Asterisk:'''
{{ToComplete}}
* Add Url
= Permissions =
http://MONDOLIBARR/asterisk/wrapper.php?caller=%2$s&called=%1$s&login=%3$s&password=%4$s
* Go on page ''Setup - Other'' and add constants
ASTERISK_HOST with IP of your asterisk server (ie: 127.0.0.1)
ASTERISK_TYPE with managed protocol (ie: SIP/)
ASTERISK_INDICATIF with prefix to add in phone number (ie: 0)
ASTERISK_PORT with port of Asterisk sever (ie: 5038)
* Create a new console user on your Asterisk server ( File /etc/asterisk/manager.conf )
<source lang="ini">
[dolibarruser]
secret = dolibarrpass
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user
</source>
* Enter Asterisk informations on your Dolibarr user card, tab ClickToDial
ClickToDial Login : dolibarruser
ClickToDial Password : dolibarrpass
ClickToDial Id caller (phone) : your phone


= Usage =
= Tables SQL =
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