Kamran Ahmad
2005-Jun-14 18:09 UTC
[Asterisk-Users] how to make a dialplan on bases of Caller
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
Jamie Carl
2005-Jun-14 18:45 UTC
[Asterisk-Users] how to make a dialplan on bases of Caller
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 > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Jamie Carl <jamie.carl@achievecorp.com.au> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050614/ebcc86e4/attachment.htm