Chat showing offline during operational hours

mortsmel

SOHO User
Joined
Sep 26, 2024
Messages
12
Reaction score
0
Hello,

I have on my website (https://www.xxxxx.com) the html export of the code. Seems to work at certain times of the day, but not, its really choosy when it works, when I look at developer tools I see the following:

Access to fetch at 'https://yyyyyyyyy.mi.3cx.us/MyPhone/c2cinfo?c2cid=XXXXXXX' from origin 'https://xxxxxx.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

I don't know what is causing this to happen, however, I would like to try and get to the bottom of it, using ChatGPT it says to get access to the code and add some info to the header output:

----------------------------------------

Let me know your thoughts, I don't know if its only for me as I'm stuck behind a firewall where a nginx proxy manager is routing the http/s to it. Seems to work well, but yea.

Edit: I would love to see the ability to include various levels of hostnames towards the use of it - seems to be working now, however as its after the hours of closure... It doesn't listen to the defined office hours and I was able to confirm its in EST, and the timezone for the office hours are set to 9 to 5 M-F

Halp.
 
Last edited by a moderator:
Hello,

The "Your website" field in the Live Chat config can take multiple websites in a comma sepparated list. Make sure you add all your domains aliases (www, no www, etc).

1753333630744.png

Best,
KS.
 
  • Like
Reactions: mortsmel
And, as of right now, it's showing as available, it's after hours. It shows as unavailable during operational hours. As seen:

1753335398729.png
 
Can you screenshot the Chat config, and out of curiosity the System->Options page?
 
Is the PBX firewall check Green? No firewall issues on the webserver that could be blocking something? I have visited your website and the chat is behaving somewhat oddly.
 
are ports 9000-9398 and 10600-10998 udp or tcp or both

i need to setup my firewall rules
 
nevermind - all good here. successful passes now.
 
nevermind - all good here. successful passes now.
Ah good.

I was able to replicate the behaviour by having "End Call" as the destination for out of hours in the office handling.

But as long as you got yours working, that's what matters. Would still like to know what your fix was, so the community can benefit in similar cases.
 
actually the 3cx chat capability is still a problem - its the firewall rules is what i meant was fixed. its passing now.

still need to address the office hours and things not working correctly.
 
In Call Handling choose the chat in question and see what the setting is for office closed. If it's End Call, change it to something else, User will do - it should still follow office hours and close at the proper times.
 
@KyriacosS_3CX - Why does the image show faded during open hours, and during closed hours it does not show as active?

This addresses routability if I choose to allow calls inbound from the chat?

What does this have anything todo with the chat?
 
The grayed out during open I can't replicate. Trying to see about that.

For the chat, not talking about the users rules for office hours, the chat has its own:
1753353416879.png

This End Call should be set to a user, to properly deactivate when out of hours.
 
End call is fine, if it is after hours... I have https://nucleus.com/ answering for me, its an AI that answers basic questions and routes appropriately - I have a DID on the system going to my desk that only certain people know... etc.

Thanks.
 
So, in that field you do not have End Call? Correct? Because I was seeing a warning when I visited your page that can be due to having that value in that field.

Where are the chats being sent during normal hours? If to a queue or agent etc that is not active, that could be the cause of the chat showing offline.
 

Members Online Now

No members online now.

Forum statistics

Threads
111,831
Messages
589,277
Members
164,660
Latest member
RJenkinsROCK