Hotdesking Phone Logout issue

Hotdesking Phone Logout issue on Sangoma S500 and S505 Phones After Upgrading to PBXAct 17

Can you please explain bit more ? are you not able to logout ?
do you see any error in fwconsole debug output ? (specially in /var/log/httpd/access_log or /var/log/httpd/error_log )

Best Regards
Kapil

1 Like

Thank you for your reply.

The issue with logging out started occurring after we upgraded to PBXact 17.
The system is running on Debian 12.
We are using the phones in a call center environment with dynamic agents logging into hot-desking extensions.
Login is working fine without any issue.
These phones are shared by different agents based on their shift schedules.

Here’s a brief outline of how the system is set up:

  • Agents are assigned a table when they come to the office.
  • Each agent logs into their extension using their voicemail password, which is tied to the hot-desking extension for that desk.

Unfortunately, since the PBXact 17 upgrade, the agents are unable to log out properly, which seems to be affecting the hot-desking functionality.

We will be able to share the relevant logs (including any from /var/log/httpd/access_log and /var/log/httpd/error_log) tomorrow once we are back in the office. In the meantime, if there are any other logs or steps you’d like us to check, please let us know.

Looking forward to your assistance and suggestions.

or if you can take packet capture then take tcpdump and see what request phone is sending for logout and getting response back from the pbx.

If you do not find anything, then may be raise support ticket and share with me so we can work via support ticket.

Regards
Kapil

I have just tested HotDesking ( Login/Logout) works on me FreePBX17

1 Like

@kgupta just recognized, HTTP logs are missing at FreePBX17

do you mean logs are not coming to /var/log/apache2 path ?

i mean not in /var/log/httpd/
yes i can see in apache2 has logs…

Also HotDesking in not generating logs in /var/log/apache2/access.log

Hot Desking logs generating in /var/log/apache2/other_vhosts_access.log

127.0.1.1:82 192.168.1.13 - - [27/Jan/2025:17:03:10 +0000] "GET /applications.php/endpoint/main?token=f0ddb441-e693-4dea-9d0b-52c037ec5088&user=1001 HTTP/1.1" 200 869 "-" "Sangoma S705 3.0.4.91 00:50:58:51:4d:0e"
127.0.1.1:82 192.168.1.13 - - [27/Jan/2025:17:03:15 +0000] "GET /applications.php/endpoint/logout?user=1001&token=f0ddb441-e693-4dea-9d0b-52c037ec5088 HTTP/1.1" 200 48402 "-" "Sangoma S705 3.0.4.91 00:50:58:51:4d:0e"
127.0.1.1:84 192.168.1.13 - - [27/Jan/2025:17:03:19 +0000] "GET /factory0705.bin HTTP/1.1" 404 397 "-" "Sangoma S705 3.0.4.91 00:50:58:51:4d:0e"
127.0.1.1:84 192.168.1.13 - - [27/Jan/2025:17:03:19 +0000] "GET /cfg0705.xml HTTP/1.1" 200 1022 "-" "Sangoma S705 3.0.4.91 00:50:58:51:4d:0e"
127.0.1.1:84 192.168.1.13 - - [27/Jan/2025:17:03:20 +0000] "GET /005058514d0e.cfg HTTP/1.1" 404 397 "-" "Sangoma S705 3.0.4.91 00:50:58:51:4d:0e"
127.0.1.1:84 192.168.1.13 - - [27/Jan/2025:17:03:20 +0000] "GET /cfg005058514d0e HTTP/1.1" 404 397 "-" "Sangoma S705 3.0.4.91 00:50:58:51:4d:0e"
127.0.1.1:84 192.168.1.13 - - [27/Jan/2025:17:03:20 +0000] "GET /cfg005058514d0e.xml HTTP/1.1" 200 62698 "-" "Sangoma S705 3.0.4.91 00:50:58:51:4d:0e"
127.0.1.1:84 192.168.1.13 - - [27/Jan/2025:17:03:24 +0000] "GET /ringtones/formatted/ring4.bin HTTP/1.1" 404 397 "-" "Sangoma S705 3.0.4.91 00:50:58:51:4d:0e"
127.0.1.1:84 192.168.1.13 - - [27/Jan/2025:17:03:24 +0000] "GET /ringtones/formatted/ring5.bin HTTP/1.1" 404 397 "-" "Sangoma S705 3.0.4.91 00:50:58:51:4d:0e"
127.0.1.1:84 192.168.1.13 - - [27/Jan/2025:17:03:24 +0000] "GET /ringtones/formatted/ring6.bin HTTP/1.1" 404 397 "-" "Sangoma S705 3.0.4.91 00:50:58:51:4d:0e"
127.0.1.1:84 192.168.1.13 - - [27/Jan/2025:17:03:24 +0000] "GET /ringtones/formatted/ring7.bin HTTP/1.1" 404 397 "-" "Sangoma S705 3.0.4.91 00:50:58:51:4d:0e"
127.0.1.1:84 192.168.1.13 - - [27/Jan/2025:17:03:24 +0000] "GET /ringtones/formatted/ring8.bin HTTP/1.1" 404 397 "-" "Sangoma S705 3.0.4.91 00:50:58:51:4d:0e"
127.0.1.1:84 192.168.1.13 - - [27/Jan/2025:17:03:24 +0000] "GET /ringtones/formatted/ring9.bin HTTP/1.1" 404 397 "-" "Sangoma S705 3.0.4.91 00:50:58:51:4d:0e"
127.0.1.1:84 192.168.1.13 - - [27/Jan/2025:17:03:24 +0000] "GET /ringtones/formatted/ring10.bin HTTP/1.1" 404 397 "-" "Sangoma S705 3.0.4.91 00:50:58:51:4d:0e"
127.0.1.1:84 192.168.1.13 - - [27/Jan/2025:17:03:24 +0000] "GET /cfgXXNAXX-states.xml HTTP/1.1" 404 397 "-" "Sangoma S705 3.0.4.91 00:50:58:51:4d:0e"
127.0.1.1:84 192.168.1.13 - - [27/Jan/2025:17:03:26 +0000] "GET /sangoma/1/fw705.rom HTTP/1.1" 200 224440 "-" "Sangoma S705 3.0.4.91 00:50:58:51:4d:0e"
127.0.1.1:82 192.168.1.13 - - [27/Jan/2025:17:03:32 +0000] "GET /applications.php/endpoint/login?user=0000 HTTP/1.1" 200 1648 "-" "Sangoma S705 3.0.4.91 00:50:58:51:4d:0e"


