<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1250">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<STYLE>@page Section1 {size: 595.3pt 841.9pt; margin: 70.85pt 70.85pt 70.85pt 70.85pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=FR vLink=purple link=blue>
<DIV><SPAN class=203360302-14012005><FONT face=Verdana color=#0000ff>Is there a 
dialtone recording? </FONT></SPAN></DIV>
<DIV><SPAN class=203360302-14012005><FONT face=Verdana 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203360302-14012005><FONT face=Verdana color=#0000ff>I'm 
thinking :</FONT></SPAN></DIV>
<DIV><SPAN class=203360302-14012005><FONT face=Verdana color=#0000ff>exten =&gt; 
s,1,background(dial-tone-recording)</FONT></SPAN></DIV>
<DIV><SPAN class=203360302-14012005><FONT face=Verdana color=#0000ff>exten =&gt; 
s,2,goto(,s,1)</FONT></SPAN></DIV>
<DIV><SPAN class=203360302-14012005><FONT face=Verdana 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203360302-14012005><FONT face=Verdana color=#0000ff>I have not 
tested this, but I can't see why it wouldn't work. The only problem would be the 
lack of a timeout (and possibly a small challenge getting a recording of an 
appropriate&nbsp;dial tone).</FONT></SPAN></DIV>
<DIV><SPAN class=203360302-14012005><FONT face=Verdana 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203360302-14012005><FONT face=Verdana color=#0000ff>Or, you 
could have a recording that was the length you wanted before going to 
timeout.</FONT></SPAN></DIV>
<DIV><SPAN class=203360302-14012005><FONT face=Verdana 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203360302-14012005><FONT face=Verdana color=#0000ff>Just 
brainstorming here, so any reasonably civilized feedback is 
welcome.</FONT></SPAN></DIV>
<DIV><SPAN class=203360302-14012005><FONT face=Verdana 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203360302-14012005><FONT face=Verdana 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203360302-14012005><FONT face=Verdana 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><FONT face=Tahoma size=2><SPAN 
class=203360302-14012005>&nbsp;</SPAN>-----Original Message-----<BR><B>From:</B> 
asterisk-users-bounces@lists.digium.com 
[mailto:asterisk-users-bounces@lists.digium.com] <B>On Behalf Of </B>Silviu 
Herchi<BR><B>Sent:</B> January 13, 2005 11:16 AM<BR><B>To:</B> 'Asterisk Users 
Mailing List - Non-Commercial Discussion'<BR><B>Subject:</B> [Asterisk-Users] 
How to present a dialtone to a dial-in user?<BR><BR></DIV></FONT>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=Section1>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello,<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Here’s what I’d like to do: call 
  my Asterisk box from a phone, hangup after a few rings, then Asterisk calls me 
  back and presents a dialtone, than I can dial any valid number in the context 
  the call originated.<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I’ve done it with CAPI (thanks to 
  the script on http://www.junghanns.net/asterisk/page14.html), I’d like to do 
  it with H323. Problem is, how to present a dialtone to the user and wait him 
  dialing?<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thank 
  you,<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Silviu<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P></DIV><BR>
  <P><FONT size=2>--<BR>No virus found in this incoming message.<BR>Checked by 
  AVG Anti-Virus.<BR>Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 
  12/01/2005<BR></FONT></P>
  <P><FONT face=Arial size=2></FONT></P></BLOCKQUOTE></BODY></HTML>
<BR>

<P><FONT SIZE=2>--<BR>
No virus found in this outgoing message.<BR>
Checked by AVG Anti-Virus.<BR>
Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 12/01/2005<BR>
</FONT> </P>