Hi, Ping!

Only the initial INVITE should be routed based on drouting. Sequential requests, such as RE-INVITE should be handled according to the Route/Record-Route mechanism.

Best regards,

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

On 09/16/2015 04:42 PM, Ping Han wrote:
Hi,

I am using dynamic routing module to route the calls to a "carrier", which is configured to have two gateways (each has 50% weight). The expect behavior is that the one call is routed to gateway 1 and the next call is routed to gateway 2.

I have a particular scenario, which is that each call has a Re-invite following the initial Invite. What I saw is that the initial call goes to gateway 1 and the re-invite goes to gateway 2. This causes a problem because gateway 2 knows anything about the initial Invite and takes the re-invite as a new Invite.

How does Opensips handles this using Dynamic routing module? Is there a way that Opensips always routes the Re-invite to the same gateway that it routes the initial Invite to?

Thanks,
Ping




_______________________________________________
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

Reply via email to