asterisk Queue_log 文件定义

基于Asterisk构建Web呼叫中心:从架构设计到核心功能实现 企业通信系统是现代商业运营的核心基础设施之一,其底层依赖于SIP、RTP等成熟的网络通信协议,通过信令交换与媒体流传输实现实时音视频通信。在技术实现上,开源PBX(专用交换机)软件如Asterisk,凭借其高度的模块化与灵活性,成为构建定制化通信解决方案的基石。其技术价值在于,开发者能够深入通信协议栈底层,结合Web技术栈,将复杂的电话交换功能封装为易用的Web服务,从而高效地搭建起高并发、可扩展的呼叫中心系统。这一模式广泛应用于客户服务、电话销售、远程支持等需要大规模、可管理外呼与呼入业务的场景。本文聚焦 阅读详情

  原文请参考一下连接:

http://www.voip-info.org/wiki/view/Asterisk+log+queue_log

 

Asterisk log queue_log

This is a straight copy of the queue_log documentation distributed with asterisk

Note: Updated with 1.4 information. Note that the TRANSFER event has now 4 parameters. Check your queue_log to DB scripts to see if you are uploading this important new parameter for your statistics.

Queue Log Information
=====================

In order to properly manage ACD queues, it is important to be able to
keep track of details of call setups and teardowns in much greater detail
than traditional call detail records provide. In order to support this,
extensive and detailed tracing of every queued call is stored in the
queue log, located (by default) in /var/log/asterisk/queue_log.

These are the events (and associated information) in the queue log:

ABANDON(position|origposition|waittime)
The caller abandoned their position in the queue. The position is the
caller's position in the queue when they hungup, the origposition is
the original position the caller was when they first entered the
queue, and the waittime is how long the call had been waiting in the
queue at the time of disconnect.

AGENTDUMP
The agent dumped the caller while listening to the queue announcement.

AGENTLOGIN(channel)
The agent logged in. The channel is recorded.

AGENTCALLBACKLOGIN(exten@context)
The callback agent logged in. The login extension and context is recorded.

AGENTLOGOFF(channel|logintime)
The agent logged off. The channel is recorded, along with the total time
the agent was logged in.

AGENTCALLBACKLOGOFF(exten@context|logintime|reason)
The callback agent logged off. The last login extension and context is
recorded, along with the total time the agent was logged in, and the
reason for the logoff if it was not a normal logoff
(e.g., Autologoff, Chanunavail)

COMPLETEAGENT(holdtime|calltime|origposition)
The caller was connected to an agent, and the call was terminated normally
by the *agent*. The caller's hold time and the length of the call are both
recorded. The caller's original position in the queue is recorded in
origposition.

COMPLETECALLER(holdtime|calltime|origposition)
The caller was connected to an agent, and the call was terminated normally
by the *caller*. The caller's hold time and the length of the call are both
recorded. The caller's original position in the queue is recorded in
origposition.

CONFIGRELOAD
The configuration has been reloaded (e.g. with asterisk -rx reload)

CONNECT(holdtime|bridgedchanneluniqueid)
The caller was connected to an agent. Hold time represents the amount
of time the caller was on hold. The bridged channel unique ID contains
the unique ID of the queue member channel that is taking the call. This
is useful when trying to link recording filenames to a particular
call in the queue.

ENTERQUEUE(url|callerid)
A call has entered the queue. URL (if specified) and Caller*ID are placed
in the log.

EXITEMPTY(position|origposition|waittime)
The caller was exited from the queue forcefully because the queue had no
reachable members and it's configured to do that to callers when there
are no reachable members. The position is the caller's position in the
queue when they hungup, the origposition is the original position the
caller was when they first entered the queue, and the waittime is how
long the call had been waiting in the queue at the time of disconnect.

EXITWITHKEY(key|position)
The caller elected to use a menu key to exit the queue. The key and
the caller's position in the queue are recorded.

EXITWITHTIMEOUT(position)
The caller was on hold too long and the timeout expired.

QUEUESTART
The queueing system has been started for the first time this session.

RINGNOANSWER(ringtime)
After trying for ringtime ms to connect to the available queue member,
the attempt ended without the member picking up the call. Bad queue
member!

SYSCOMPAT
A call was answered by an agent, but the call was dropped because the
channels were not compatible.

