I want to realise a click to call but I don’t really understand the concept… I think is the ability to make a call by clicking on a phone number on a website and my Asterisk do the call by using the extension who is enable to make the call. That it ?
The extension will have to communicate to via some sort of HTTP method that includes some sort of authorization information.
You build a listener that authenticates the request coming from your extension and then translates the HTTP request with with who to call to and who to call from into a call request for asterisk, One of the easiest ways to do this is by creating a call file.
AMI Originate Action and PHP, you will create a PHP script who will connect to the Asterisk manager and initiate the call, you pass the paratmers as POST or GET variables
Why don’t you use webrtc ?
You could make calls from website to asterisk…
You could look at www.toky.co to a ready to use (non completely free but very cheap) click to call button
Click to call using AMI it is a few line line of codes, Webrtc require deep understanding about this technologie and a huge configuration at least for some one new on this field , but if you have time and patience you can try with Webrtc
Actually, I try to make a call by clicking on link of phone numbers during visiting a website. I’m reading some documentations and watching tutorials about Asterisk. But I have a question, if I receive a call, is it possible to have a notification on my computer. I must use a softphone like X-Lite ?
Depending on configuration it can be used for simple Click to Call, integrate with CRMs (Salesforce, Zoho and others), and also perform caller identification from custom source. It works with or without Thirdlane platform or Asterisk
SIP/40001 is the internal asterisk extension and 123445567890 is the external phone number that you wish to dial. This will first ring the internal extension and when answered will start dialling the external phone number.