callgroup 與 pickupgroup

最後更新: 2015-07-22

前言

 

 * A call is placed in one or several call groups
 * A call comes to that Extension/Channel, it belongs to that Call Group
 * If a phone belongs in a pickup group that matches one of the call's call groups
 * call pickup typically only works WITHIN a technology
 * 0~63 groups
 * Default 係沒有 "call_group" 的

 

sip 的設定:

callgroup=1     ; 設定某一個 extension 在某 group
pickupgroup=1   ; 某 extension 可以拿某 callgroup 的電話

pjsip 的設定:

call_group=1
pickup_group=1

拿 call

zap channels: *8#
SIP channels: *8

sip.conf

; 500 及 501 可以互相 take call
[500]
callgroup=1
pickupgroup=1

[501]
callgroup=1
pickupgroup=1

; 502 可以拿 500 及 501 的 call
[502]
callgroup=2
pickupgroup=1,2

; 503 可以拿 500,501,502 的電話
[503]
callgroup=3
pickupgroup=1,2-5

Requesting to pickup a call is done by two basic methods

    - by dialplan using the Pickup or PickupChan applications.
    - by dialing the extension defined for pickupexten configured in features.conf.

features.conf

pickupexten = *8
pickupsound = beep
pickupfailsound = beeperr

 


ringing sequentially

exten = 1001,1,NoOp(Operator)
    same = n,Dial(PJSIP/509,15)
    same = n,Dial(PJSIP/510,15)
    same = n,Hangup

ring all-at-one

exten = 1002,1,NoOp(Operator)
    same = n,Dial(PJSIP/509&PJSIP/510,20)
    same = n,Playback(vm-nobodyavail)
    same = n,Hangup

 

 

Creative Commons license icon Creative Commons license icon