<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>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. I have the two talking IAX2 so that part is done. I can also dial a number from the sending to the server asterisk. The problem is I don't want to have to create (duplicate) dial plans at originating Asterisk to equal those at the server. I want to send the raw extension that enters a context and then send it to the other Asterisk in entirety for processing. Is there a way to do this?</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></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;">What I want to do is like "early dial" on a SIP phone but between two Asterisk systems. As soon as a match is made the call is processed. <br></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></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;">This works for a three digit extension but I want to send an any length extension that hits this context in entirety. If I use a _x! it just stops at the first character. Extensions I want to send to the far end are a combination of 2,3,4 and 10 digit
numbers.<br></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;">[pbx_server]<br>exten => _xxx,1,Answer<br>exten => _xxx,n,Dial(IAX2/pbx/${EXTEN})<br>exten => _xxx,n,Playback(vm-nobodyavail)<br>exten => _xxx,n,Hangup<br><br><span></span></div><div><br></div><div>Doug<br><a rel="nofollow" target="_blank" href="http://www.crompton.com/"></a><br></div></div></body></html>