【发布时间】:2015-02-26 07:00:59
【问题描述】:
DEVICE_STATE(SIP/mypeer) 仅返回 UNAVAILABLE 和 NOT_INUSE,但不返回其他可用选项,例如 UNKNOWN、INUSE、BUSY、INVALID、RINGING、@9876543329@、@987645 @。
exten=>1,NoOp(SIP/mypeer has state ${DEVICE_STATE(SIP/mypeer)})
same=>2,ExecIf($[${DEVICE_STATE(SIP/mypeer)}=NOT_INUSE]?Goto(5):Goto(2))
在这里,我期待device_state 应该返回busy、ringing、inuse 或onholdmypeer,同时接到第二个电话,但我只收到UNAVAILABLE 和NOT_INUSE输出。
我已经设置了callcounter=yes 和call-limit=1000。我现在该怎么办?
【问题讨论】: