Board logo

標題: Multi-Line Implementation [打印本頁]

作者: ttmuskie    時間: 2012-1-3 11:04     標題: Multi-Line Implementation

Say I've 3 GV lines, gv1,gv2 and gv3. What I'm trying to do is dial out using gv1. If it is engaged, use gv2. And if it is still engaged, use gv3.

Any example of the best way to set them up? Thanks.
作者: ckleea    時間: 2012-1-3 11:33

回復 1# ttmuskie


    You may use the macro Superdial to do this. Try search this forum
作者: ttmuskie    時間: 2012-1-3 16:00

Thanks.

Btw, can't understand why the $[${GROUP_COUNT(OUTBOUND_GROUP)} (in below) knows if the channel is avail or not?
  1. [macro-trunkdial-failover-0.3a]
  2. exten = s,1, Set(GROUP()=OUTBOUND_GROUP)
  3. exten = s,2, Noop(${GROUP_COUNT(OUTBOUND_GROUP)})
  4. exten = s,3, GotoIf($[${GROUP_COUNT(OUTBOUND_GROUP)} > 1]?1-CHANUNAVAIL,1)
  5. exten = s,4,Set(CALLERID(num)=${IF($[${LEN(${CID_${CALLERID(num)}})} > 2]?
複製代碼

作者: ckleea    時間: 2012-1-3 21:00

You need to group them together before you use this function.




歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/) Powered by Discuz! 7.2