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". 

發佈了30 篇原創文章 · 獲贊 3 · 訪問量 1萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章