login | register
Tue 02 of Dec, 2008 [03:04 UTC]

voip-info.org

Discuss [2] History

Asterisk cmd BristuffPickUpChan

Created by: JustRumours,Last modification on Sat 24 of Nov, 2007 [01:26 UTC] by tzafrir

PickUpChan

Synopsis

Channel independent call pickup.

Description


 PickupChan(Technology/resource[&Technology2/resource2...])

Tries to pickup the first ringing channel in the parameter list.

Related applications



See also



Go back to Asterisk - documentation of application commands


Comments

Comments Filter
222

333[Solved] Error in PickUpChan

by ideo, Tuesday 07 of March, 2006 [15:46:18 UTC]
To change this behavior you have to comment out the following lines in asterisk/apps/app_pickup.c:

Lines 137-141:
======================================
/* strip the subchannel tag */
endptr = strrchr(evalchan, '/');
if(endptr) {
*endptr = '\0';
}
======================================

These lines transform a channel from ie. "SIP/40" to "SIP", thus making ALL ringing channels with the SIP protocol match the channels in the list. Not quite what's desired in our case.


IDEO SYSTEMS
innovative communication solutions
www.ideo-systeme.de

222

333Error in PickUpChan

by ideo, Tuesday 07 of March, 2006 [10:13:40 UTC]
There seems to be an error:

If PickUpChan is used while two or more Channels are ringing, it always picks this channels which has last began to ring:

-- SIP/20-ca4a is ringing
-- SIP/40-4e9f is ringing
-- Executing PickupChan("SIP/10-a9f8", "SIP/20") in new stack
Nice channel, I'll take it: SIP
-- Channel SIP/10-a9f8 picked up ringing channel SIP/40-4e9f