[OpenSIPS-Users] B2B routing

Anca Vamanu anca at opensips.org
Mon Apr 11 16:38:29 CEST 2011


Hi Anton,


On 04/08/2011 03:51 PM, Anton Zagorskiy wrote:
>
> It seems that it happens when 2 BYEs received at same time, here is call
> flow for BYEs (Leg1 is a leg between UA1 and OpenSIPS B2B, Leg2 is a leg
> between OpenSIPS B2B and UA2):
>
> 1.
> Leg 1:  UA1 ->  (BYE)  ->  OpenSIPS ->  (BYE) ->  OpenSIPS B2B;
> Leg 2:  OpenSIPS B2B ->  (BYE) ->  UA2;
>
> 2.
> Leg 2. UA2 ->  (BYE) ->  OpenSIPS B2B ->  (OK) ->  UA2;  Here started OK reply
> through both legs, which is generated by OpenSIPS - is it normal?
>
At these point the B2BUA considers the dialog closed - because BYE was 
received from both sides, and sends 200OK to both sides. After this, it 
deletes the call record.
> 3.
> Leg 1: OpenSIPS B2B ->  (OK) ->  OpenSIPS ->  (OK) ->  UA1;
>
> 4.
> Leg 2: UA2 ->  (OK) ->  OpenSIPS B2B.
>
So at this point, the 200 OK will no longer have a match. So that error 
message that you see in the log is not important. Everything functions 
the way it has to.
> So, I have two questions:
> 1) OpenSIPS B2B generated OK reply for both legs - is it normal? (dialog
> module isn't used)
> 2) The reason of the ERROR message is the OK reply in a stage 4. Is this UA2
> bug?
>
>
> Thanks!

Regards,

-- 
Anca Vamanu
OpenSIPS Developer





More information about the Users mailing list