<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>OK, Tried switch.... I think this is correct....</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>[pbx_server]<br>switch => IAX2/user:pw@192.168.0.2/default  (of course with the correct user/pass)<br><br></span></div><div>and at the receiving end I get -<br><br>slate*CLI><br>    -- Accepted AUTHENTICATED TBD call from 192.168.0.124<br> <br>but it does not complete the call.  I am calling this
 from an app that captures DTMF over the radio and send to a context. The extension does get there as confirmed when using the xxx for a three digit extension. <br><br>Is the above "switch" statement all that is needed in the context?  My dialplan  at the server end is entirely in the default context.<br><br>Doug<a rel="nofollow" target="_blank" href="http://www.crompton.com/"></a><br></div><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Sunday, November 17, 2013 2:44 AM, Mitul Limbani <mitul@enterux.in> wrote:<br> </font> </div> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">
  <div class="y_msg_container"><div id="yiv3386308070"><div><div>If using IAX then I would recommend setting up DUNDi or Switch statement in dialplan. </div>
<div>Mitul</div>
<div class="yiv3386308070yqt6672312934" id="yiv3386308070yqtfd98728"><div class="yiv3386308070gmail_quote">On Nov 17, 2013 12:50 PM, "Steve Edwards" <<a rel="nofollow" shape="rect" ymailto="mailto:asterisk.org@sedwards.com" target="_blank" href="mailto:asterisk.org@sedwards.com">asterisk.org@sedwards.com</a>> wrote:<br clear="none"><blockquote class="yiv3386308070gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Sat, 16 Nov 2013, Doug wrote:<br clear="none">
<br clear="none">
<blockquote class="yiv3386308070gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I want to be able to pass any number (variable length) to a context and then forward that to another asterisk server for processing by that servers dial plan.<br clear="none">
<br clear="none">
If I use a  _x!  it just stops at the first character.<br clear="none">
</blockquote>
<br clear="none">
How about '_x.' or '_!.'<br clear="none">
<br clear="none">
Note that '!' will match any alphanumeric -- including T, h, i, s, t, etc.<br clear="none">
<br clear="none">
-- <br clear="none">
Thanks in advance,<br clear="none">
------------------------------<u></u>------------------------------<u></u>-------------<br clear="none">
Steve Edwards       <a rel="nofollow" shape="rect" ymailto="mailto:sedwards@sedwards.com" target="_blank" href="mailto:sedwards@sedwards.com">sedwards@sedwards.com</a>      Voice: <a href="" rel="nofollow" shape="rect">+1-760-468-3867</a> PST<br clear="none">
Newline                                              Fax: <a href="" rel="nofollow" shape="rect">+1-760-731-3000</a><br clear="none">--<br clear="none">
_____________________________________________________________________<br clear="none">
-- Bandwidth and Colocation Provided by <a rel="nofollow" shape="rect" target="_blank" href="http://www.api-digital.com/">http://www.api-digital.com</a> --<br clear="none">
New to Asterisk? Join us for a live introductory webinar every Thurs:<br clear="none">
               <a rel="nofollow" shape="rect" target="_blank" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a><br clear="none">
<br clear="none">
asterisk-users mailing list<br clear="none">
To UNSUBSCRIBE or update options visit:<br clear="none">
   <a rel="nofollow" shape="rect" target="_blank" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br clear="none"></blockquote></div></div></div></div><br><div class="yqt6672312934" id="yqtfd17585">-- <br clear="none">_____________________________________________________________________<br clear="none">-- Bandwidth and Colocation Provided by <a shape="rect" href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com </a>--<br clear="none">New to Asterisk? Join us for a live introductory webinar every Thurs:<br clear="none">               <a shape="rect" href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br clear="none"><br clear="none">asterisk-users mailing list<br clear="none">To UNSUBSCRIBE or update options visit:<br clear="none">   <a shape="rect"
 href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></div><br><br></div> </blockquote>  </div> </div>   </div> </div></body></html>