<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I want Asterisk to do the following:</FONT></DIV>
<DIV><FONT face=Arial size=2>- call a voicemail system by dialing a number and
playing a DTMF tone</FONT></DIV>
<DIV><FONT face=Arial size=2>- record what is said by the called party and save
the recording to a file</FONT></DIV>
<DIV><FONT face=Arial size=2>- end the recording when a particular phrase is
said by the called party</FONT></DIV>
<DIV><FONT face=Arial size=2>- put that recording into an Asterisk voicemail box
and notify the user</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've made a start below (on the easy bit). Any
further pointers on how to proceed would be greatly appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[macro-callminder_retrieve]</FONT></DIV>
<DIV><FONT face=Arial size=2>exten =>
s,1,Dial(${LOCALTRUNK},083210,6,D(www1))</FONT></DIV>
<DIV><FONT face=Arial size=2>;this dials the callminder number, waits and then
plays DTMF tone 1 to retrieve new messages</FONT></DIV>
<DIV><FONT face=Arial size=2>exten =>
s,2,Record(/tmp/msg000%d.gsm|0|20)</FONT></DIV>
<DIV><FONT face=Arial size=2>;this doesn't seem to work</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>For those who wonder why: We have a small business
with two incoming lines. We have "Call Minder" where the incoming calls are
recorded to voicemail if both lines are busy. By implementing Asterisk we will
have two voicemail boxes, the Asterisk one (where calls aren't answered) and the
Call Minder one (when lines are busy). The idea is to retrieve the messages from
Call Minder on a regular basis and put them into the Asterisk voicemail
box.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Cameron</FONT></DIV></BODY></HTML>