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