TRANSFER(extension|context|holdtime|calltime)
Caller was transferred to a different extension. Context and extension
are recorded. The caller's hold time and the length of the call are both
recorded. PLEASE remember that transfers performed by SIP UA's by way
of a reinvite may not always be caught by Asterisk and trigger off this
event. The only way to be 100% sure that you will get this event when
a transfer is performed by a queue member is to use the built-in transfer
functionality of Asterisk.


Note: you can add custom events by calling: QueueLog

Fields in queue_log

  • epoch timestamp of listed action
  • uniqueid of call
  • queue name
  • bridged channel
  • event
  • event parameter 1
  • event parameter 2
  • event parameter 3

基于Asterisk构建Web呼叫中心:从架构设计到核心代码实现 软交换(PBX)是现代企业通信的核心,它负责处理电话的接续、路由等底层逻辑。Asterisk作为开源领域的标杆,提供了强大的软交换能力。通过其提供的Asterisk Manager Interface(AMI)接口,开发者可以构建上层应用,实现计算机电话集成(CTI),从而将通信能力与业务流程深度融合。这种技术方案的价值在于能够打造灵活、可定制且成本可控的企业通信系统,广泛应用于客服中心、电话营销、内部协作等场景。本文聚焦于如何利用AMI与WebSocket技术,从零开始构建一个功能完整的Web呼叫中心,涵 阅读详情

相关推荐

SUMO交通仿真中五种自适应信号控制算法实战对比

交通仿真是评估信号控制策略的重要手段,而固定配时方案在流量波动时往往力不从心。自适应信号控制通过实时感知车流状态动态调整绿灯相位,成为提升路口通行效率的关键技术。在SUMO这一开源仿真平台上,借助TraCI接口可以灵活读取车辆信息并控制信号灯,为强化学习与经典控制算法的落地提供了理想环境。DQN、DDPG等深度强化学习方法能够学习复杂策略,最大压力算法与自组织信号灯则以其无需训练、响应迅速的特点受到工程青睐。不同算法在低流量、高流量及过饱和场景下表现差异显著,合理选型需结合路口特征与部署成本。本文基于SUM

weixin_34122810的博客 495

Asterisk 开启日志,记录SIP信令

Asterisk 开启SIP日志

qq_42594619的博客 1241

STM32F103+EC800工业物联网终端设计与阿里云接入实战

在资源受限的嵌入式系统中,MCU端到端物联网数据链路构建是工业监控、农机追踪、车辆定位等场景的核心能力。其本质涉及低功耗协议栈调度、AT指令可靠交互、NMEA-0183帧解析、MQTT安全接入及云端规则联动等关键技术。尤其在STM32F103等无OS平台下,需兼顾实时性、稳定性与超低功耗——如EC800的PSM模式控制、GNSS冷启动优化、环形缓冲区状态机解析等,均直接影响量产可靠性。本文聚焦工业级落地细节,覆盖硬件选型依据、裸机驱动实现、阿里云IoT Platform物模型对接及多通道报警闭环,为农业物联

weixin_30908103的博客 417

【工具笔记】java 阿里云日志服务SLS查询工具

阿里云日志服务SLS查询工具

qq_22427047的博客 2936

asterisk 学习日志

刚刚接触asterisk,本日志对于asterisk学习人员很有一定帮助。

单片机技术入门与实战:从零基础到项目开发

单片机(MCU)作为嵌入式系统的核心组件,集成了CPU、内存和各种接口电路,广泛应用于智能家居、工业控制和汽车电子等领域。其工作原理基于实时控制和低功耗设计,通过定时器、中断系统和通信接口等功能模块实现各种控制任务。在物联网和智能硬件快速发展的背景下,掌握单片机开发技术成为电子工程师的重要技能。本文以STM32和PIC系列为例,详细解析单片机的基本概念、功能模块和选型指南,并分享从入门到项目实战的系统学习方法,帮助开发者在3-6个月内快速掌握这一关键技术。

weixin_35753291的博客 654

asterisk queue.conf 配置文件中文详解

asterisk queue.conf queue

语音通讯-软交换asterisk,Freeswitch 8516

ArcGIS图解建模工具与DEM提取山脊、山谷线(水文分析、表面分析)

