Hello All
I’m currently working with the route_to_carrier function for an upcoming
implementation and have a few questions. Below is the structure of my
dr_carriers table:
id carrierid gwlist flags sort_alg state description
1 Carrier test-gw 0 N 0 Carrier
2 PSTN term-gw,term-gw2 0 W 0 PSTN
I’m calling the following function:
route_to_carrier("PSTN")
However, I’ve noticed that calls are only routed to the first gateway (term-gw)
in the gwlist column, and not to the second one (term-gw2).
Here are my main questions:
1. How can I enable weighted routing while using the route_to_carrier
function?
2. Is it possible to use the use_next_gw function in combination with
route_to_carrier for handling route failures?
I would appreciate any insights or guidance you could provide on this.
Best Regards,
Ali
Ali Dogan
+44(0)3300 88 18 18
[email protected]
plan.com is the trading name of Plan Communications Limited, registered in the
Isle of Man with company number 010273V and Registered Office at No.5 Victoria
Street, Douglas, Isle of Man, IM1 2LR. This email and any attachments to it may
be confidential and are intended solely for the use of the individual to whom
it is addressed. Any views or opinions expressed are solely those of the author
and do not necessarily represent those of Plan. If you are not the intended
recipient of this email, you must neither take any action based upon its
contents, nor copy or show it to anyone. Please contact the sender if you
believe you have received this email in error.
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users