I know my answer won't help this user because he is using analog lines; but if you have a PRI you can detect if the call was direct dialed or forwarded by checking the RDNIS.
Something like: GoToIf($[X${RDNIS} != X]?${EXTEN},5) John On Fri, 2006-06-23 at 10:37 -0400, Shidan wrote: > The only way you can do it is with extra DIDs, or program your cell > phones to press a key after they hit the ivr, most cell phones let you > do this, if you have motorolas ping me off list and i can show you on > IM. > > ---- > Shidan > > On 6/23/06, John Van Ostrand <[EMAIL PROTECTED]> wrote: > > On Fri, 2006-06-23 at 10:01 -0400, Jag Basrai wrote: > > I recently started using Asterisk as our homes voicemail. > > Its rather convienient to have multiple voice mails, one for > > each member of the family. A week ago I opened my cell phone > > bill and noticed that I could probably save $5 per cell > > phone if I had the cell phone forward a missed call to > > asterisk rather than the voicemail service provided by Fido. > > With 5 cell users that's $25/month. So what I did was in my > > dial plan i just checked for CallerID of the cell phone if > > it matched a certain number it would go straight to a > > specific voicemail bypassing the auto attendant. But when I > > did this (which worked fine if the cell called the asterisk > > box) the CallerID forwarded by Fido is the same as the > > person who called not the CallerID of the cell phone. So if > > my cell number is 123-123-1234 and the number calling me is > > 111-111-1111 then the cell will forward 111-111-1111 not > > 123-123-1234, which I thought was the case as the cell would > > forward its own number. > > > > Now I can not figure out how to make my dial plan do what it > > needs too. Does anyone know how I could set it up so that > > each cell user will have its own voicemail rather than going > > through auto attendant. Is this even possible? > > This is normally done with DID, Direct Inward Dialing. I'm > told that one can get DIDs from VoIP providers fairly cheaply. > > -- > John Van Ostrand > Net Direct Inc. > > Chief Technology > Officer > 564 Weber St. N. > Unit 12 > Waterloo, ON N2L > 5C6 > map > [EMAIL PROTECTED] > Ph: 519-883-1172 > ext.5102 > Linux Solutions / > IBM Hardware > Fx: 519-883-8533 > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.1 (GNU/Linux) > > iD8DBQBEm/fcVNQ815ieHXcRAjE8AJ4r > +vOXcsIRV1pbz3B93Dx86OwXrgCfYufs > QEXkfOs8CuOsQAnvlMZ9maA= > =Hcna > -----END PGP SIGNATURE----- > > >