using hostname (UNC) requires DNS to be configured correctly. It also requires the client to be using a DNS server that "knows" the relationship of hostname to IP. Then there is the matter of just hostname vs fully qualified domain name (FQDN).
Without knowing the particulars of your setup, it's near impossible to get to the correct answer. It would be more like throwing darts at a target until one hits.
useful bits of information would be:
a) how DNS is configured server side for your host.
b) how DNS is configured client side.
c) are you using simple hostname or fqdn?
d) is your client software DNS aware?
e) do you have a hosts file configured?
f) is the client aware of the hosts file?
are your tests from a client consistent? for instance, when you say you can access the control panels via hostname but not with a sip phone, is this the same client? or two separate devices?
I will disregard for the moment the iptables configuration until you have the DNS sorted first. Without working DNS, iptables will only complicate the issue (if you are using hostnames instead of IP that is)
a) how DNS is configured server side for your host.
Cloudflare is handling the DNS and the FQDN resolves to the correct IP
I have also whitelisted Cloudflares IPs
https://www.cloudflare.com/ips-v4
b) how DNS is configured client side.
Client side is an Android phone that gets it's DNS from the router.
It can no longer navigate to the control panel via FQDN
c) are you using simple hostname or fqdn?
FQDN
d) is your client software DNS aware?
Yes
e) do you have a hosts file configured?
NO! I'm adding IP FQDN and rebooting
f) is the client aware of the hosts file?
are your tests from a client consistent? for instance, when you say you can access the control panels via hostname but not with a sip phone, is this the same client? or two separate devices?
Due to the fact that I can no longer navigate to the web based control panel via FQDN but I can ping it from my network I would say it should narrow down the causes.
One problem, I am very not familiar with administering IPTables.
I'm used to using cpanel / whm and CSF
I rebooted and realized that only phone seems to be having the issue because Kayako can login from same network using FQDN