Maybe have your uas registered in different contexts for outbound calling.  Then have those contexts only available to dial the appropriate gw?

Just a thought.  I know you could probably do this with wildcard source routing but that seems like overkill.

Jamie



On Tue, 2005-06-14 at 18:09 -0700, Kamran Ahmad wrote:
Hello

i have two GWs and some uas. i want if ua (bw 3000 to
4010) is calling any number then this call will be
routed to first GW and if ua (bw 4020 to 5000) want to
call any number this call will be routed to second GW.


Gateways=GW1,GW2
UAs=3000 to 5000

if 3000 wants to call any number ip or pstn then
Dial(GW1), if 4500 want to call any number ip or pstn
then Dial(GW2)

thanks
Kamran



		
__________________________________ 
Discover Yahoo! 
Have fun online with music videos, cool games, IM and more. Check it out! 
http://discover.yahoo.com/online.html
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
--
Jamie Carl <[EMAIL PROTECTED]>
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to