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

Reply via email to