[asterisk-users] Using * in extension name

Philipp Kempgen philipp.kempgen at amooma.de
Wed Dec 19 13:43:17 CST 2007


Daniel Hazelbaker wrote:
> I am trying to setup an extension of *7XXX that will allow me to dial  
> *7 and then any extension and use the Pickup application to pickup a  
> ringing phone.  Ideally it will also check if the phone is ringing  
> somehow and then either dial the extension or pick it up if it is  
> ringing.

I'm not sure if it's possible to do anything in the dialplan
after Pickup() even if it didn't work, but you might try
something like this:

_*7. => {
	Pickup(${EXTEN:2}@to-users);
	Dial(Local/${EXTEN:2});
}

I find your idea a bit unusal anyway because when Pickup()'ing
a call I almost never want to talk to the original callee.

Regards,
  Philipp Kempgen

-- 
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
    Let's use IT to solve problems and not to create new ones.
          Asterisk? -> http://www.das-asterisk-buch.de

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998



More information about the asterisk-users mailing list