[OpenSIPS-Users] Dialog matching problem
Jan Blom
jan.blom at peopleinteractive.se
Thu Sep 6 03:26:36 CEST 2012
Hello,
I have problems with my dialog matching, using OpenSIPS 1.8.0. I have two edge proxies, A1 and A2, and an intermediate proxy B.
An INVITE is received by A1 and passed on to B.
B processes the request and sends in to A2.
A2 send request to whatever destination that has been decided.
Both A1 and A2 want to keep track on state during the call so they create dialogs. So far so good.
However, B actually load balance the requests so a request might come back to A1. A1 will then try to create a new dialog for the same INVITE. Technically speaking this is the same dialog in terms of the RFC, however there are two dialog data structures created. I can see structures being allocated and the DID parameter in the record route header filled in properly (different values).
The problem is that the dialog matching when calling loose_route() will not find the first created dialog on subsequent requests (ACK or BYE). I am using dlg_match_mode=0 (DID only).
Am I misusing the dialog modules when trying to create two dialogs for the same call (on ingress and egress)?
Since I actually have got two different DID parameters on two record route headers, I cannot see why it shouldn't work.
I cannot seem to find another way to do it, since I cannot know if I am back to the same edge proxy or not.
Regards,
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120906/40bd3fa2/attachment.htm>
More information about the Users
mailing list