Asterisk Project : Call Pickup
This page last changed on Sep 20, 2012 by rmudgett.
1. OverviewCall pickup allows you to answer an incoming call from another phone. Requesting to pickup a call is done by two basic methods. Which calls can be picked up is determined by configuration and dialplan. 2. Dialplan Applications and Functions2.1. Pickup ApplicationThe Pickup application has three ways to select calls for pickup. 2.2. PickupChan ApplicationThe PickupChan application tries to pickup the specified channels given to it. 2.3. CHANNEL FunctionThe CHANNEL function allows the pickup groups set on a channel to be changed from the defaults set by the channel driver when the channel was created. 2.3.1. callgroup/namedcallgroupThe CHANNEL(callgroup) option specifies which numeric pickup groups that this channel is a member. same => n,Set(CHANNEL(callgroup)=1,5-7) The CHANNEL(namedcallgroup) option specifies which named pickup groups that this channel is a member. same => n,Set(CHANNEL(namedcallgroup)=engineering,sales)
2.3.2. pickupgroup/namedpickupgroupThe CHANNEL(pickupgroup) option specifies which numeric pickup groups this channel can pickup. same => n,Set(CHANNEL(pickupgroup)=1,6-8) The CHANNEL(namedpickupgroup) option specifies which named pickup groups this channel can pickup. same => n,Set(CHANNEL(namedpickupgroup)=engineering,sales)
3. Configuration OptionsThe pickupexten request method selects calls using the numeric and named call groups. The ringing channels have the callgroup assigned when the channel is created by the channel driver or set by the CHANNEL(callgroup) or CHANNEL(namedcallgroup) dialplan function. Calls picked up using pickupexten can hear an optional sound file for success and failure.
features.conf pickupexten = *8 ; Configure the pickup extension. (default is *8) pickupsound = beep ; to indicate a successful pickup (default: no sound) pickupfailsound = beeperr ; to indicate that the pickup failed (default: no sound) 3.1. Numeric call pickup groupsA numeric callgroup and pickupgroup can be set to a comma separated list of ranges (e.g., 1-4) or numbers that can have a value of 0 to 63. There can be a maximum of 64 numeric groups. Syntax callgroup=[number[-number][,number[-number][,...]]] pickupgroup=[number[-number][,number[-number][,...]]] callgroup - specifies which numeric pickup groups that this channel is a member. chan_dahdi.conf/analog, misdn.conf, mgcp.conf, sip.conf, unistim.conf callgroup=1,5-7 pickupgroup=1 3.2. Named call pickup groupsA named callgroup and pickupgroup can be set to a comma separated list of case sensitive name strings. The number of named groups is unlimited. The number of named groups you can specify at once is limited by the line length supported. Syntax namedcallgroup=[name[,name[,...]]] namedpickupgroup=[name[,name[,...]]] namedcallgroup - specifies which named pickup groups that this channel is a member. chan_dahdi.conf/analog, misdn.conf, sip.conf namedcallgroup=engineering,sales,netgroup,protgroup namedpickupgroup=sales
|
![]() |
Document generated by Confluence on Nov 02, 2012 17:42 |