[asterisk-users] pickup for extension in asterisk 1.4?

2011-09-03 Thread Eduardo Leones
Good afternoon,

I'm not able to create a dial plan to pull links extension. I am 
using asterisk 1.4.18with the following dial plan:

exten => _ * 7XXX, 1, Pickup ($ {EXTEN: 2} @ PICKUPMARK)
exten => _ * 7XXX, n, Hangup ()

But is not working, the following error appears in the CLI:


 - Executing [* 7503 @ ypytrix-05: 2] Pickup 
("SIP/501-63a2", "503 @PICKUPMARK") in new stack
[Sep 3 14:54:26] NOTICE [17844]: app_directed_pickup.c: 159 pickup_exec: 
Notarget channel found for 503.
 - Executing [* 7503 @ ypytrix-05: 3] Hangup ("SIP/501-63a2", "") in 
newstack


Does anyone know how the pickup for extension in asterisk 1.4?

thanks,

Leones--
_
-- 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

Re: [asterisk-users] pickup for extension in asterisk 1.4?

2011-09-03 Thread Paul Belanger

On 11-09-03 02:19 PM, Eduardo Leones wrote:

Good afternoon,

I'm not able to create a dial plan to pull links extension. I am using asterisk 
1.4.18with the following dial plan:

exten =>  _ * 7XXX, 1, Pickup ($ {EXTEN: 2} @ PICKUPMARK)
exten =>  _ * 7XXX, n, Hangup ()


remove the spaces to start:

exten =>  _*7XXX,1,Pickup(${EXTEN:2}@PICKUPMARK)
exten =>  _*7XXX,n,Hangup()

--
Paul Belanger
Digium, Inc. | Software Developer
twitter: pabelanger | IRC: pabelanger (Freenode)
Check us out at: http://digium.com & http://asterisk.org

--
_
-- 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


Re: [asterisk-users] pickup for extension in asterisk 1.4?

2011-09-03 Thread Eduardo Leones
Already without the spaces, it was time to paste in the email that was well



De: Paul Belanger 
Para: Asterisk Users Mailing List - Non-Commercial Discussion 

Enviadas: Sábado, 3 de Setembro de 2011 15:24
Assunto: Re: [asterisk-users] pickup for extension in asterisk 1.4?

On 11-09-03 02:19 PM, Eduardo Leones wrote:
> Good afternoon,
>
> I'm not able to create a dial plan to pull links extension. I am using 
> asterisk 1.4.18with the following dial plan:
>
> exten =>  _ * 7XXX, 1, Pickup ($ {EXTEN: 2} @ PICKUPMARK)
> exten =>  _ * 7XXX, n, Hangup ()
>
remove the spaces to start:

exten =>  _*7XXX,1,Pickup(${EXTEN:2}@PICKUPMARK)
exten =>  _*7XXX,n,Hangup()

-- 
Paul Belanger
Digium, Inc. | Software Developer
twitter: pabelanger | IRC: pabelanger (Freenode)
Check us out at: http://digium.com & http://asterisk.org

--
_
-- 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

Re: [asterisk-users] pickup for extension in asterisk 1.4?

2011-09-03 Thread Daniel Tryba
On Sat, Sep 03, 2011 at 11:19:12AM -0700, Eduardo Leones wrote:
> I'm not able?to create?a?dial plan?to pull?links?extension.?I am 
> using?asterisk?1.4.18with the following?dial plan:
> 
> exten =>?_?*?7XXX,?1,?Pickup ($ {EXTEN:?2}?@?PICKUPMARK)
> exten =>?_?*?7XXX, n,?Hangup?()
> 
> But?is not working,?the following error appears?in the CLI:

Where are you *setting* the PICKUPMARK?

See the examples on
http://www.voip-info.org/wiki/view/Asterisk+cmd+Pickup

-- 

   Daniel Tryba

--
_
-- 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


Re: [asterisk-users] pickup for extension in asterisk 1.4?

2011-09-03 Thread Eduardo Leones
friends,

Indeed, following the example of the voip-info, did a SET dial before the 
route and it worked perfectly.

example:
exten => 1234.1, Set (__PICKUPMARK = 1234)
exten => 1234, n, Dial (...)

thanks





De: Daniel Tryba 
Para: Asterisk Mailing List - Non-Commercial Discussion 

Enviadas: Sábado, 3 de Setembro de 2011 16:56
Assunto: Re: [asterisk-users] pickup for extension in asterisk 1.4?

On Sat, Sep 03, 2011 at 11:19:12AM -0700, Eduardo Leones wrote:
> I'm not able?to create?a?dial plan?to pull?links?extension.?I am 
> using?asterisk?1.4.18with the following?dial plan:
> 
> exten =>?_?*?7XXX,?1,?Pickup ($ {EXTEN:?2}?@?PICKUPMARK)
> exten =>?_?*?7XXX, n,?Hangup?()
> 
> But?is not working,?the following error appears?in the CLI:

Where are you *setting* the PICKUPMARK?

See the examples on
http://www.voip-info.org/wiki/view/Asterisk+cmd+Pickup

-- 

   Daniel Tryba

--
_
-- 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