[asterisk-users] Pickup Command not working

Lutgring, Sam LutgrinS at calhounisd.org
Wed Nov 7 09:03:23 CST 2007

Thanks for the suggestion.  Everything was there except for the context
in the Pickup()cmd and that did not fix it.  

Watching the cli in debug you can see it dial the **212 and fall
straight through the first step "exten => _**XXX,1,Pickup(${EXTEN:2})"
and move to the second step "exten => _**XXX,n,Hangup()" which just
hangs up the call.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Robert
Sent: Wednesday, November 07, 2007 9:24 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Pickup Command not working

On Tue, Nov 06, 2007 at 05:04:50PM -0500, Lutgring, Sam wrote:
> When I execute a pickup on a ringing phone I get CALL FAILED REASON 
> CODE 603.  I am dialing **212 with the following config.  Anyone have 
> a suggestion?

I am not sure, but in the context where your extensions are, have you

include => BLF_Group_Pickup

> -snip-
> [BLF_Group_Pickup]
> ; Defines how the extension to pick up a ringing phone in your BLF 
> group exten => _**XXX,1,Pickup(${EXTEN:2}) exten => _**XXX,n,Hangup() 
> [BLF] ; Defines a BLF Hint for phones exten => 212,hint,SIP/sam
> -snip-

This bit should have some "context=" i,e, where your clients are
dialling, do they have access to the [BLF_Group_Pickup] bits of the dial

(I think it can also be set as a default in the [general] part of
sip.conf  i,e, context=default if not defined in the SIP peer config,
but for  security reasons, your internal clients should ideally be in a
separate  context, so you can differentiate between internal and
external connections  and limit what they can dial.) Mine is called
"from-client" and then in  each [client] section in sip.conf, I have

You might also have to set the Pickup() command to pickup from the
correct context, i.e. Pickup(${EXTEN:2}@from-client) if it still doesn't

> -snip-
> [sam]
> type=friend
> username=sam
> fromuser=sam
> callerid=sam
> host=dynamic
> dtmfmode=RFC2833
> disallow=all
> allow=ulaw
> call-limit=20
> subscribecontext=BLF

Robert Lister     - London Internet Exchange - http://www.linx.net/
sip:robl at linx.net - inoc-dba:5459*710        - tel: +44 (0)20 7645 3510

--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

More information about the asterisk-users mailing list