Answer the question
In order to leave comments, you need to log in
How to make a PHP-online consultant?
Good afternoon, friends, I have a burning desire to implement an online consultant on the site, a chat between the client and the seller. I decided that it would be very convenient to write on the jabber protocol, but there were difficulties, the php script must constantly hang running. In general, I want to listen to all the suggestions on this topic, maybe someone has examples, best practices and is ready to share - I will be very grateful.
Answer the question
In order to leave comments, you need to log in
Perhaps you should use something like https://code.google.com/p/trophyim/
Also, on Habré there are many topics on related topics, for example habrahabr.ru/post/147469
In general, for your task, using Jabber can be quite redundant.
Jabber consultants are a rather crutch solution that threatens with bugs without active support.
I recommend looking in the direction of chats on websockets html5demos.com/web-socket
Again, no one bothers to do it on bare JavaScript using memcached to store history
To implement a chat both between users and something like an online consultant, I recommend using comet technology.
If you don’t want to set up a comet server, use one of the Saas solutions.
Here are some comet services.
[Ru] comet-server.ru
[En] https://www.tambur.io
[En] pusher.com
Adapter SPRecord A1, for example , hang it on the incoming line that you need to write. If I understand correctly, incoming calls from this line are received by one / two employees whose communication with clients you want to record.
Have you tried ready-made solutions? At one time I worked on an interesting project, I think it will suit you: www.sl-systems.ru
A good turnkey solution from the Russian manufacturer Agat:
Recording telephone conversations. The program "Octopus-7. www.agatrt.ru/products/sprut7/112
Try services from youmagic , you can save the recording to mp3, a bunch of other useful features are available!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question