首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >修改扩展密码

修改扩展密码
EN

Stack Overflow用户
提问于 2020-12-27 21:47:58
回答 1查看 127关注 0票数 0

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

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

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

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

代码语言:javascript
运行
复制
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时,更改是没有问题的,当我更改密码时,还需要查看其他地方吗?

EN

回答 1

Stack Overflow用户

发布于 2021-01-14 11:13:05

我找到了原因

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

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/65470796

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档