参考汤国安、杨昕等编著的《地理信息系统空间分析实验教程第二版》 利用水文分析(流量)和表面分析(坡向变率)得到山脊和山谷线 文章目录1、基本概念1.1 正地形1.2 负地形正负地形的影响2、水文分析方法2.1 基本思想原理2.2 技术路线2.3 操作步骤2.3.1 正负地形的提取2.3.2 利用水文分析思想和工具提取研究区域的山脊线2.3.3 利用水文分析思想和工具提取研究区域的山谷线2.3.4 利用水文分析提取山脊线和山谷线结果3、表面分析方法3.1 基本思想原理3.2 技术路线3.3 操作步骤4、图.

fungis 1万+

Asterisk log dump

请参见: https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information  Step1: 修改 /etc/asterisk/logger.conf    在[logfiles]下面增加一行,前面是文件名,后面是要打印log的种类,例如:    myDebugLog => notice,warning,erro

xiaowei的专栏 1863

细节增强卷积DEConv详解及代码复现

这种预训练模型能够捕捉图像的基本特征,为后续的端到端训练提供良好的初始参数。例如,在RESIDE和RESIDE-6K数据集上的实验结果表明,使用MSPLCK模块的MixDehazeNet-L模型在RESIDE-IN数据集上首次超过了42dB的PSNR指标,且在所有数据集上均优于先前的方法。例如,在RESIDE和RESIDE-6K数据集上的实验结果表明,使用MSPLCK模块的MixDehazeNet-L模型在RESIDE-IN数据集上首次超过了42dB的PSNR指标,且在所有数据集上均优于先前的方法。

hasakie的博客 1912

lgv20刷twrp_LG港版v20 root

这是LG港版v20 root,整理了一下有关LG港版v20的官方固件包了,有没有需要的呢,这里把固件包整理一下也是方便大家以后好下载了,因此有一些机友还是不知道在哪里下载官方的rom包,在这里说的固件rom包也就是原版的系统包了,大家可以放心的使用,这些系统包也都是支持线刷的,大家下载下来解压出来根据里面的相关教程来操作就可以了,很简单的,如果你也需要的话就一起来看看吧。软件提示注意!! 此过程会...

weixin_33212263的博客 5387

asterisk设置调试级别和打开Pjsip的打印

asterisk调试需要,需打印详细的log,此时可以进行如下操作。 进入/usr/sbin目录,运行asterisk运行程序,并携带参数。 #cd /usr/sbin/ #./asterisk -cvvvvvddddd 运行asterisk命令后,会出现cli命令界面,输入下面命令。 #*CLI> core set verbose 5 #*CLI> core set d...

croop520的专栏 2077

ros2 humble cartographer 2D激光雷达建图

Cartographer是一个支持多平台和传感器配置的SLAM的系统。 本文主要讲述在ros2 humble系统上cartographer的安装方法,以及如何配置参数实现自己的ros2 bag包的离线建图。

weixin_43087302的博客 6939

Asterisk 1.8 队列 分析

