[asterisk-users] Pickup command

Lacy Moore - Aspendora aspendora at gmail.com
Tue Aug 14 20:13:10 CDT 2007


On 8/10/07, Carlos Chavez <cursor at telecomabmex.com> wrote:
>
>        I am having a bit of a problem implementing the pickup command in
> my
> dial plan.  I have setup this rule:
>
> exten => _*8XXX,1,Pickup(${EXTEN:2})
>
>        This works as expected when someone dials an extensions number and
> I
> can get the call.  The problem I have is that when a call enters my
> welcome menu and does not press anything there is a timeout that sends
> them to the recepcionist.  The rule is:
>
> exten => t,1,Macro(stdexten,${OPERVM},${OPER})


If I understand the command correctly, the pickup you would need to initiate
for this would be picking up the 't' extension.  Instead of writing 't' like
that, I would use a go to:

exten => t,1,Goto([some context],[some extension],1)

Then, your pickup would be picking up [some extension].

Ex.:

exten => t,1,Goto(internal,100,1)

your pickup command would be:

exten => _*8XXX,1,Pickup(${EXTEN:2})

and then you would enter *8100 to pickup the ringing caller.

See http://www.voip-info.org/wiki/view/Asterisk+cmd+Pickup, and more
specifically the REMARK heading.


       ${OPERVM} and ${OPER} are set to the mailbox and sip device of the
> receptionist.  How can I directly pick up that call?  I stopped using
> the default *8 because the client kept picking up calls that they did
> not intend to so I need to make it specific.
>
> --
> Telecomunicaciones Abiertas de México S.A. de C.V.
> Carlos Chávez Prats
> Director de Tecnología
> +52-55-91169161 ext 2001
>
> _______________________________________________
> --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/20070814/19db2311/attachment.htm 


More information about the asterisk-users mailing list