7. General description

该国际标准供实施者、学者和应用程序员使用,包含大量解释性材料。标准分为前言、语言概述、语法约束与语义等部分,给出示例、参考和注释。部分条款为规范性,部分为条件规范性,还说明了信息性文本的标识方式。
This clause is informative.
This International Standard is intended to be used by implementers,
academics, and application
programmers. As such, it contains a considerable amount of explanatory
material that, strictly speaking, is
not necessary in a formal language specification.
This standard is divided into the following subdivisions:
1. Front matter (clauses 1.7);
2. Language overview (clause 8);
3. The language syntax, constraints, and semantics (clauses 9.25);
4. Annexes
Examples are provided to illustrate possible forms of the constructions
described. References are used to
refer to related clauses. Notes are provided to give advice or guidance to
implementers or programmers.
Annexes provide additional information and summarize the information
contained in this International
Standard.
Clauses 2.5, 9.24, the beginning of 25, and the beginning of D form a
normative part of this standard; all of
clause 25 with the exception of the beginning is conditionally normative;
and Brief history, clauses 1, 6.8,
annexes A, B, C, and most of D, notes, examples, and the index are
informative.
Except for whole clauses or annexes that are identified as being
informative, informative text that is
contained within normative text is indicated in two ways:
1. [Example: The following example . code fragment, possibly with some
narrative . end example]
2. [Note: narrative . end note]
End of informative text.
你正在 Openfire 的 **Fastpath 插件管理界面**中尝试创建一个新的 **工作组(Workgroup)**,这是实现客服系统“分组接待”的核心功能。下面我将 **详细解释每个字段的含义、填写规范、常见错误及最佳实践**,并提供一个完整的示例。 --- ## 🧩 一、表单字段详解 | 字段 | 说明 | |------|------| | **Workgroup Name** | 工作组的名称(JID 的本地部分),如 `sales`、`support` | | **@workgroup.localhost** | 域名部分,通常为 `@workgroup.<your-domain>` | | **Members** | 初始成员列表(客服账号),逗号分隔 | | **Description** | 对该工作组的描述,可选 | > ⚠️ 提交后会生成一个完整的 JID:`<name>@workgroup.<server-domain>` --- ## ✅ 二、关键字段填写指南 ### 1. **Workgroup Name(必填)** - **作用**:定义工作组的唯一标识符 - **格式要求**: - 小写字母、数字、下划线 `_`、连字符 `-` - 不能包含空格或特殊字符(如 `@`, `#`, `$`) - **推荐命名**: ```text sales → 售前咨询 support → 售后服务 tech → 技术支持 finance → 财务问题 ``` > ✅ 示例:`support` 最终 JID 将是: 👉 `support@workgroup.localhost`(如果服务器域是 localhost) --- ### 2. **@workgroup.localhost(自动生成)** - 这是 **XMPP 地址的域名部分** - 默认使用 Openfire 的服务器名称(可在 **Server → Server Settings → Server Name** 查看) - 如果你的 Openfire 域名为 `im.yourcompany.com`,则完整地址为: ``` support@workgroup.im.yourcompany.com ``` > 🔁 修改服务器域名方法: > - 进入 Openfire 控制台 → Server → Server Settings → Server Name > - 改为 `im.yourcompany.com` 并重启服务 --- ### 3. **Members(成员列表)** - **作用**:指定哪些用户可以作为坐席处理该组的会话请求 - **格式**: - 使用 **完整 JID**(username@domain) - 多个成员用 **英文逗号 + 空格** 分隔 - **示例**: ```text kefu1@localhost, kefu2@localhost ``` 或(如果你改了 domain): ```text kefu1@im.yourcompany.com, kefu2@im.yourcompany.com ``` > ❗ 注意: > - 用户必须已存在于 Openfire 中(在 Users & Groups 可查) > - 必须具有权限接收 Fastpath 请求(默认所有用户都可,除非限制) --- ### 4. **Description(描述)** - 非必填 - 用于内部说明,例如: ```text 负责处理客户售前咨询和商品推荐 ``` --- ## 🛠️ 三、完整创建步骤(图文流程) ### 步骤 1:进入创建页面 Openfire 后台 → Fastpath → Create Workgroup ### 步骤 2:填写表单 | 字段 | 输入值 | |------|--------| | Workgroup Name | `support` | | Members | `kefu1@localhost, kefu2@localhost` | | Description | `售后服务与退换货处理` | ✅ 提交 ### 步骤 3:验证是否创建成功 返回主页面: ``` Fastpath → View Workgroups ``` 你应该看到新条目: ``` Name: support Status: Waiting for member Members: 0/2 (表示两个成员都未上线) Queues: 1 Users in Queues: 0 ``` --- ## 🔄 四、后续配置(让客服真正可用) 仅仅创建 workgroup 不够,还需以下操作: ### ✅ 1. 客服登录 Spark 并安装 fastpath 插件 参考之前教程: - 下载 `fastpath.jar` - 放入 Spark 安装目录 `\plugins\` - 重启 Spark - 用 `kefu1` 登录 ### ✅ 2. 设置状态为 “Available” 登录 Spark 后: - 右键系统托盘图标 → Set Status → Available - 或点击底部小人图标切换为绿色 刷新 Workgroup 页面,状态应变为: ``` Status: Ready Members (Active/Total): 1/2 ``` --- ## 🧪 五、测试访客接入 打开浏览器访问: ```text http://your-openfire-ip:7070/fastpath?jid=support@workgroup.localhost ``` 填写表单并提交。 预期结果: - Spark 客服收到弹窗:“New chat request” - 点击 Accept 即可开始对话 --- ## 📌 六、常见错误与解决方案 | 错误现象 | 原因 | 解决方案 | |--------|------|-----------| | 创建失败提示“Invalid JID” | 成员账号格式不对 | 使用 `username@domain` 格式 | | 成员在线但显示“Waiting for member” | 未安装 fastpath.jar | 补装插件 | | 访客无法连接 | BOSH 服务未开启 | 检查 `http://server:7070/http-bind` 是否可访问 | | 中文乱码 | 编码问题 | 更新 Spark 到最新版 | | 提示“Service unavailable” | workgroup 不存在 | 检查拼写和域名 | --- ## 🏗️ 七、高级建议(生产环境) | 功能 | 推荐做法 | |------|----------| | 多技能组分流 | 创建多个 workgroup:<br>`sales@...`、`support@...` | | 自动分配策略 | 在 Fastpath 设置中选择:<br>- Round Robin<br>- Least Loaded | | 消息归档 | 安装 Monitoring Plugin 记录所有聊天 | | API 集成 | 使用 REST API 查询排队人数、主动推送消息 | | Web 客服面板 | 使用 `https://your-server:7443/fastpath/agent.jsp` 作为网页坐席入口 | --- ## ✅ 示例:创建一个“技术支持”工作组 | 字段 | 值 | |------|----| | Workgroup Name | `tech` | | Members | `kefu-tech1@localhost, kefu-tech2@localhost` | | Description | `负责解决技术故障和系统使用问题` | 访客链接: ```text http://192.168.1.100:7070/fastpath?jid=tech@workgroup.localhost ``` --- ## ✅ 总结:你现在应该怎么做? | 步骤 | 操作 | |------|------| | 1 | 确保已有客服账号(如 kefu1)存在于 Openfire | | 2 | 填写 Workgroup Name(如 `support`) | | 3 | 添加成员:`kefu1@localhost` | | 4 | 提交创建 | | 5 | Spark 安装 fastpath.jar 并登录 kefu1 | | 6 | 设置状态为 Available | | 7 | 测试访客链接是否能触发会话请求 | 完成以上步骤后,你的客服分组系统就正式运行了! ---
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值