-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Call Recording
-
Labels:None
-
ToDo:
community report: https://community.freepbx.org/t/on-demand-recording-for-extension-disabled-not-working/82166
When dialing the in-call feature code from the Zulu client, the permission setting for the extension is not honored. It will always toggle the recording.
/var/log/asterisk/freepbx_dbug
==> /var/log/asterisk/freepbx_dbug <==
[2022-03-25 14:09:57] [dbug.DEBUG]: 2022-Mar-25 14:09:57 /var/www/html/admin/modules/callrecording/bin/one_touch_record.php:346
[2022-03-25 14:09:57] [dbug.DEBUG]: Checking pickup extension
[2022-03-25 14:09:57] [dbug.DEBUG]: Checking this extension
[2022-03-25 14:09:57] [dbug.DEBUG]: Don't know what this exten is
[2022-03-25 14:09:57] [dbug.DEBUG]: Device is PJSIP/906006
[2022-03-25 14:09:57] [dbug.DEBUG]: This exten is
[2022-03-25 14:09:57] [dbug.DEBUG]: Checking on demand setting
The channel dialing the one touch feature code is identified as PJSIP/906006 so the one_touch_record.php script attempts to match that channel to a device in AstDB. But zulu devices are stored as:
CLI> database show DEVICE 906006/dial
/DEVICE/906006/dial : Local/906006@zulu-call
Since the channel does not match the dial string in AstDB, the user can't be identified, and the user permissions set in the GUI are not honored.