[Asterisk-Users] Call Forward or DND

Anton Krall akrall-lists at intruder.com.mx
Mon Mar 7 17:43:36 MST 2005


Wow, too professional for me hahaha can you explain to me the last part of
the goto? 

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Howard Lowndes
Sent: Lunes, 07 de Marzo de 2005 06:22 p.m.
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] Call Forward or DND

On Tue, 2005-03-08 at 10:48, Anton Krall wrote:
> Nice idea.. Now, also We would need to check the number of 
> digitsentered, if more than X, then call is an outside number, is less 
> than X, then its an internal extension..

Simple.

SetGlobalVar(DIGITS=4)
GotoIf($[${LEN(${EXTEN}) > ${DIGITS}]?s-ext:s-int)
> 
> Sounds good? 
> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Howard 
> Lowndes
> Sent: Lunes, 07 de Marzo de 2005 04:43 p.m.
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] Call Forward or DND
> 
> On Tue, 2005-03-08 at 09:14, Anton Krall wrote:
> > Guys.
> > 
> > Im trying to implement some kind of call forward or DND, I checked 
> > the wiki and there are some examples of call forwards but I was 
> > wondering if anybody has implemented one that will let you forward 
> > calls to SIP, IX or ZAP channels alike? For example, forwardto 
> > another extension, to an outside number or directly to voicemail (ala
DND).
> 
> Yes.
> Give them an extension to prompt for, and store, the call forward number.
> Also an extension to cancel call forward.
> Use the * internal database to store the call forward numbers against 
> the extension that they are setting it up from.
> If the call forward number is the same extension that they are setting 
> up from, then assume they want DND and code the dial plan to check for 
> this and do a redirect to voicemail.
> > 
> > Thx!
> > 
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> --
> Howard.
> LANNet Computing Associates;
> Your Linux people <http://www.lannetlinux.com>
> ------------------------------------------
> "When you just want a system that works, you choose Linux; when you 
> want a system that just works, you choose Microsoft."
> ------------------------------------------
> "Flatter government, not fatter government; Get rid of the Australian 
> states."
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
--
Howard.
LANNet Computing Associates;
Your Linux people <http://www.lannetlinux.com>
------------------------------------------
"When you just want a system that works, you choose Linux; when you want a
system that just works, you choose Microsoft."
------------------------------------------
"Flatter government, not fatter government; Get rid of the Australian
states."


_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list