Least cost routing (LCR) module implements two related capabilities:
LCR may sequentially forward requests to one or more gateways using the load_gws and next_gw functions.
LCR may sequentially forward contacts if they don't share the the same qvalues. Use the functions load_contacts and next_contacts to access and select a contact.