<div class="gmail_quote">2009/4/19 Matthew Pounsett <span dir="ltr">&lt;<a href="mailto:matt@conundrum.com">matt@conundrum.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
<br>
</div><div class="im">On 18-Apr-2009, at 17:17, John F. Ervin wrote:<br>
<br>
&gt; Can&#39;t you handle that by defining an outbound route? set it to hit a<br>
&gt; trunk or set of trunks when the correct dial pattern is detected?<br>
<br>
</div>Probably, for the one specific example of using a different trunk, but<br>
that doesn&#39;t solve the problem I asked about:  using a dial pattern to<br>
change variables or other session state then returning to waiting for<br>
an extension to be dialled.   Changing the TRUNK global is just one<br>
thing that could be done with it.  Other example use cases might be<br>
changing outbound caller ID, setting up call recording, etc.<br>
<br>
The WaitExten suggestion was pretty close.. it does what I want, but<br>
without giving a dial tone.  I ended up using DISA instead.<br></blockquote><div><br>If you want to use WaitExten, but want a dialtone, that&#39;s possible too, just need to insert a Playtones(dial) before it...<br><br>d <br>
</div></div><br>