0

如何直接从 PostgreSQL 更改扩展密码?

我知道存储在 "v_extensions" 中的扩展,所以我从那里创建了 100 个分机并且所有的工作。

但是当我从 PostgreSQL 更改任何扩展的密码时,软件电话会告诉我“密码错误”。

我用它来更新 PostgreSQL 中“v_extensions”表中的扩展密码。

UPDATE "v_extensions" SET
"extension_uuid" = '8b4e9977-55a3-4b2f-b19e-5c6290265000',
"domain_uuid" = '795df1b6-e28d-4a00-9650-02bbb8f6bc17',
"extension" = '5000',
"number_alias" = NULL,
"password" = '1234567',
"accountcode" = NULL,
"effective_caller_id_name" = NULL,
"effective_caller_id_number" = NULL,
"outbound_caller_id_name" = NULL,
"outbound_caller_id_number" = NULL,
"emergency_caller_id_name" = NULL,
"emergency_caller_id_number" = NULL,
"directory_first_name" = NULL,
"directory_last_name" = NULL,
"directory_visible" = 'true',
"directory_exten_visible" = 'true',
"limit_max" = '5',
"limit_destination" = 'error/user_busy',
"missed_call_app" = NULL,
"missed_call_data" = NULL,
"user_context" = '165.232.75.8',
"toll_allow" = NULL,
"call_timeout" = '30',
"call_group" = NULL,
"call_screen_enabled" = 'false',
"user_record" = NULL,
"hold_music" = NULL,
"auth_acl" = NULL,
"cidr" = NULL,
"sip_force_contact" = NULL,
"nibble_account" = NULL,
"sip_force_expires" = NULL,
"mwi_account" = NULL,
"sip_bypass_media" = NULL,
"unique_id" = NULL,
"dial_string" = NULL,
"dial_user" = NULL,
"dial_domain" = NULL,
"do_not_disturb" = NULL,
"forward_all_destination" = NULL,
"forward_all_enabled" = NULL,
"forward_busy_destination" = NULL,
"forward_busy_enabled" = NULL,
"forward_no_answer_destination" = NULL,
"forward_no_answer_enabled" = NULL,
"forward_user_not_registered_destination" = NULL,
"forward_user_not_registered_enabled" = NULL,
"follow_me_uuid" = NULL,
"forward_caller_id_uuid" = NULL,
"follow_me_enabled" = NULL,
"follow_me_destinations" = NULL,
"enabled" = 'true',
"description" = NULL,
"absolute_codec_string" = NULL,
"force_ping" = NULL
WHERE "extension_uuid" = '8b4e9977-55a3-4b2f-b19e-5c6290265000';

当我使用 fusionpbx web GUI 时,更改完成没有问题,除此之外,当我更改密码时,我还需要查看其他地方吗?

4

1 回答 1

0

我找到了原因

缓存在 memecached 中的数据,应在任何更改后刷新

于 2021-01-14T11:13:05.210 回答