[asterisk-users] Pickup Command not working

Robert Lister robl at linx.net
Wed Nov 7 08:24:05 CST 2007


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 done:

include => BLF_Group_Pickup

> EXTENSIONS.CONF
> -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 plan?

(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 "context=from-client"

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

> SIP.CONF
> -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



More information about the asterisk-users mailing list