I think you're missing something in your explanation... the code represented in your email shows no reason for a Local channel to be recreated. Goto commands do not result in Local channel creation, nor does the Dial command
On Wed, Jan 26, 2011 at 10:34 AM, Jonas Kellens <[email protected]> wrote: > On 01/26/2011 04:26 PM, Danny Nicholas wrote: > > ________________________________ > > From: [email protected] > [mailto:[email protected]] 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@sub-pickup:24] > Pickup("SIP/voip5-00000750", "Local/329596@default-505a;2@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. > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
