[Asterisk-Users] "Please Press Any Key to Accept a Call"

BJ Weschke bweschke at gmail.com
Fri Oct 14 15:42:58 MST 2005


 CF -
  You're right. Most of this can be done with the dial plan. I wrote the app
though because I wanted to be able to have the option to work with both
channels at the same time through a threaded model. The dial plan doesn't
let me do that, and there's no reason it should.
  So, in this scenario, we're actually dialing already to the first number
on the list while the caller is still hearing the annunciator from Allyson
about "please wait while we try and connect your call". The approach right
now is really simple and probably could have been done in the dial plan, but
I kind of envisioned expanding upon this over time and trying to get the app
to act like the Wildfire follow-me application works now with some Sphinx
integration down the road. It's going to be a little while before we give
things like Wildfire a run for their money, but Mark, Digium, and the
Asterisk community have given us a more than adequate platform and framework
to get us there.

 On 10/14/05, C F <shmaltz at gmail.com> wrote:
>
> BJ, thanks alot for the coding but I see no reason for it as all you
> mention is doable currently in Asterisk using some DP magic.
> Will just search the list and you should find some examples on how to
> do it (I think there is even an example on the wiki try:
> http://www.voip-info.org/wiki-asterisk+cmd+dial )
>
> On 10/14/05, BJ Weschke <bweschke at gmail.com> wrote:
> > 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 at 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 at 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
> > >
> > >
> >
> >
> > _______________________________________________
> > --Bandwidth and Colocation sponsored by Easynews.com<http://Easynews.com>--
> >
> > Asterisk-Users mailing list
> > Asterisk-Users at 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
> >
> >
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com <http://Easynews.com>--
>
> Asterisk-Users mailing list
> Asterisk-Users at 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/6e06ecf3/attachment.htm


More information about the asterisk-users mailing list