N
N
Nestratov2014-03-02 17:42:00
PHP
Nestratov, 2014-03-02 17:42:00

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

7 answer(s)
D
DiverUA, 2014-03-02
@DiverUA

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.

A
aur, 2014-03-02
@aur

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

V
Viktor, 2014-11-17
@Levhav

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

A
Andrew, 2015-06-02
@Ugrum

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.

M
Maxim Kuznetsov, 2015-06-01
@max-kuznetsov

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
Alexander Kostin, 2015-06-11
@ferrasoft

A good turnkey solution from the Russian manufacturer Agat:
Recording telephone conversations. The program "Octopus-7. www.agatrt.ru/products/sprut7/112

O
Oleg Belkin, 2017-03-30
@Belkinson

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 question

Ask a Question

731 491 924 answers to any question