<div class="gmail_quote">On Tue, Sep 22, 2009 at 6:34 PM, Matt Riddell <span dir="ltr"><<a href="mailto:lists@venturevoip.com">lists@venturevoip.com</a>></span> wrote:<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">On 23/09/09 3:32 PM, Julian Yap wrote:<br>
> I have an issue where a particular dialplan works but another doesn't.<br>
> I'm not sure why. To me they look identical and it has me stumped.<br>
><br>
> This works:<br>
> [to-test]<br>
> exten => _X., 1, SetCallerPres(allowed)<br>
> exten => _X., 2, Monitor(wav,/tmp/test-${UNIQUEID},mb)<br>
<br>
</div>1, 2, yep.<br>
<div class="im"><br>
> [to-test]<br>
> exten => _X., 1, SetCallerPres(allowed)<br>
> exten => _X., 20, Monitor(wav,/tmp/test-${UNIQUEID},mb)<br>
<br>
</div>Normally 2 comes after 1 rather than 20 - looks like you're missing 2<br>
through 19 here :)<br>
</blockquote><div><br>Hmm, I guess I was under the understanding that it would work like that.<br><br>Why wouldn't this work?:<br>[to-test]<br>
exten => _X., 1, SetCallerPres(allowed)<br>
exten => _X., 2, Monitor(wav,/tmp/test-${<div id=":3g" class="ii gt">UNIQUEID},mb)<br>
exten => _X., 3, Ringing<br>
exten => _X., 4, Dial(SIP/9330@a-test,20,ro)<br>
exten => _X., 5, GotoIf($["${DIALSTATUS}" = "ANSWER"]?200)<br>
exten => _X., 6, GotoIf($["${DIALSTATUS}" = "NOANSWER"]?7)<br>
exten => _X., 7, Dial(SIP/9330@a-test2,20,ro)<br>
exten => _X., 8, GotoIf($["${DIALSTATUS}" = "ANSWER"]?200)<br>
exten => _X., 200, Hangup<br><br></div> </div></div>