Thx for all yourideas Guys... It worked like a charm! -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kristian Kielhofner Sent: Lunes, 07 de Marzo de 2005 04:57 p.m. To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Call Forward or DND
Anton Krall wrote: > Im looking for something like the article on the wiki where the user > can dial *21 plus the number or extension to forward to... > > I don't quite get the internal on that yet but it's a mix of that and > what you just posted... Although the wiki just send the call to > another extension so I would need to use vars to decide if it should > go to the outside, an extension or maybe the voicemail. > > Im looking for something like on other PBX where you dial *21 + > extension or outside number like 9123456 > > In the case of voicemail, phones usually have a button for SAC to > voicemail but this would have to also be some kind of *21 combination... > > Any ideas? With a little modification the sample that I provided would do exactly that: [internal-phones-only] exten => _*21.,1,Answer exten => _*21.,2,DBPut(DNDFWD=${CALLERIDNUM}/${EXTEN:3}) exten => _*21.,3,Playback(vm-goodbye) exten => _*21.,4,Hangup -- Kristian Kielhofner _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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@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