+++
127.0.1.1:82 192.168.1.13 - - [27/Jan/2025:17:03:41 +0000] "GET /applications.php/endpoint/login?user=0000&token=f0ddb441-e693-4dea-9d0b-52c037ec5088&app_extension=&app_password= HTTP/1.1" 200 1648 "-" "Sangoma S705 3.0.4.91 00:50:58:51:4d:0e"
127.0.1.1:82 192.168.1.13 - - [27/Jan/2025:17:03:55 +0000] "GET /applications.php/endpoint/login?user=0000&token=f0ddb441-e693-4dea-9d0b-52c037ec5088&app_extension=1001&app_password=1001 HTTP/1.1" 200 50457 "-" "Sangoma S705 3.0.4.91 00:50:58:51:4d:0e" 

  1. /var/log/apache2/other_vhosts_access.log

User is 106

127.0.0.1:82 10.22.0.88 - - [28/Jan/2025:16:24:32 +0500] “GET /applications.php/endpoint/main?token=689af036-af49-4912-a741-b352dfd6143e&user=106 HTTP/1.1” 200 865 “-” “Sangoma S505 3.0.4.88 00:50:58:52:31:6e”
127.0.0.1:84 10.22.0.171 - pbxadmin [28/Jan/2025:16:26:56 +0500] “GET /factory0505.bin HTTP/1.1” 404 397 “-” “Sangoma S505 3.0.4.73 00:50:58:52:31:5e”
127.0.0.1:84 10.22.0.171 - pbxadmin [28/Jan/2025:16:26:57 +0500] “GET /cfg0505.xml HTTP/1.1” 200 723 “-” “Sangoma S505 3.0.4.73 00:50:58:52:31:5e”
127.0.0.1:84 10.22.0.171 - pbxadmin [28/Jan/2025:16:26:58 +0500] “GET /00505852315e.cfg HTTP/1.1” 404 397 “-” “Sangoma S505 3.0.4.73 00:50:58:52:31:5e”
127.0.0.1:84 10.22.0.171 - pbxadmin [28/Jan/2025:16:26:59 +0500] “GET /cfg00505852315e HTTP/1.1” 404 397 “-” “Sangoma S505 3.0.4.73 00:50:58:52:31:5e”
127.0.0.1:84 10.22.0.171 - pbxadmin [28/Jan/2025:16:26:59 +0500] “GET /cfg00505852315e.xml HTTP/1.1” 200 63970 “-” “Sangoma S505 3.0.4.73 00:50:58:52:31:5e”
127.0.0.1:84 10.22.0.171 - pbxadmin [28/Jan/2025:16:27:03 +0500] “GET /images/formatted/bg-sangoma-S505-Logo.jpg HTTP/1.1” 200 37963 “-” “Sangoma S505 3.0.4.73 00:50:58:52:31:5e”
127.0.0.1:84 10.22.0.171 - pbxadmin [28/Jan/2025:16:27:03 +0500] “GET /ringtones/formatted/ring4.bin HTTP/1.1” 404 397 “-” “Sangoma S505 3.0.4.73 00:50:58:52:31:5e”
127.0.0.1:84 10.22.0.171 - pbxadmin [28/Jan/2025:16:27:03 +0500] “GET /ringtones/formatted/ring5.bin HTTP/1.1” 404 397 “-” “Sangoma S505 3.0.4.73 00:50:58:52:31:5e”
127.0.0.1:84 10.22.0.171 - pbxadmin [28/Jan/2025:16:27:03 +0500] “GET /ringtones/formatted/ring6.bin HTTP/1.1” 404 397 “-” “Sangoma S505 3.0.4.73 00:50:58:52:31:5e”
127.0.0.1:84 10.22.0.171 - pbxadmin [28/Jan/2025:16:27:03 +0500] “GET /ringtones/formatted/ring7.bin HTTP/1.1” 404 397 “-” “Sangoma S505 3.0.4.73 00:50:58:52:31:5e”
127.0.0.1:84 10.22.0.171 - pbxadmin [28/Jan/2025:16:27:03 +0500] “GET /ringtones/formatted/ring8.bin HTTP/1.1” 404 397 “-” “Sangoma S505 3.0.4.73 00:50:58:52:31:5e”
127.0.0.1:84 10.22.0.171 - pbxadmin [28/Jan/2025:16:27:04 +0500] “GET /ringtones/formatted/ring9.bin HTTP/1.1” 404 397 “-” “Sangoma S505 3.0.4.73 00:50:58:52:31:5e”
127.0.0.1:84 10.22.0.171 - pbxadmin [28/Jan/2025:16:27:04 +0500] “GET /ringtones/formatted/ring10.bin HTTP/1.1” 404 397 “-” “Sangoma S505 3.0.4.73 00:50:58:52:31:5e”
127.0.0.1:84 10.22.0.171 - pbxadmin [28/Jan/2025:16:27:04 +0500] “GET /cfg181-states.xml HTTP/1.1” 404 397 “-” “Sangoma S505 3.0.4.73 00:50:58:52:31:5e”
127.0.0.1:84 10.22.0.171 - pbxadmin [28/Jan/2025:16:27:06 +0500] “GET /sangoma/1/fw505.rom HTTP/1.1” 404 397 “-” “Sangoma S505 3.0.4.73 00:50:58:52:31:5e”
127.0.0.1:82 10.22.0.99 - - [28/Jan/2025:16:30:15 +0500] “GET /applications.php/queues/agent?token=689af036-af49-4912-a741-b352dfd6143e&user=532 HTTP/1.1” 200 925 “-” “Sangoma S505 3.0.4.73 00:50:58:52:31:37”
127.0.0.1:82 10.22.0.99 - - [28/Jan/2025:16:30:17 +0500] “GET /applications.php/queues/agent?user=532&token=689af036-af49-4912-a741-b352dfd6143e&ignoreselection&action=login&selection=&actiondata=1111 HTTP/1.1” 200 925 “-” “Sangoma S505 3.0.4.73 00:50:58:52:31:37”
127.0.0.1:82 10.22.0.255 - - [28/Jan/2025:16:30:59 +0500] “GET /applications.php/queues/agent?token=689af036-af49-4912-a741-b352dfd6143e&user=537 HTTP/1.1” 200 925 “-” “Sangoma S505 3.0.4.73 00:50:58:52:31:6a”
127.0.0.1:82 10.22.0.255 - - [28/Jan/2025:16:31:01 +0500] “GET /applications.php/queues/agent?user=537&token=689af036-af49-4912-a741-b352dfd6143e&ignoreselection&action=pause&selection=&actiondata=1111 HTTP/1.1” 200 925 “-” “Sangoma S505 3.0.4.73 00:50:58:52:31:6a”
127.0.0.1:82 10.22.0.112 - - [28/Jan/2025:16:32:25 +0500] “GET /applications.php/queues/agent?token=689af036-af49-4912-a741-b352dfd6143e&user=582 HTTP/1.1” 200 925 “-” “Sangoma S505 3.0.4.73 00:50:58:52:30:ef”
127.0.0.1:82 10.22.0.112 - - [28/Jan/2025:16:32:27 +0500] “GET /applications.php/queues/agent?user=582&token=689af036-af49-4912-a741-b352dfd6143e&ignoreselection&action=login&selection=&actiondata=1111 HTTP/1.1” 200 925 “-” “Sangoma S505 3.0.4.73 00:50:58:52:30:ef”
127.0.0.1:82 10.22.0.88 - - [28/Jan/2025:16:37:26 +0500] “GET /applications.php/endpoint/logout?user=106&token=689af036-af49-4912-a741-b352dfd6143e HTTP/1.1” 500 117781 “-” “Sangoma S505 3.0.4.88 00:50:58:52:31:6e”
127.0.0.1:82 10.22.0.88 - - [28/Jan/2025:16:37:29 +0500] “GET /applications.php/endpoint/logout?user=106&token=689af036-af49-4912-a741-b352dfd6143e HTTP/1.1” 500 117795 “-” “Sangoma S505 3.0.4.88 00:50:58:52:31:6e”
127.0.0.1:82 10.22.0.88 - - [28/Jan/2025:16:37:30 +0500] “GET /applications.php/endpoint/logout?user=106&token=689af036-af49-4912-a741-b352dfd6143e HTTP/1.1” 500 117791 “-” “Sangoma S505 3.0.4.88 00:50:58:52:31:6e”
127.0.0.1:82 10.22.0.88 - - [28/Jan/2025:16:37:32 +0500] “GET /applications.php/endpoint/logout?user=106&token=689af036-af49-4912-a741-b352dfd6143e HTTP/1.1” 500 117785 “-” “Sangoma S505 3.0.4.88 00:50:58:52:31:6e”
127.0.0.1:82 10.22.0.88 - - [28/Jan/2025:16:37:35 +0500] “GET /applications.php/endpoint/logout?user=106&token=689af036-af49-4912-a741-b352dfd6143e HTTP/1.1” 500 117791 “-” “Sangoma S505 3.0.4.88 00:50:58:52:31:6e”
127.0.0.1:82 10.22.0.88 - - [28/Jan/2025:16:37:38 +0500] “GET /applications.php/endpoint/logout?user=106&token=689af036-af49-4912-a741-b352dfd6143e HTTP/1.1” 500 117796 “-” “Sangoma S505 3.0.4.88 00:50:58:52:31:6e”
127.0.0.1:82 10.22.0.88 - - [28/Jan/2025:16:37:39 +0500] “GET /applications.php/endpoint/logout?user=106&token=689af036-af49-4912-a741-b352dfd6143e HTTP/1.1” 500 117781 “-” “Sangoma S505 3.0.4.88 00:50:58:52:31:6e”
127.0.0.1:82 10.22.0.88 - - [28/Jan/2025:16:37:40 +0500] “GET /applications.php/endpoint/logout?user=106&token=689af036-af49-4912-a741-b352dfd6143e HTTP/1.1” 500 117790 “-” “Sangoma S505 3.0.4.88 00:50:58:52:31:6e”
127.0.0.1:82 10.22.0.88 - - [28/Jan/2025:16:37:41 +0500] “GET /applications.php/endpoint/logout?user=106&token=689af036-af49-4912-a741-b352dfd6143e HTTP/1.1” 500 117790 “-” “Sangoma S505 3.0.4.88 00:50:58:52:31:6e”
127.0.0.1:82 10.22.0.88 - - [28/Jan/2025:16:37:42 +0500] “GET /applications.php/endpoint/logout?user=106&token=689af036-af49-4912-a741-b352dfd6143e HTTP/1.1” 500 117797 “-” “Sangoma S505 3.0.4.88 00:50:58:52:31:6e”

  1. We raised 10 days ago

