其他開發技巧

    內容表格
    沒有標頭

    版本為 20:41, 20 Nov 2024

    到這個版本。

    返回到 版本存檔.

    查閱目前版本

    Function - QUEUEVARIABLES()

    註:必須編輯 queues.conf,詳細請參閱 http://www.voip-info.org/wiki/view/A...ig+queues.conf

    setqueueentryvar=yes

    // 取得 Queue 的各種參數

    ; Werte fuer die Queue "techsupport" abfragen:
    exten => 123,1,Set(err=${QUEUE_VARIABLES(techsupport)})
    exten => 123,n,Verbose(1,the strategy of the queue: ${QUEUESTRATEGY})
    exten => 123,n,Verbose(1,maxmimum number of calls allowed: ${QUEUEMAX})
    exten => 123,n,Verbose(1,number of calls currently in the queue: ${QUEUECALLS})
    exten => 123,n,Verbose(1,number of completed calls for the queue: ${QUEUECOMPLETED})
    exten => 123,n,Verbose(1,number of abandoned calls: ${QUEUEABANDONED})
    exten => 123,n,Verbose(1,current average hold time: ${QUEUEHOLDTIME})
    exten => 123,n,Verbose(1,queue service level: ${QUEUESRVLEVEL})
    exten => 123,n,Verbose(1,current service level performance: ${QUEUESRVLEVELPERF})
    exten => 123,n,Hangup()
    
    Powered by MindTouch Core