Webclient stop to open weblinks - Again

Status
Not open for further replies.

Joaopauloaos

Customer
Joined
Aug 31, 2020
Messages
30
Reaction score
5
Hi,

https://www.3cx.com/community/threa...ient-stop-to-open-weblinks.75773/#post-343755

I had made this post some time ago, and, in that time, after an update on 3CX, its start working, and work for almost an year.

2 or 3 week ago, its start to have a random behavior. With the same issue again. Some times works, some times not.

The webclient are not opening the CRM URL.

But now, some time its open, sometime its not, we cant determine exacly what is happen.

Looking at the CRM Integration on the 3CX, I cant found any error. Everythink looks good, however, the fact is that are not working.

To make it work again, I have to reboot the machine (server). Some times its works for several hours, some time its works just for few minutes, and start this behavior.


=========================

CRM Lookup ->
Started scenario with empty id
Request text: https://api.izleads.com.br/api/voip/get_contact.aspx?key=XXXXX&pbx=XXXX&phone=7770195513997016577
Response text: {"ID":"4971671","firstname":"HERMILO","lastname":"LOPES","company":"","email":"","phone1":"7770195513997016577","phone2":null,"phone3":null,"phone4":null,"url_info":"https://www.izleads.com.br/account/Parceiros/Atendimento.aspx?IdPessoa=4971671","CodigoResultado":"00","Mensagem":"Valores retornados com sucesso."}
Response finished
Variable ContactID set to 4971671
Variable FirstName set to HERMILO
Variable LastName set to LOPES
Variable CompanyName set to
Variable Email set to
Variable PhoneBusiness set to 7770195513997016577
Variable PhoneBusiness2 set to
Variable PhoneMobile set to
Variable PhoneMobile2 set to
Variable ContactUrl set to https://www.izleads.com.br/account/Parceiros/Atendimento.aspx?IdPessoa=4971671
Finished scenario with empty id
Result obtained
 

Attachments

  • Captura de tela de 2021-10-15 10-14-48.png
    Captura de tela de 2021-10-15 10-14-48.png
    237.3 KB · Views: 6
  • Captura de tela de 2021-10-15 10-15-08.png
    Captura de tela de 2021-10-15 10-15-08.png
    237.7 KB · Views: 5
  • Captura de tela de 2021-10-15 10-16-04.png
    Captura de tela de 2021-10-15 10-16-04.png
    236 KB · Views: 7
  • Conseguiu falar mas nao carregou o contato.png
    Conseguiu falar mas nao carregou o contato.png
    94.5 KB · Views: 9
  • Screenshot(8).png
    Screenshot(8).png
    20.5 KB · Views: 8
Another update, there is no safe point. Even with only 25 parallel dialers, and system with 6% of CPU, after some time, 2 hours, stops working and I have to restart the services.

1634763486919.png

I just had to restart now...
 
Hello @Joaopauloaos,

From the logs you sent I can see that 3CX is not able to process the requests in real time, due to the number of concurrent calls. For the phone number you sent we have:
2021/10/20 16:07:43.630|7242|0005|Verb|Not processed. Number=7770195514997564527, connection=48138, state=Ringing
2021/10/20 16:08:55.832|7242|0070|Info|CRM: making request to CRM. Number=7770195514997564527

As you can see, 3CX starts the contact lookup more than 1 minute after the call has started. This is because there are too many queued requests pending to be processed. I think the only way to cope with this would be increasing the hardware capabilities.

Also, maybe you can use a different approach for this, instead of the CRM template. The CRM template will query the CRM passing the phone number, and then will return a contact URL, which will be popped up in the agent's PC. If the CRM provides an URL that can receive the phone number and show the contact record for it, then you could avoid using the template, and instead you configure the Web Client > Settings > Integration > Auto launch a Custom Contact URL using variables, so you launch this URL directly on the agent's PC. By using this approach, you will avoid the contact lookup happening in the 3CX server, which is what is getting delayed now.
 
  • Like
Reactions: Evolute IT
But this dont make sense.

1) Hardware still on 5% when its stops to work
2) Before the last update, on friday 15, its was working too

this is a bug. must be.
 
I will implement on client side as you sugest, but, I think that exists an "improvement opportunity" on this topic, or, a simple bug to catcha.

I cant believe tha a machine with 48 cores, 24Gigas ram, 5% of using processor, an webserver responding in 30ms, cant handle 30 connections.
 
Status
Not open for further replies.

Forum statistics

Threads
111,988
Messages
590,158
Members
164,923
Latest member
2B_JPS