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:[EMAIL PROTECTED]);
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
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users