<div>You're on the right track.</div>
<div>Try the following:</div>
<div>&nbsp;</div>
<div>[whatever]</div>
<div>exten =&gt; 988,1,Answer</div>
<div>exten =&gt; 998,2,Background(agent-newlocation)</div>
<div>exten =&gt; 998,3,DigitTimeout,5<br>exten =&gt; 998,4,ResponseTime,10</div>
<div>&nbsp;</div>
<div>exten =&gt; _XXXX,1,Dial(<a href="mailto:SIP/${EXTEN}@{SERADDRESS},60,tr">SIP/${EXTEN}@{SERADDRESS},60,tr</a>)<br>&nbsp;</div>
<div>exten =&gt; i,1,Playback(pbx-invalid)<br>exten =&gt; i,2,goto(whatever,988,2)</div>
<div>&nbsp;</div>
<div>Good luck,</div>
<div>&nbsp;</div>
<div>bp</div>
<div>&nbsp;</div>
<div><span class="gmail_quote">On 11/3/06, <b class="gmail_sendername">Evert</b> &lt;<a href="mailto:evert@poboxes.info">evert@poboxes.info</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi all!<br><br>I need a simple plan for the following:<br><br><br>*answer call<br>*wait for 4 digit extension
<br>*send call to 4-digit extension entered.<br><br>I tried the following, but that doesn't work...<br><br>exten =&gt; 998,1,Answer()<br>exten =&gt; 998,2,Background(agent-newlocation)<br>exten =&gt; 998,n,WaitExten(20)<br>
exten =&gt; 998,n,Dial(SIP/${EXTEN}@${SERADDRESS},60,tr)<br><br><br>WaitExten obviously does not fill EXTEN with its value...<br><br><br><br>Anyone any suggestions?<br><br><br>Regards,<br>Evert<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>