
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
Built on the official Debian 13 (trixie) slim variant for a minimal footprint.
Construída sobre a variante oficial Debian 13 (trixie) slim para um footprint mínimo.
This Docker image contains Asterisk 22.8-cert built from official sources.
Esta imagem Docker contém o Asterisk 22.8-cert compilado a partir das fontes oficiais.
Copyright and authorship of Asterisk belong to the Asterisk project (Sangoma and contributors).
Copyright e autoria do Asterisk pertencem ao projeto Asterisk (Sangoma e contribuidores).
Full Asterisk license text is included in the image (e.g., /usr/src/asterisk-certified-22.8-cert1/COPYING).
O texto completo da licença do Asterisk está incluído na imagem (ex: /usr/src/asterisk-certified-22.8-cert1/COPYING).
I will write proper documentation for this project, but first I need to update omladalan/irc-pgbouncer to make the project elegant.
Irei escrever uma documentação digna para este projeto, mas antes preciso atualizar o omladalan/irc-pgbouncer para o projeto ficar elegante.
/examples/docker-compose/
It is necessary to give 1777 permission to the folder ./docker-compose-files/irc-pgbouncer because I did not properly implement the socket permission in the image omladalan/irc-pgbouncer.
É necessário dar permissão 1777 para a pasta ./docker-compose-files/irc-pgbouncer pois eu não implementei corretamente na imagem omladalan/irc-pgbouncer a permissão do socket.
pythonsudo chmod 1777 ./docker-compose-files/irc-pgbouncer
Configure the environment files .env.asterisk, .env.pgbouncer, and .env.postgres.
Configurar os arquivos de ambiente .env.asterisk, .env.pgbouncer e .env.postgres.
And finally, bring up the stack.
E por último subir a stack.
pythondocker compose up -d
Example SQL script to insert a dial plan and two extensions for testing.
Exemplo de script sql para inserir um dial plan e dois ramais para teste.
pythoninsert into extensions_config (cat_metric, var_metric, commented, filename, category, var_name, var_val) values(1, 1, 0,'extensions.conf', 'testing', 'exten', '_1XX,1,NoOp()'), (1, 2, 0,'extensions.conf', 'testing', 'same', 'n,Dial(PJSIP/${EXTEN}, 20)'); insert into ps_transports (id, bind, protocol, tcp_keepalive_enable) values('transport-udp', '0.0.0.0', 'udp', null); insert into ps_aors (id, max_contacts, remove_existing) values (101, 1, 'yes'); insert into ps_aors (id, max_contacts, remove_existing) values (102, 1, 'yes'); insert into ps_auths (id, auth_type, password, username) values (101, 'userpass', '101', 101); insert into ps_auths (id, auth_type, password, username) values (102, 'userpass', '102', 102); insert into ps_endpoints (id, transport, aors, auth, context, disallow, allow, direct_media, dtmf_mode, callerid, trust_id_outbound) values (101, 'transport-udp', '101', '101', 'testing', 'all', 'ulaw', 'no', 'rfc4733', '101 <101>', 'yes'); insert into ps_endpoints (id, transport, aors, auth, context, disallow, allow, direct_media, dtmf_mode, callerid, trust_id_outbound) values (102, 'transport-udp', '102', '102', 'testing', 'all', 'ulaw', 'no', 'rfc4733', '102 <102>', 'yes');
The Python script in the script folder was implemented so that when a call ends, the recording is sent to an S3 repository. I will explain how it works in the next version of the documentation.
O script python que está na pasta script foi implementado para quando encerrar uma ligação, a gravação seja enviada para um repostório S3, vou esplicar como funciona na próxima versão da documentação.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务