Asterisk 关于抢接问题

Asterisk 关于抢接问题

每个分机在设置的时候都会给他分配一个呼叫组和抢接组,抢接组对应于呼叫组。

呼叫组:分机振铃时的组

抢接组:允许抢接振铃分机的组

例如:

分机A:呼叫组1

              抢接组2

分机B:呼叫组3

              抢接组1

对于以上分机A和B的配置,当分机A振铃时,分机B能够抢接分机A,但分机B振铃时,分机A不能抢接分机B,也就是说分机B的抢接组1只能抢接那些呼叫组为1的振铃分机。

 

如果某个分机的抢接组设置为1-3,那么这个分机就能抢接呼叫组为1、2、3中的任何振铃分机。

 

抢接组还可以设置为如下值:

1-3,6

那么这个分机就可以抢接呼叫组为1、2、3、6里面的任何振铃分机。

Feature description

Call Pickup enables the user to "collect" acall ringing on another phone. In Asterisk, there are two kinds of Call Pickup:

· Group Call Pickup

allows topick up a call from any ringing extension that is in the same pickup group asyou. If multiple phones are ringing, you have no control over which call youcollect.

· Directed Pickup

allows topick up a call at a specific extension. This is commonly used in combinationwith the Busy Lamp Field (BLF).

Note: Please read the article ExtensionMonitoring and configure your Asterisk properly to use DirectedPickup. A phone can only direct a pickup to extensions it is monitoring.

Configure Asterisk

Group Call Pickup

To use Group Call Pickup, ensure that all SIP peers(means: snom phones) have set "pickupgroup" and "callgroup"accordingly either in sip.conf or in the realtime configurationdatabase. All extensions which have the "pickupgroup" matching with aringing extensions "callgroup" can pickup this call. Extensions with"pickupgroup" not matching the "callgroup" of the ringingextension are unable to pickup the call.

In this example there are three phones in the sip.conf:

[31]

callgroup=1

pickupgroup=1-3

...

 

[32]

callgroup=2

pickupgroup=1

...

 

[33]

callgroup=3

pickupgroup=2

...

Note:

·   Extension 31 can pickup calls for 32and 33, because it has all the available call groups defined as its pickupgroup.

·   Extension 32 can only pickup callsfor 31, because it has pickupgroup only set to "1" and 31 is the onlyextension in callgroup "1".

·   Extension 33 can only pickup callsfor 32, because it has pickupgroup=2 and 32 is the only extension incallgroup=2.

The usage is easy:
dial *8 to pickup any ringing call that your extension is allowed to pickup. Ifmultiple extensions are ringing, you have no control over wich one you collect.
The pickup code (*8) can be changed in the features.conf. The default is"*8".

You can configure a speeddial to "*8" on asoft-key, to use group pickup in daily work.

 

DirectedPickup

To use Directed Pickup within your Asterisk, dialplanis needed to execute the Pickup application. Here is an example implementationfor extensions.conf:

[internal]

exten =>_*8X.,1,Pickup(${EXTEN:2}@internal)

exten =>_*8X.,2,Pickup(2244${EXTEN:2}@from-pstn)

 

; internal calls

exten => _XX,1,Dial(SIP/${EXTEN})

; outbound calls

exten =>_XXX.,1,Dial(${CHAN_OUTBOUND}/{EXTEN})

 

[from-pstn]

; inbound calls

exten =>22440,1,Macro(company-ivr)

exten =>_2244XX.,1,Dial(SIP/${EXTEN:4})

Note:

·        The extension in this example is "*8X.", because "*8"is the call code for Group Call Pickup, a feature in Asterisk. That is why thisdialplan only match extensions which append a number to this pickup code. Thatway, it's possible to use both directed and group call pickup with the samedialcode.

·        There are 2 different priorities:

o   the first one tries to pick up an extension call that was dialled internally.If there is no match, Asterisk continues to the next line.

o   the second one tries to pick up a call that comes from the PSTN.

o   when matching calls from PSTN, you need to pickup the actually matcheddialplan extension. In this example 2244 is our base number followed by theextension.

·        The matching extensions for the calls to the Pickup-Application are alsodisplayed for a better understanding. Only the first 3 lines of example arereally needed for Pickup.

Configure snom phones

snom 3xx

Firmware version <= 7.1.30

Configure a Function Key with Type"Extension" for the extension you want to monitor and append thepickup string "|*8" to the content of the "Number" field.

e.g. If you have a button configured with Button Type"Extension" and Number "<31@registrar>" to monitorextension 31, change the value to "<31@registar>|*8"

Then, if the Extension enters "Ringing"state, the LED beside the button will start blinking. When you press theblinking button, the phone dials "*831" instead of "31" andexecutes the pickup in the Asterisk dialplan.

Firmware version >= 7.1.33

Configure a Function Key with Type"BLF" for the extension you want to monitor and append the pickupstring "|*8" to the content of the "Number" field.

e.g. If you have a button configured with Button Type"BLF" and Number "<31@registrar>" to monitorextension 31, change the value to "<31@registar>|*8"

Then, if the Extension enters "Ringing"state, the LED beside the button will start blinking. When you press the blinkingbutton, the phone dials "*831" instead of "31" and executesthe pickup in the Asterisk dialplan.

Firmware version 6.5.18

Firmware version 6.x does not have this feature, youhave to dial *8 or *831 (where 31 is the extension) manually. (or assing it toa key)

snom m3

snom m3 does not support Call Pickup, but you couldstill dial *831 manually to pickup an incoming call for extension 31. (*8 +extension number)

To set your handset to DND mode, go to the Web UserInterface under "Telephony Settings" > section "OutgoingIdentity to be used for:" > "DND". Set this option to"DND". 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值