I would recommend you to record files with a uniqueid like var ${TIMESTAMP}<br><br>[incoming]<br>exten => s,1,Answer()<br>exten => s,2,Backgroud(enter-ext)<br>exten => _XXX,1,Playback(enter-name)<br>exten => _XXX,2,Set(filename=${TIMESTAMP})
<br>exten => _XXX,2,Record(/tmp/prompt${filename}:wav)<br>exten => _XXX,3,Dial(zap/1/${EXTEN},A(${filename}.wav))<br><br><br><br><br><div><span class="gmail_quote">On 11/10/06, <b class="gmail_sendername">bails</b> <
<a href="mailto:bails@westcomuk.com">bails@westcomuk.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">exten => _XXX,3,Dial(zap/1/${EXTEN},,A(somefile))
<br><br>bails<br><br>Gustavo Berman wrote:<br>> Interesting!<br>> I think this can help for a start (but I don't know how to continue!!):<br>><br>> [incoming]<br>> exten => s,1,Answer()<br>> exten => s,2,Backgroud(enter-ext)
<br>> exten => _XXX,1,Playback(enter-name)<br>> exten => _XXX,2,Record(/tmp/prompt${EXTEN}:wav)<br>> exten => _XXX,3,Dial(zap/1/${EXTEN})<br>><br>> now, how to play the recorded message to the called party when he/she
<br>> answers the phone?<br>> any help?<br>><br>> On 11/10/06, * Jeronimo Romero* <<a href="mailto:jromero@eusnetworks.com">jromero@eusnetworks.com</a><br>> <mailto:<a href="mailto:jromero@eusnetworks.com">
jromero@eusnetworks.com</a>>> wrote:<br>><br>> I'm running asterisk 1.2.8. I would like PSTN inbound calls to do<br>> the following:<br>><br>><br>><br>> 1-once PSTN callers enter their desired extension; they have to
<br>> record their name<br>><br>> 2-recording then announces that it is trying to locate the user<br>><br>> 3-asterisk calls local extension and announces callers recorded name<br>><br>> 4-local recipient user can choose to take the call, send it to
<br>> voicemail or transfer it to another extension<br>><br>><br>><br>> Is this possible in asterisk?? . If it is possible, what is the name<br>> of this function? Is this documented anywhere?
<br>><br>> What is the best approach to doing this?<br>><br>><br>><br>> Thanks in advance<br>><br>><br>><br>><br>><br>><br>><br>><br>><br>><br>> _______________________________________________
<br>> --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a><br>> <<a href="http://Easynews.com">http://Easynews.com</a>> --<br>><br>> asterisk-users mailing list
<br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>> <<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a>><br>><br>><br>><br>><br>><br>> --<br>> Gustavo Berman<br>> Sysadmin<br>> Depto. Informatica<br>> Universidad Nacional del Comahue
<br>> Centro Regional Universitario Bariloche<br>><br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> --Bandwidth and Colocation provided by
<a href="http://Easynews.com">Easynews.com</a> --<br>><br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Com os melhores cumprimentos,<br><br>
Marco Mouta