<!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>Well, I think I discovered even further why there
is no ringback tone available. The following message, is displayed on the
console in asterisk.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>ioctl(ZT_LOADZONE) failed: Inappropriate ioctl
for device<BR>Failed to register zone 'United States / North America': No data
available</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV><FONT face=Arial size=2>
<DIV>Looking more into it, I found that it was related to loading tones for a
particular zone. The message is printed out when I run the Ringing Application
or when I attempt to put the 'r' option on the Dial application in my
extensions.conf.</DIV>
<DIV> </DIV>
<DIV>My guess is that it is trying to load the tones for the zone but since it
fails to register them no sounds are available to be played back including
ringback tone. This could explain my situation.</DIV>
<DIV> </DIV>
<DIV>I originally got the HEAD from CVS when I compiled and installed the
drivers for zaptel/zapata/libpri. I then tried the versions that where available
for download from <A href="ftp://ftp.digium.com">ftp.digium.com</A>. Neither
worked.</DIV>
<DIV> </DIV>
<DIV>I am using asterisk 0.7.2 with no patches applied.</DIV>
<DIV>I am using gcc 2.96 for compiling</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV></FONT>"Paul Vermette" <<A
href="mailto:paul_vermette@hotmail.com">paul_vermette@hotmail.com</A>> wrote
in message <A
href="news:c24m3l$80t$1@sea.gmane.org">news:c24m3l$80t$1@sea.gmane.org</A>...</DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<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> </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> </DIV>
<DIV><FONT face=Courier size=2>[inbound]</FONT></DIV>
<DIV><FONT face=Courier size=2>exten =>
s,1,Dial(SIP/spa01-2,20)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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> </DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Courier size=2>[inbound]</FONT></DIV>
<DIV><FONT face=Courier>exten => s,1,Answer</FONT></DIV>
<DIV><FONT face=Courier size=2>exten =>
s,2,Dial(SIP/spa01-2,20)</FONT></DIV>
<DIV><FONT face=Courier></FONT> </DIV>
<DIV><FONT face=Courier>[inbound]</FONT></DIV>
<DIV><FONT face=Courier>exten => s,1,Answer</FONT></DIV>
<DIV><FONT face=Courier>exten => s,2,Ringing</FONT></DIV>
<DIV><FONT face=Courier>exten => s,3,Dial(SIP/spa01-2,20)</FONT></DIV>
<DIV><FONT face=Courier></FONT> </DIV>
<DIV><FONT face=Courier>[inbound]</FONT></DIV>
<DIV><FONT face=Courier>exten => s,1,Answer</FONT></DIV>
<DIV><FONT face=Courier>exten => s,2,Ringing</FONT></DIV>
<DIV><FONT face=Courier>exten => s,3,Dial(SIP/spa01-2,20,r)</FONT></DIV>
<DIV><FONT face=Courier></FONT> </DIV>
<DIV><FONT face=Courier>[inbound]</FONT></DIV>
<DIV><FONT face=Courier>exten => s,1,Answer</FONT></DIV>
<DIV><FONT face=Courier>exten => s,2,Ringing</FONT></DIV>
<DIV><FONT face=Courier>exten => s,3,Dial(SIP/spa01-2,20,tr)</FONT></DIV>
<DIV><FONT face=Courier></FONT> </DIV>
<DIV><FONT face=Courier>[inbound]</FONT></DIV>
<DIV><FONT face=Courier>exten => s,1,Answer</FONT></DIV>
<DIV><FONT face=Courier>exten => s,2,Dial(SIP/spa01-2,20,r)</FONT></DIV>
<DIV><FONT face=Courier></FONT> </DIV>
<DIV><FONT face=Courier>[inbound]</FONT></DIV>
<DIV><FONT face=Courier>exten => s,1,Answer</FONT></DIV>
<DIV><FONT face=Courier>exten => s,2,Dial(SIP/spa01-2,20,tr)</FONT></DIV>
<DIV><FONT face=Courier></FONT> </DIV></FONT><FONT face=Arial><FONT
size=2>
<DIV>Again, any 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" <<A
href="mailto:paul_vermette@hotmail.com">paul_vermette@hotmail.com</A>>
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> </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">
</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">
</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">
</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">
</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> </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> </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> </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> </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">
</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">
</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">
</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> </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> </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> </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> </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></BLOCKQUOTE></BODY></HTML>