I get the same result even if I don't use pattern matching and hard set the extension like "**212,1,Pickup(212)". I know that the * is allowed because I have used it before.
I added the NoOp and saw it execute it from the CLI. I know that it is executing the extension, I just don't know why it is not doing the pickup. Thanks for the help though. -----Original Message----- From: Baji Panchumarti [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 07, 2007 4:32 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Cc: Lutgring, Sam Subject: Re: [asterisk-users] Pickup Command not working On Nov 7, 2007 11:03 AM, Lutgring, Sam wrote: > 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. what happens if you replace the pattern matching expr with _.XXX extension names can be upto 80 chars of alphanum, don't know if * & # are allowed to be included in extension names. do a NoOp(${EXTEN}) to see if you are even reaching the exten that you think you are, because a hangup could occur from astrsk not knowing where to go. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Robert > Lister > 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 > 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:[EMAIL PROTECTED]) 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 > > > -- _______________________________________________ --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
