<!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.2800.1400" name=GENERATOR>
<STYLE>@font-face {
        font-family: Courier;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 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
}
SPAN.EmailStyle18 {
        FONT-FAMILY: Courier
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I have had some success at getting ringback tone 
working with the X100P card. Unfortunately, it will not meet my 
requirements.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The following provides ringback tone for an 
incoming caller. Please note that the Zap channels are configured to use the 
inbound context.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Courier size=2>[inbound]</FONT></DIV>
<DIV><FONT face=Courier size=2>exten =&gt; s,1,Dial(SIP/spa01-2,20)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>This works because the X100P is not going into an 
offhook state. So ringback tone is being provided by the PSTN. So if you use 
Answer, Playback or Background application, it requires asterisk to put the 
state of the line in an off-hook state which makes sense. This is where my 
problem lies. Once asterisk puts the X100P line in an offhook state, I cannot 
get any ringback tone. The following simple scenarios where tried and did NOT 
work.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Courier size=2>[inbound]</FONT></DIV>
<DIV><FONT face=Courier>exten =&gt; s,1,Answer</FONT></DIV>
<DIV><FONT face=Courier size=2>exten =&gt; s,2,Dial(SIP/spa01-2,20)</FONT></DIV>
<DIV><FONT face=Courier></FONT>&nbsp;</DIV>
<DIV><FONT face=Courier>[inbound]</FONT></DIV>
<DIV><FONT face=Courier>exten =&gt; s,1,Answer</FONT></DIV>
<DIV><FONT face=Courier>exten =&gt; s,2,Ringing</FONT></DIV>
<DIV><FONT face=Courier>exten =&gt; s,3,Dial(SIP/spa01-2,20)</FONT></DIV>
<DIV><FONT face=Courier></FONT>&nbsp;</DIV>
<DIV><FONT face=Courier>[inbound]</FONT></DIV>
<DIV><FONT face=Courier>exten =&gt; s,1,Answer</FONT></DIV>
<DIV><FONT face=Courier>exten =&gt; s,2,Ringing</FONT></DIV>
<DIV><FONT face=Courier>exten =&gt; s,3,Dial(SIP/spa01-2,20,r)</FONT></DIV>
<DIV><FONT face=Courier></FONT>&nbsp;</DIV>
<DIV><FONT face=Courier>[inbound]</FONT></DIV>
<DIV><FONT face=Courier>exten =&gt; s,1,Answer</FONT></DIV>
<DIV><FONT face=Courier>exten =&gt; s,2,Ringing</FONT></DIV>
<DIV><FONT face=Courier>exten =&gt; s,3,Dial(SIP/spa01-2,20,tr)</FONT></DIV>
<DIV><FONT face=Courier></FONT>&nbsp;</DIV>
<DIV><FONT face=Courier>[inbound]</FONT></DIV>
<DIV><FONT face=Courier>exten =&gt; s,1,Answer</FONT></DIV>
<DIV><FONT face=Courier>exten =&gt; s,2,Dial(SIP/spa01-2,20,r)</FONT></DIV>
<DIV><FONT face=Courier></FONT>&nbsp;</DIV>
<DIV><FONT face=Courier>[inbound]</FONT></DIV>
<DIV><FONT face=Courier>exten =&gt; s,1,Answer</FONT></DIV>
<DIV><FONT face=Courier>exten =&gt; s,2,Dial(SIP/spa01-2,20,tr)</FONT></DIV>
<DIV><FONT face=Courier></FONT>&nbsp;</DIV></FONT><FONT face=Arial><FONT size=2>
<DIV>Again, any&nbsp;suggestions would be greatly 
appreciated.</DIV></DIV></FONT></FONT>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV>"Paul Vermette" &lt;<A 
  href="mailto:paul_vermette@hotmail.com">paul_vermette@hotmail.com</A>&gt; 
  wrote in message <A 
  href="news:000901c40060$680f9a90$1d0ba8c0@skyridge.com">news:000901c40060$680f9a90$1d0ba8c0@skyridge.com</A>...</DIV>
  <DIV class=Section1>
  <P class=MsoNormal><FONT face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">I have been unsuccessful of yet 
  to produce a ringback tone when trying as an outside caller to dial an 
  internal extension from an auto-attendant. This is the 
  scenario:</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal style="MARGIN-LEFT: 40.5pt; TEXT-INDENT: -22.5pt"><FONT 
  face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">1.</SPAN></FONT><FONT 
  size=1><SPAN style="FONT-SIZE: 7pt">&nbsp;&nbsp;&nbsp;&nbsp; 
  </SPAN></FONT><FONT face=Courier><SPAN style="FONT-FAMILY: Courier">Outside 
  caller dials main line that is going into an FXO card 
  (X100P).</SPAN></FONT></P>
  <P class=MsoNormal style="MARGIN-LEFT: 40.5pt; TEXT-INDENT: -22.5pt"><FONT 
  face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">2.</SPAN></FONT><FONT 
  size=1><SPAN style="FONT-SIZE: 7pt">&nbsp;&nbsp;&nbsp;&nbsp; 
  </SPAN></FONT><FONT face=Courier><SPAN 
  style="FONT-FAMILY: Courier">Auto-attendant answers</SPAN></FONT></P>
  <P class=MsoNormal style="MARGIN-LEFT: 40.5pt; TEXT-INDENT: -22.5pt"><FONT 
  face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">3.</SPAN></FONT><FONT 
  size=1><SPAN style="FONT-SIZE: 7pt">&nbsp;&nbsp;&nbsp;&nbsp; 
  </SPAN></FONT><FONT face=Courier><SPAN style="FONT-FAMILY: Courier">Outside 
  caller dials an internal extension</SPAN></FONT></P>
  <P class=MsoNormal style="MARGIN-LEFT: 40.5pt; TEXT-INDENT: -22.5pt"><FONT 
  face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">4.</SPAN></FONT><FONT 
  size=1><SPAN style="FONT-SIZE: 7pt">&nbsp;&nbsp;&nbsp;&nbsp; 
  </SPAN></FONT><FONT face=Courier><SPAN style="FONT-FAMILY: Courier">Internal 
  extensions are analog phones connected to SPA-2000 using 
SIP.</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal><FONT face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">In Step one, of course the 
  caller gets a ringback tone until the auto-attendant calls (supplied by the 
  PSTN).</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal><FONT face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">In Step 3, the extension rings 
  but no ringback tone is supplied to the caller.</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal><FONT face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">Things I have tried thus far 
  (_please read_).</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal style="MARGIN-LEFT: 40.5pt; TEXT-INDENT: -22.5pt"><FONT 
  face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">1.</SPAN></FONT><FONT 
  size=1><SPAN style="FONT-SIZE: 7pt">&nbsp;&nbsp;&nbsp;&nbsp; 
  </SPAN></FONT><FONT face=Courier><SPAN style="FONT-FAMILY: Courier">Removing 
  Answer application from auto-attendant</SPAN></FONT></P>
  <P class=MsoNormal style="MARGIN-LEFT: 40.5pt; TEXT-INDENT: -22.5pt"><FONT 
  face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">2.</SPAN></FONT><FONT 
  size=1><SPAN style="FONT-SIZE: 7pt">&nbsp;&nbsp;&nbsp;&nbsp; 
  </SPAN></FONT><FONT face=Courier><SPAN style="FONT-FAMILY: Courier">Adding “r” 
  option to Dial application</SPAN></FONT></P>
  <P class=MsoNormal style="MARGIN-LEFT: 40.5pt; TEXT-INDENT: -22.5pt"><FONT 
  face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">3.</SPAN></FONT><FONT 
  size=1><SPAN style="FONT-SIZE: 7pt">&nbsp;&nbsp;&nbsp;&nbsp; 
  </SPAN></FONT><FONT face=Courier><SPAN style="FONT-FAMILY: Courier">Add 
  Ringing application before dialing</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal><FONT face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">None of these options have 
  worked.</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal><FONT face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">Please note that if I call from 
  one internal extension to another, I get a ringback tone. As well if I call an 
  outside line from an internal extension I get a ringback 
  tone.</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal><FONT face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">I have searched the Asterisk 
  Wiki, Asterisk Mailing List and google.</SPAN></FONT></P>
  <P class=MsoNormal><FONT face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier"></SPAN></FONT>&nbsp;</P>
  <P class=MsoNormal><FONT face=Courier size=3><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: Courier">Any help would be greatly 
  appreciated.</SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>