Problem Description
If the user’s line is permanent busy even though the user is not active in a call, the cause may be a stuck call. In Wireshark, you often see a "Busy" response when the user is called and the call is rejected by the XCC.
This guide describes how stuck calls can be removed via the Freeswitch CLI. If this behavior occurs more frequently in your environment, please install the latest releases and patches. If that does not help, please contact our support.
Step-by-Step Instructions
| OS | Procedure |
| Windows (local Freeswitch) |
|
| Linux (Linux satellite) |
|
Once you are on the fs_cli console, you can enter the following command to show the active calls:
show callsIf necessary, search for the call that should be terminated and note its “uuid”. The following command can be used to terminate a specific call.
Replace xxxx with the uuid mentioned above.
uuid_kill xxxxAlternative, you can terminate all existing calls using:
hupallYou can exit the fs_cli console with the following command:
/quitPowerShell Script – Display Existing Calls
Instead of the command mentioned above (show calls), a PowerShell script can now be used to find the uuid more easily.
https://csmftp.c4b.de/KB/XCC_Calls.ps1
Instructions:
- Save the script in a directory on the XPhone Connect Server machine (e.g.: C:\temp\)
- Open the PowerShell console.
- Execute the script as follows (adjust the path in the command as needed):
Execution for local XCC:
C:\temp\XCC_Calls.ps1 -OutputFile "C:\temp\calls.txt"Execution for external XCC:
C:\temp\XCC_Calls.ps1 -OutputFile "C:\temp\calls.txt" -SatelliteIP "[Satellite IP]"| Note: The file specified under OutputFile does not need to exist; it will be created automatically if it does not. It is important that write permissions are available in the directory where the file is to be created. |
When you open the output file generated by the PowerShell script and search for the number of the busy line, you will find the uuid along with additional information.
If you open the output file with Notepad++ and have the "JSON Tools" plugin installed, you can make the file easier to read with just a few clicks using the "Pretty Print" function.
Comments
0 comments
Article is closed for comments.