<br><br><div><span class="gmail_quote">On 9/19/05, <b class="gmail_sendername">Colin Anderson</b> &lt;<a href="mailto:ColinA@landmarkmasterbuilder.com">ColinA@landmarkmasterbuilder.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;">







<div><span><font color="#0000ff" face="Arial" size="2">[default]</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div><span><font color="#0000ff" face="Arial" size="2">exten 
=&gt; 1,1,Playback(YouPressedOne)</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2">exten 
=&gt; 1,2,Playback(BecauseYouPressed1IWillCallCarol)</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2">exten 
=&gt; 1,3,Goto(first-ivr,s,1)</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div><span>
<div><span><font color="#0000ff" face="Arial" size="2">exten 
=&gt; 2,1,Playback(YouPressedTwo)</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2">exten 
=&gt; 2,2,Playback(BecauseYouPressed1IWillCallCarol)</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2">exten 
=&gt; 2,3,Goto(second-ivr,s,1)</font></span></div>
<div><span><span><span><font color="#0000ff" face="Arial" size="2"></font></span></span></span>&nbsp;</div>
<div><span><span><span><font color="#0000ff" face="Arial" size="2">exten =&gt; 
3,1,Playback(YouPressedTwo)</font></span></span></span></div>
<div>
<div><span><font color="#0000ff" face="Arial" size="2">exten 
=&gt; 
3,2,Playback(BecauseYouPressed3IWillSendYouToVoicemail)</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2">exten 
=&gt; 3,3,Goto(third-ivr,s,1)</font></span></div></div></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div><span><font color="#0000ff" face="Arial" size="2">[first-ivr]</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div><span><font color="#0000ff" face="Arial" size="2">exten 
=&gt; s,1,Dial(InsertDialStatementHere)</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2">
</font><div><span><font color="#0000ff" face="Arial" size="2"><font color="#0000ff" face="Arial" size="2">exten 
=&gt; s,2,Playback(Goodbye)</font></font></span></div></span></div>
<div><span><font color="#0000ff" face="Arial" size="2">exten 
=&gt; s,3,Hangup</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div><span>
<div><span><font color="#0000ff" face="Arial" size="2">[second-ivr]</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div><span><font color="#0000ff" face="Arial" size="2">exten 
=&gt; s,1,Dial(InsertDialStatementHere)</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2">
<div><span><font color="#0000ff" face="Arial" size="2">exten 
=&gt; s,2,Playback(Goodbye)</font></span></div>
<div><span><span><font color="#0000ff" face="Arial" size="2">exten =&gt; 
s,3,Hangup</font></span></span></div>
<div><span><span>&nbsp;
<div><span><font color="#0000ff" face="Arial" size="2">[third-ivr]</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div><span><font color="#0000ff" face="Arial" size="2">exten 
=&gt; s,1,VoiceMailMain(default)</font></span></div>
<div><span></span><span><font color="#0000ff" face="Arial" size="2"><span><font color="#0000ff" face="Arial" size="2">exten =&gt; 
s,2,Playback(Goodbye)</font></span></font></span></div></span></span></div></font></span></div></span></div>
<div><span><span><font color="#0000ff" face="Arial" size="2">exten =&gt; 
s,3,Hangup</font></span></span></div>
<div><span><span></span></span>&nbsp;</div>
<div><span>Get it? In a context (which is the name 
specified in brackets) , the first number in a statement indicates the 
extension, which Asterisk interprets through a DTMF tone (you press buttons to 
dial something) or a DID number for inbound calls (in the case of a PRI) and 
executes statements according to the priority, which is the next number. 
</span></div></blockquote><div><br>
<br>
In the above example, you have to press 1,2 or 3 before it will tell
you that. I was wanting it to tell me before I pressed those numbers.<br>
<br>
Can an IAX device be setup so that it appears to be an inbound DID, and if so how can I do that with the IAXy?<br>
<br>
<br>
--<br>
John<br>
</div></div>