[Asterisk-Users] Call Interception

Josiah Bryan jbryan at productiveconcepts.com
Thu Apr 7 06:43:32 MST 2005


On Thursday 07 April 2005 9:14 am, cereal killer wrote:
> > Yes.
> >
> > http://www.voip-info.org/wiki-Channels+and+Groups
> > "A channel that belongs to a pickupgroup, can pickup
>
> all incoming
>
> > calls on the same callgroup by hitting *8"
>
> Thanks answering me, that works with the *8 (and *02
> th e pattern in my company works too) but there is a
> problem : how do you select the phone ringing to
> pickup ? For example phones 23 and 24 are ringing ;
> I'm 25 (same pickupgroup as 23 and 24 callgroup), How
> do I decide either to take the 23 or 24 ? Seems the *8
> takes the first arrived call. Any idea ?
>

There is no way to do that (that I know of) in the default Asterisk setup.

Which is I wrote a little Perl AGI script that lets users dial 200 to pickup a 
call. (Dial 200, then dial the extension at the prompt. The users phone then  
rings, with caller ID on the screen.) This works for any ringing channel on 
Asterisk, regardless of callgroup or pickupgroup. I suppose that could be 
added to 'limit' users, but its currently not implemented. You can pickup any 
channel that is ringing (SIP, Zap, etc.) with this script, since it just 
issues a Manager 'Redirect' action.

Usage:

exten => 200,1,AGI(pickup.pl)

If anyone is interested in pickup.pl, let me know and I'll see what I can do 
to make it available.


Cheers!
-josiah

-- 
Josiah Bryan
IT Coordinator
Productive Concepts, Inc.
jbryan at productiveconcepts.com
(765) 964-6009, ext. 224



More information about the asterisk-users mailing list