[Asterisk-Users] Ansering machine/voicemail detect?
Adam Goryachev
mailinglists at websitemanagers.com.au
Thu Aug 7 19:47:30 MST 2003
> Garry,
>
> yes this is possible although it would end up being quite convoluted.
No, simpler than that...
> >Voicemail comes into the asterisk machine,
> >* Calls me at work
> >Plays message for me to enter PIN for voicemail
> >Retrieve Voicemail
> >Hangup.
> >
> >However, if it got my voicemail at work (due to being on the phone or out
> >of the office), I'd like it to do something like:
> >Voicemail in *
> >* Calls me at work
> >Notices that it's voicemail (Possibly due to no pause at the beginning,
> >just continuous talking?)
> >Just plays a message that I have voicemail at home.
> >Hangs up.
1) Some cron job runs
2) Script checks if any file in the voicemail box is newer than it's last
run date/time
3) updates the date/time in a file/DB
4) drops call file into the spool dir to initiate the call from a specific
context
5) Call starts and follows this process:
a) Ask for PIN#
b) If receive PIN, then GOTO voicemail
c) Timeout (no PIN received)
d) Wait long enough for your voicemail to have ansered, played the
message and the beep (just time it)
e) Playback(youhaveamessage)
It's a bit of a hack, but should work. I have asterisk divert to my mobile,
but with a timeout so I don't end up diverting the caller to my mobile's
voicemail
Regards,
Adam
More information about the asterisk-users
mailing list