Fatima Chahrour~Vanrise Support writes:

> Isn't putting priority 1 for gateway 1 means take this gateway of id 1 as
> first choice in routing?

smaller priority value means higher priority.  but if i remember
correctly, in your script you used append_branch, which may be appending
each new branch in front of the previous one.  if so, the priority order
that next_gw() function returns the gateways, get reversed.

-- juha

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to