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? 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- 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 Thanks in advance for any help. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071106/3e892d3e/attachment.htm
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
According to http://www.voip-info.org/wiki/view/Asterisk+cmd+Pickup and in particular the REMARK section: Remark: This command pickups up the dialed EXTENSION, not the ringing channel/device. So when the dialplan says; 200,1,Dial(SIP/100&SIP/101) And someone calls extension 200 The call cannot be picked up by using Pickup(100 at default) or Pickup( 101 at default) But needs to be picked up using Pickup(200 at default) The context however is NOT mandatory I had to change parts of my dial plan to take this into account. It may not be related to your problem, though. On Nov 6, 2007 4:04 PM, Lutgring, Sam <LutgrinS at calhounisd.org> 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? > > 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- > > 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 > > Thanks in advance for any help. > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Lacy Moore Somewhere I wish I wasn't -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071107/3ec11f39/attachment.htm