上一篇文章 讨论了 invite请求最终  走到 dialplan,走到拨号方案后  具体做什么动作由用户决定,对于呼叫中心应用,队列是必不可少的功能,本篇文档分析一下主叫打进系统,走到dialplan后 进队列,呼叫坐席。。一切从队列开始。。。。queue(nama,timout,tT,,.),queue_exec为队列入口函数。首先解析 队列参数。AST_DECLARE_APP_ARGS(args,  AST_APP_ARG(queuename);  AST_APP_ARG(options);  AST

RTC hacker 4708

Camunda 7.x 系列【67】实战篇之撤销流程

撤销流程 即撤销当前已发起的流程实例。这是一个常见的需求,Camunda本身不提供直接的方法来撤销正在执行的流程,需要自定义处理逻辑。

记录知识、锤炼自我 1378

SAP FAGLFLEXT 是 SAP 新总账的核心余额表,存储多维度的汇总余额数据。核心结论:该表按 “科目 + 会计年度 + 期间 + 维度” 存储累计余额,字段可分为基础标识

FAGLFLEXT是SAP新总账的核心余额表,采用"科目+年度+期间+维度"结构存储多维汇总数据。其字段分为基础标识(科目、年度等)、维度细分(公司代码、利润中心等15个维度)、金额数值(本外币余额)、辅助控制(状态标识)四大类,支持新总账的灵活核算。该表通过凭证自动更新,与旧总账GLT0相比显著扩展了维度核算能力,各维度需在科目主数据或Ledger配置中启用才能使用。

金牌架构师 454

asterisk application commands

Asterisk - documentation of application commandsPage ContentsAsterisk Dialplan Commands General commands Billing Call management (hangup, answer, dial, etc) Caller presentation (ID, Name etc) ADSI Dat...

iteye_2678的博客 263

【RK3399 Ubuntu】基于rk3399的lxde的lubuntu桌面移植适配记录之第二步:最基本Ubuntu根文件系统的相关常用工具完善

文章目录1.使能系统网络管理服务1.1 安装驱动modules管理工具1.2 使能网络服务2.终端自动补全命令功能3.安装ssh服务4.安装系统信息查看工具5.安装resize工具6.安装lrzsz工具7.使能rc.local服务7.1 修改服务Install块7.2 使能rc.local.service服务7.3 添加执行脚本且赋予执行权限 续接上文,本文主要完善前面已经制作好的rootfs 1.使能系统网络管理服务 1.1 安装驱动modules管理工具 apt-get install kmod 1.

wang 恒 的博客 1387

Asterisk Dialplan命令中文翻译

  Asterisk的拨号计划命令,翻译自http://www.voip-info.org/wiki/view/Asterisk+-+documentation+of+application+commands 网上有个《asterisk app命令中文翻译》,版本比较老,内容更像是软件翻译的。我参考了下,并根据voip-info.org现有新版本做了些修正。由于内容很多名词比较专业,翻译的不够...

whatsyourname的专栏 259

VB摄像头监控

该VB模块可对摄像头捕获的画面进行录像等,可在创建的窗口进行控制

数学建模模型总结

这是本人在两年内准备参加数学建模竞赛搜集到的模型资料,已经经过了本人的筛选和整理,希望能够对准备参加数学建模竞赛的学弟学妹们提供一些帮助!

风语者录音系统(sonicall)更改录音文件命名

公司的录音系统坏了,要

2万+

文档:亲测可用解决vnc灰屏,黑屏,鼠标大黑叉情况

主要解决vnc-viewer灰屏,黑屏,鼠标大黑叉等现象,详细见文档。

freeswitch lua ivr大全

节点调度:根据配置流程自动执行不同节点(按键导航、播放语音、转队列、转坐席、留言、满意度等)DTMF 按键处理:支持用户按键输入、号码收集、规则校验(固定长度 / 区间 / 正则)呼入初始化:获取主 / 被叫号码、企业 ID、中继信息,加载对应 IVR 流程配置。通话控制:转接手机 / 分机、队列排队、VIP 优先、黑名单拦截、来电记忆。事件上报:实时推送 IVR 轨迹、通话状态、队列、留言等事件用于日志和监控。扩展能力:TTS 语音合成、短信发送、满意度调查、语音留言录制。ivr():节点分发核心函数。

qq_43245385的博客 244

lwip-2.0.3

lwip是瑞典计算机科学院(SICS)的Adam Dunkels 开发的一个小型开源的TCP/IP协议栈。实现的重点是在保持TCP协议主要功能的基础上减少对RAM 的占用。

OpenCallHub开源呼叫中心:企业级部署实战指南与300%投资回报率验证

在数字化转型浪潮中,企业客服系统面临双重挑战:既要满足客户日益增长的即时沟通需求,又要控制不断攀升的技术成本。传统商业呼叫中心动辄数十万授权费,云服务按分钟计费模式让成本难以预测,自建系统又面临SIP协议兼容性、高并发稳定性等复杂技术难题。OpenCallHub作为国内首个全功能开源呼叫中心解决方案,通过模块化架构和开放技术栈,帮助企业实现平均68%的成本节省,同时提供商业级功能完整度。 ##

gitblog_01032的博客 932

单线程单任务vs分类多任务:从Redis到YOLO的选型与调优

单线程与多任务是两种截然不同的并发与任务建模思想。单线程模型通过串行处理请求换取确定性与低开销,Redis 正是以此在内存级操作中实现高吞吐;多任务模型则通过共享特征与多个任务头联合优化,提升单位算力的信息产出,YOLO 多任务训练是典型代表。理解两者原理后,技术价值在于:单线程适合高频轻量、顺序敏感的场景,多任务适合图像检测、多标签分类等多目标联合建模。实际工程中需结合资源占用、延迟指标和任务间共享程度进行选型,并借鉴 Redis 与 YOLO 的实践避免常见坑点。

weixin_34290096的博客 473
上一篇: asterisk 使用Queue 的模式实现分机hunting 模式
下一篇: 基于asterisk 的计费和直拨实现---应用实例
Carryf
博客等级 码龄24年 106粉丝 123原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值