[Asterisk-Users] Pickup problem
Joshua Colp
jcolp at digium.com
Wed May 31 07:37:34 MST 2006
Bogdan Tocu wrote:
> Hi,
>
> I have the folowing setup:
>
> [incoming]
> exten => s,1,Wait(3)
> exten => s,2,Answer
> exten => s,3,Background(welcome)
>
> exten => 1,1,Noop(call for operators)
> exten => 1,2,Dial(SIP/10&SIP/11|60|tr)
> exten => 1,3,Hungup
>
>
> ;this is for pulse phones
> exten => t,1,NoOp(.call for .60)
> exten => t,2,Dial(SIP/10,60,mtr)
> exten => t,3,Background(busy-retrylater)
> exten => t,4,Hungup
>
>
>
> [take_call]
> exten => _6ZX,1,Background(pickup)
> exten => _6ZX,2,Pickup(${EXTEN:1})
>
>
> [sip_users]
> include => take_call
> ;this is the context for sip users
>
> Now when an incoming caller press 1 ... it cals sip 10 and sip 11. If me
> sip 22 want to pickup sip/10 or sip/11 by dialing 611 or 610 noting
> happends.
> On asterisk CLI says:
> -- Executing Pickup("SIP/22-e7f0", "11") in new stack
>
> Any ideea why it does'nt work? BTW on internal calls pickup works just fine.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
That's because the extension dialed was 1. Using the Pickup application
you can't do a Pickup on the device called (ie: SIP/10 or SIP/11) but
the extension, which is 1.
--
Joshua Colp
Software Developer
Digium
P - 256-428-6066
C - 506-878-0147
jcolp at digium.com
More information about the asterisk-users
mailing list