FreeSBC:3CX:CSTA Calls never ends
CSTA enabled phones can be controlled by 3CX Web Client. 3CX Server sends an INVITE message to registered phones immediately after they registered, for checking if CSTA is enabled or not. This INVITE is answered by the IPPhone with 200 OK. ProSBC thinks this is a real call and because of not receiving a BYE message this call never ends on ProSBC. This causing a license problem because for ProSBC it is a real call and it is a real session.
If you see csta+xml in the Content-Type and some csta related info in the Message Body, that means INVITE is CSTA INVITE from 3CX server to IPPhone.
To solve this problem we need to clear all IP Phone list in the 3CX -> Settings -> Parameters -> CSTA_USER_AGENTS parameter.
By clearing the CSTA_USER_AGENTS parameter, 3CX will not send any INVITE to test CSTA after the phone registered. But, clearing all the phones in that parameter cause 3CX Web Client to not control the IPPhones.