<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.6.2">
</HEAD>
<BODY>
Maybe have your uas registered in different contexts for outbound calling. Then have those contexts only available to dial the appropriate gw?<BR>
<BR>
Just a thought. I know you could probably do this with wildcard source routing but that seems like overkill.<BR>
<BR>
Jamie<BR>
<BR>
<BR>
<BR>
On Tue, 2005-06-14 at 18:09 -0700, Kamran Ahmad wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Hello</FONT>
<FONT COLOR="#000000">i have two GWs and some uas. i want if ua (bw 3000 to</FONT>
<FONT COLOR="#000000">4010) is calling any number then this call will be</FONT>
<FONT COLOR="#000000">routed to first GW and if ua (bw 4020 to 5000) want to</FONT>
<FONT COLOR="#000000">call any number this call will be routed to second GW.</FONT>
<FONT COLOR="#000000">Gateways=GW1,GW2</FONT>
<FONT COLOR="#000000">UAs=3000 to 5000</FONT>
<FONT COLOR="#000000">if 3000 wants to call any number ip or pstn then</FONT>
<FONT COLOR="#000000">Dial(GW1), if 4500 want to call any number ip or pstn</FONT>
<FONT COLOR="#000000">then Dial(GW2)</FONT>
<FONT COLOR="#000000">thanks</FONT>
<FONT COLOR="#000000">Kamran</FONT>
<FONT COLOR="#000000">                </FONT>
<FONT COLOR="#000000">__________________________________ </FONT>
<FONT COLOR="#000000">Discover Yahoo! </FONT>
<FONT COLOR="#000000">Have fun online with music videos, cool games, IM and more. Check it out! </FONT>
<FONT COLOR="#000000"><A HREF="http://discover.yahoo.com/online.html">http://discover.yahoo.com/online.html</A></FONT>
<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">Asterisk-Users mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</A></FONT>
<FONT COLOR="#000000"><A HREF="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A></FONT>
<FONT COLOR="#000000">To UNSUBSCRIBE or update options visit:</FONT>
<FONT COLOR="#000000"> <A HREF="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-use</FONT>rs</A>
</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
Jamie Carl <<A HREF="mailto:jamie.carl@achievecorp.com.au">jamie.carl@achievecorp.com.au</A>>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>