A SIP gateway to the PBX has been configured to use features such as AnyDevice. However, the SIP gateway remains on "yellow" after saving and does not turn "green". What could be the reason for this?
To check if the SIP gateway can connect to the PBX, check the SIP connection using the Wireshark program. Install Wireshark on the XPhone Connect server and follow the steps below:
Start Wireshark as administrator.
After a maximum of one minute, you should find packets sent from the XPhone Server to the PBX.
These packets have the following structure in the "Info" field:
Request: OPTIONS sip:*ip-address*:*port*;transport=udp
Only when these messages are answered by the PBX with a "Status: 200 OK" message does the connection exist.
If the "Request" is not followed by a response from the PBX, either the "Request" packet does not reach the PBX or the "200 OK" message does not reach the XPhone server.
In this case, the "Request" messages in Wireshark accumulate among each other (a new attempt to establish the connection should be made after 30 seconds at the latest).
Check the IP address configuration in your SIP gateway so that the packets are sent from XPhone Server to the correct destination, as well as the network so that for example no firewall intercepts the packets.
Please make sure in the configuration that the IP address 127.0.0.1 is not changed. The IP address must also not be changed to "localhost".
In addition, if there are multiple SIP gateways, it must be ensured that unique ports are assigned in each SIP gateway. Here, it is usually possible to count up:
Similar to the 1st cause described, a Wireshark trace should be opened. If no packets are sent from the XPhone server to the system even after waiting for a while, XCAPI is most likely involved and already occupies the local IP socket configured in the SIP gateway.
If this is the case, the SIP gateway cannot access its local interface and thus cannot be fully initiated.
To do this, change the local IP socket in the SIP gateway configuration in the connection settings to the PBX:
Either give the XPhone server a second IP address or configure a different port.
We recommend that you start with port 5064 when configuring the port, as this is certainly free (port 5061 could possibly still be occupied by XCAPI).
Important: Do not forget to consider this setting also on the PBX!