Elastix 显示座席的状态

Asterisk 提供了 hints 状态,用于提示座席的状态情况

 

一般用 core show hints 可以显示状态的情况,如下图:

PH-Elastix02*CLI> core show hints

 

    -= Registered Asterisk Dial Plan Hints =-

           *47*8004*801@ext-queues          : Queue:801             State:Unavailable     Watchers  0

                   6120@ext-local           : SIP/6120,CustomPrese  State:Unavailable     Watchers  0

                   6121@ext-local           : SIP/6121,CustomPrese  State:Unavailable     Watchers  0

                   6122@ext-local           : SIP/6122,CustomPrese  State:Unavailable     Watchers  0

                   6123@ext-local           : SIP/6123,CustomPrese  State:Unavailable     Watchers  0

                   6124@ext-local           : SIP/6124,CustomPrese  State:Idle            Watchers  0

                   6125@ext-local           : SIP/6125,CustomPrese  State:Unavailable     Watchers  0

           *46*8003*801@ext-queues          : qpause:801:Local/800  State:Unavailable     Watchers  0

                   6126@ext-local           : SIP/6126,CustomPrese  State:Unavailable     Watchers  0

                   6127@ext-local           : SIP/6127,CustomPrese  State:Unavailable     Watchers  0

                   6128@ext-local           : SIP/6128,CustomPrese  State:Unavailable     Watchers  0

 

 

或是对单个分机号的状态进行显示:

 

如:   core show hint 8003

       PH-Elastix02*CLI> core show hint 8003

                   8003@ext-local           : SIP/8003,CustomPrese  State:Ringing         Watchers  0

1 hint matching extension 8003

    -- Connected line update to SIP/8002-000000c0 prevented.

    -- SIP/8003-000000c1 answered SIP/8002-000000c0

PH-Elastix02*CLI> core show hint 8003

                   8003@ext-local           : SIP/8003,CustomPrese  State:InUse           Watchers  0

1 hint matching extension 8003

 

其状态有以下的状态:

The following list includes the possible values that may be returned back from the EXTENSION_STATE() function:

  •  UNKNOWN 未知状态

  •  NOT_INUSE 没有使用

  •  INUSE 通话中

  •  BUSY 繁忙

  •  UNAVAILABLE 不可用

  •  RINGING 响铃中

  •  RINGINUSE 响铃使用中

  •  HOLDINUSE 保持使用中

  •  ONHOLD 通话保持

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值