利用dialplan实现工号播报
很多人喜欢修改asterisk queue的源码实现拨号功能 这里我提供一个在dialplan中实现的思路 Queue中使用类似local/2000@my-agents/n作为坐席 而通过my-agents中我们再用Dial拨到实际的坐席上, 注意拨号时我们需要加上G参数 G([[context^]exten^]priority): If the call is answered, transfer the calling party to the specified <priority> and the called party to the specified <priority> plus one. 这样在通话接通后 主叫和被叫都会通过G跳转到新的Content, 在新的Content中 我们队主叫和被叫分别操作, 对于坐席可以先使用MOH hold住 , 对于主叫 使用playback播放工号, 然后用Bridge将链接刚刚被Hold的坐席 这样工号播报功能就实现了 |