hello Mike, we are talking about very different things here. please look at my original mail again. I want the call recipient to be able to toggle on and off "do not disturb". I don't want the phone to ring at all.
thanks, yair On 7/3/05, Mike Hillerbrand <[EMAIL PROTECTED]> wrote: > By user do you mean the caller (initiator of the call) or the recipient? If > you mean that user is the call recipient, it is very easy. The caller's call > comes to you with its Caller ID--if you want the call to go to VM, then > don't answer the call. I use this for forwarding to other PSTN lines (cell, > remote offices, etc..), although I would guess the same thing applies to SIP > phones. The dial plan variables are only necessary if you want to pass > caller ID from the originating caller through to the forwarded number. If > you don't use the variable then the caller ID you would see would be that > from the Asterisk configuration and not from the actual caller. > > The "0" inserted into the number is helpful if you have calls forwarded > simultaneously to your cell phone (or other) so that you can see by the zero > that it is a forwarded call rather than a direct call to your PSTN number (I > guess you could also use this with internal calls to distinguish calls that > are forwarded from different extension numbers). If it is a forwarded call > then by not answering it, it would go to Asterisk VM. If a direct call, it > would go to whatever aswering funtion is set up on your cell phone (or other > PSTN phone). [Please reply through the mailing list]. Mike. > > -----Original Message----- > From: Yair Hakak [mailto:[EMAIL PROTECTED] > Sent: Saturday, July 02, 2005 5:05 PM > To: Mike Hillerbrand > Subject: Re: [Asterisk-Users] call forwarding, most basic case > > > hi, > thanks for your answer, but i'm not sure i understand. this dialplan says > 1. call the extension > 2. set a variable with the callerIDNum > 3. dial out to the "follow me" number with a 0 prepended to the callerID > 4. switch the callerID back to the original > 5. go to voicemail > > how does the user turn this on and off? that's what i'm trying to do > in my case. i want the user to be able to switch between asterisk > calling his extension and asterisk sending the call directly to > voicemail. > > -yair > > On 7/2/05, Mike Hillerbrand <[EMAIL PROTECTED]> wrote: > > Try this > > http://www.voip-info.org/tiki-index.php?page=Asterisk+Tips+follow+me > > > > I used and it works well. Rather than segregate calls based on caller ID, > it > > carries the caller's ID through to the forwarded phone (cell phone, or > > other?), but inserts a "0" before the number, that way you know it is an * > > related call. If you don't answer (don't like the caller) or can't answer, > > the call goes to voice mail. > > > > Mike. > > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of Yair Hakak > > Sent: Saturday, July 02, 2005 3:06 PM > > To: [email protected] > > Subject: [Asterisk-Users] call forwarding, most basic case > > > > > > hello all, > > > > i need some help and after trying the wiki i'm even more confused than i > > was. > > > > i'm trying to set up call forwarding and running into problems... > > i want the most basic call forwarding imaginable. > > > > 1. caller dials extension (say, 154) > > 2. dialplan is updated to forward caller's extension (based on > > CALLERIDNUM) to voicemail, instead of ringing his endpoint. > > 3. caller is disconnected. > > > > as you can see, i don't want any *21 or #21, and then the number, i > > dont even want the caller to be able to pick the number to forward to, > > the simplest case possible, and a different extension (155) to turn > > the forwarding off (for now, then i'll put them in a menu together or > > something.) > > > > so, i know i need an extension like this: > > > > exten =>154,1, Answer > > exten => 154,2,DBput(CFIM/${CALLERIDNUM}=Voicemail(u{CALLERIDNUM}) > > exten =>153,3, Hangup > > > > but line 2 is giving me fits, and the documentation is a bit thin. i'm > > confused about the families in the database - do i have to create > > them, or are they aready there? > > > > of course, if i'm barking up the wrong tree and there's a much simpler > > way to do this please tell me. > > > > thanks, > > yair > > _______________________________________________ > > Asterisk-Users mailing list > > [email protected] > > 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 [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
