Will Glass-Husain
2005-Oct-14 07:12 UTC
[Asterisk-Users] "Please Press Any Key to Accept a Call"
Hi, I'd like to add a feature to my asterisk system that tries to find a user among a couple of locations, and then goes to internal voicemail if the user doesn't pick up. (e,g, an internal extension and a cell phone). The catch is that I want the user to manually accept the call to prevent it from going (for example) to the voice mail on my cell phone. Scenario * Call comes in, outside caller dials "100" * Desk phone for user Joe rings. No answer * Joe's house phone rings. * Joe's wife picks up and hears a voice "Please press any key to accept a call for extension 100." * Joe's wife hangs up. * Joe's cell phone rings. * Joe picks up and hears a voice "Please press any key to accept a call for extension 100." * Joe presses 1 and says "Hello this is Joe". Alternately, in the penultimate step * Cell voice mail picks up. * Voice says "Please press any key to accept a call for extension 100". No keys pressed since it's a voice mail * Call is routed to Asterisk voicemail. It seems straight forward to try multiple locations, but I'm not seeing how to only patch the call through if the user responds with a key press. Thanks, WILL -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051014/1972e484/attachment.htm
I have coded a new application in Asterisk called app_followme that will do what you're looking for. The caller who made the call originally is also optionally put on hold music while the hunt is going on. There's also planned functionality for "blacklisting" certain callerIDs so a caller who is blacklisted will think the find-me/follow-me is working, but in reality it's just putting them in a holding pattern and then routing them to voicemail after waiting for about 20-30 seconds <evil grin>. The code isn't really cleaned up yet from my initial alpha / unit testing on it which is why I haven't put it on the bugtracker yet, but it's quite functional now and I'd like for more people to start testing it if they see a use for this. I'll try to get it up there in the next couple days. It's new functionality, and therefore, won't make it into the 1.2 release of Asterisk, but it doesn't really interfere with much anything else in Asterisk so you should be able to apply the patch cleanly to any recent HEAD branch and probably 1.2 once it's released. BJ On 10/14/05, Will Glass-Husain <wglass@forio.com> wrote:> > Hi, > I'd like to add a feature to my asterisk system that tries to find a user > among a couple of locations, and then goes to internal voicemail if the user > doesn't pick up. (e,g, an internal extension and a cell phone). The catch is > that I want the user to manually accept the call to prevent it from going > (for example) to the voice mail on my cell phone. > Scenario > * Call comes in, outside caller dials "100" > * Desk phone for user Joe rings. No answer > * Joe's house phone rings. > * Joe's wife picks up and hears a voice "Please press any key to accept a > call for extension 100." > * Joe's wife hangs up. > * Joe's cell phone rings. > * Joe picks up and hears a voice "Please press any key to accept a call > for extension 100." > * Joe presses 1 and says "Hello this is Joe". > > Alternately, in the penultimate step > * > Cell voice mail picks up. * Voice says "Please press any key to accept a > call for extension 100". No keys pressed since it's a voice mail > * Call is routed to Asterisk voicemail. > It seems straight forward to try multiple locations, but I'm not seeing > how to only patch the call through if the user responds with a key press. > Thanks, > WILL > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com<http://easynews.com/>-- > > 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 > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051014/ce5822a2/attachment.htm
Will Glass-Husain
2005-Oct-14 11:04 UTC
[Asterisk-Users] Re: "Please Press Any Key to Accept a Call"
BJ, Great news - glad to hear it. I think the key thing I'm looking for is that this is all transparent to the caller. I want them to hear nice hold music while the user is searched for, and only be directed to the physical extension if the correct person picks up. (e.g. no third party voice mail). CF - That sounds good, I'll search the archives. Possibly an application would still be of service if it simplifies the dial plan. Look forward to trying both approaches. Best, WILL