[OpenSIPS-Users] b2b terminate_call!

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Mar 7 18:43:53 CET 2013


Hi Jorge,

Why is the order important ( A or B first) ? as you simply want to 
terminate the whole call :).

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 03/07/2013 05:35 PM, Jorge Henrique Pinho wrote:
>
> Hi, I am using opensips with b2b module with topology hiding.
>
> I am trying to terminate a call when i receive the 200OK response to a 
> Re-Invite. To accomplish this i am using the 'terminate_call' function 
> defined in b2b_logic module.
>
> The dialog is establish and an user sends an in dialog Invite to 
> renegotiate codecs, but the 200OK reply is mal formed. In consequence 
> I need to terminate the call at this stage.
>
> To accomplish this I am using the terminate_call function present in 
> b2b_logic module. When I receive the 200OK bad formatted message, I 
> invoke the terminate_call function. The behavior of b2b is this :
>
> A ----------------- Opensips (B2B) ------------------------ B
>
> A   Re-Invite à           |             Re-Invite à           B
>
> A                                     |             200 OK* ß          
> B *Bad formatted 200OK
>
> A    BYE ß                    | 
>                                            B
>
> A                                     |          BYE 
> à                    B
>
> A                                     |          ACK 
> à                    B
>
> A                                     |          BYE 
> à                    B
>
> It seems that b2b is sending a first BYE to B that was not supposed to.
>
> Can you help me fix this?
>
> Kind regards
>
> Jorge Pinho
>
>
> _______________________________________________
> 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/20130307/c0824941/attachment.htm>


More information about the Users mailing list