[asterisk-users] Pickup local/.... not working

Danny Nicholas danny at debsinc.com
Wed Jan 26 10:37:52 CST 2011


From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jonas Kellens
Sent: Wednesday, January 26, 2011 10:34 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Pickup local/.... not working

 

On 01/26/2011 04:26 PM, Danny Nicholas wrote: 

  _____  

size=2 width="100%" align=center> 

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jonas Kellens
Sent: Wednesday, January 26, 2011 9:22 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Pickup local/.... not working

 

Hello list,

is it possible that it is not possible to pickup a local channel ??


[Jan 26 16:13:43]     -- Executing [10 at sub-pickup:24]
Pickup("SIP/voip5-00000750", "Local/329596 at default-505a;2 at PICKUPMARK") in
new stack
[Jan 26 16:13:43] NOTICE[29658]: app_directed_pickup.c:265 pickup_exec: No
target channel found for Local/329596.


This is an incoming call that rings extension 10, and I want to pickup this
call from another extension.

It goes well when the call is coming from external. This call however never
leaves Asterisk so Asterisk creates a Local/... channel. But pickup fails
here...



Kind regards,
Jonas.

 

As I understand it, Local channels are "work" channels for asterisk to hold
calls or perform tasks in and are therefore not "pickable".  You would have
to transfer or bridge the channel to a "real" (SIP/DAHDI) channel to
actually use it.



I have something like :

exten => 329596,1,GoTo(newcontext,329596,1)

[newcontext]
exten => 10,1,Dial(SIP/MySipAccount)


This makes a call to 329596 go to the context "newcontext", but Asterisk
creates a Local/... channel for this "re-direct" to another context.


Is there then a way to transfer the call to another context ??


Kind regards,
Jonas.
I would have done it this way

exten => 329596,1,GoTo(newcontext,s,1)

[newcontext]
exten => s,1,Dial(SIP/MySipAccount)



This should open a SIP channel when you dial 329596.

Hope this helps.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110126/8d48a540/attachment.htm>


More information about the asterisk-users mailing list