Answer the question
In order to leave comments, you need to log in
Asterisk. Callback from the site how to implement?
It is necessary to organize a callback from the site, notifying the manager about the source of the call and the page from which the visitor ordered a callback.
The order is as follows:
1. The client went to the site and sent a form with a phone number
2. The manager received an incoming call.
3. When picking up the handset, the manager hears - "Call from site.com, the page is pink elephants"
4. When the recording is completed, a callback occurs and the manager connects to the client
. The callback itself was implemented using ami and Php libraries using action originate.
But here's how to play a sound file with information about the client before that?
Answer the question
In order to leave comments, you need to log in
Originate connects the specified channel to the specified extension. Specify the manager as the channel, the extension - the client number in a separate context. On this extension you hang a dialplan of the form
[callback]
exten => _X.,1,Answer()
same => n,Playback(всё, что хотите сказать менеджеру)
same => n,Dial(канал/${EXTEN})
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question