<div>Aaron,</div> <div> </div> <div>There are probably plenty of ways to do this, off the top of my head, if you add a 'include => go-to-pbx' context within the context where your Asterisk patterns are, and there is no match, Asterisk will then begin to check the 'include' contexts in order. (It does not even look at them if it can find a match in the current context. So ... put such an include with a 'catch all' dial plan within 'go-to-pbx' that will handle any patterns that don't match and send them off to your alternate pbx.</div> <div> </div> <div>philippe<BR></div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR>From: "Aaron Paxson" <aj@thepaxson5.org><BR>To: <asterisk-users@lists.digium.com><BR>Date: Thu, 18 May 2006 09:26:50 -0400<BR>Subject: [Asterisk-Users] Default dialplan??<BR><BR> <META content="MSHTML 6.00.2900.2873" name=GENERATOR> <STYLE></STYLE> <DIV><FONT face=Arial
size=2>Hey all!</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I've got my Asterisk box tied into my PBX. Currently, if a call comes into my PBX, and can't find the extension, it forwards it through my Asterisk trunk to Asterisk.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>This works great!</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Is there a special dialplan function (or common usage pattern) that can do the same thing in Asterisk? i.e. If it can't find the extension, send it out Zap/g1?</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>My dialplan works with patterns, but patterns isn't what I need here. Is anyone doing anything like this?</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Thanks!</FONT></DIV> <DIV><FONT
face=Arial size=2>~~Aaron</FONT></DIV></BLOCKQUOTE><p>
                <hr size=1><a href="http://us.rd.yahoo.com/mail_us/taglines/postman3/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com">Yahoo! Messenger with Voice.</a> PC-to-Phone calls for ridiculously low rates.