I put the gwid of the gateway I into the attr col in dr_routing, then add that column into the acc table. That meets the needs you described
-Brett On Mar 6, 2010, at 6:04 AM, Oleg Burlacu <[email protected]> wrote: The routing decision in based on prefix and preference. But the idea is to put into accouning also the gateway id, not only the ip/port/transport combination (because there can be identical ip/port/transport). I think already to assign multiple ip aliases on the gateway, and route the calls to different ips of the same gw. But it is not flexible. On Sat, Mar 6, 2010 at 1:36 PM, Brett Nemeroff <[email protected]> wrote: > What then would you like to make the routing decision based on? > > > On Sat, Mar 6, 2010 at 2:34 AM, Oleg Burlacu <[email protected]>wrote: > >> Hi all, >> >> Is there a method of getting inside the opensips config script one >> custom value for the gateway to which the call is routed? Not IP, port, >> transport - because they are identical in my situation. >> >> >> Thanks, >> Oleg >> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