I can see your Phone Firmware is 1 version old. try to upgrade 1st.
my test S705 is 3.0.4.91

We have updated the latest firmware and retried the process, but the issue still persists. Additionally, we attempted to configure the P320 phone, but it is displaying a different error: “Logout not allowed. Kindly enable Hot Desk Emergency CID for this extension with MAC address.”

We are encountering an error when updating the Hotdesking Emergency CID via EPM.

PDOException thrown with message “SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation ‘=’”

Stacktrace:
#5 PDOException in /var/www/html/admin/modules/endpoint/Emergency.class.php:215
#4 PDOStatement:execute in /var/www/html/admin/modules/endpoint/Emergency.class.php:215
#3 FreePBX\modules\Endpoint\Emergency:checkExtension in /var/www/html/admin/modules/endpoint/Emergency.class.php:34
#2 FreePBX\modules\Endpoint\Emergency:addCIDMapping in /var/www/html/admin/modules/endpoint/views/page.endpoint.php:1643
#1 unknown in /var/www/html/admin/modules/endpoint/page.endpoint.php:10
#0 include in /var/www/html/admin/config.php:658

Hi @delphin1
This is different issue. You must have Disabled or not upgraded some Modules. My suggestion is check your all modules and upgrade it. You can do that from WebGUI or from Linux CLI.