[OpenSIPS-Users] Dynamic routing module handling Re-invite

Răzvan Crainea razvan at opensips.org
Thu Sep 17 14:13:39 CEST 2015


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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150917/dbea765f/attachment.htm>


More information about the Users mailing list