[OpenSIPS-Users] (no subject)

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Jun 17 13:40:59 CEST 2013


Hello Jorge,

I see your problem - the 2 BYEs have different Cseq numbers. Where do
you trigger the terminate_call function ? in what context and from where
exactly ?

Best regards,

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


On 06/14/2013 01:41 PM, Jorge Henrique Pinho wrote:
>
> Hi Bogdan!
>
> It is supposed to send the Bye, but b2b is generating two BYEs (it is
> not retransmission) to end the same leg.
>
> You can see in the attachment the pcap capture that show this behavior.
>
> Do you know why b2b is generating the extra messages?
>
> Kind regards!
>
> Jorge Pinho
>
>  
>
> *From:*Bogdan-Andrei Iancu [mailto:bogdan at opensips.org]
> *Sent:* sexta-feira, 14 de Junho de 2013 11:31
> *To:* Jorge Henrique Pinho
> *Cc:* OpenSIPS users mailling list
> *Subject:* Re: [OpenSIPS-Users] (no subject)
>
>  
>
> Ok, going back to b2b then.
>
> Why it is not supposed to send  BYE to B ? if you do terminate_call,
> all legs will be terminated.
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
>
> On 06/14/2013 11:46 AM, Jorge Henrique Pinho wrote:
>
> Hi bogdan!
>
> Yes, I prefer to use b2b, if you can look into the problem I'll be
> very grateful.
>
>  
>
> Kind regards!
>
>  
>
> Jorge Pinho
>
>  
>
> *From:*Bogdan-Andrei Iancu [mailto:bogdan at opensips.org]
> *Sent:* quinta-feira, 13 de Junho de 2013 17:43
> *To:* Jorge Henrique Pinho
> *Cc:* OpenSIPS users mailling list
> *Subject:* Re: [OpenSIPS-Users] (no subject)
>
>  
>
> Hello Jorge,
>
> For exactly those purposes you can use dialog module (topo hiding and
> call termination), but in a lighter and simpler fashion.
>
> If you are keen to use the b2b, I can look into the problem.
>
> Regard,
>
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
>
> On 06/13/2013 04:56 PM, Jorge Henrique Pinho wrote:
>
> Hi Bogdan!
>
> It choose b2b support with topo hiding because this way the module
> will automatically match and forward requests and replies.
>
> In this example when I receive a bad formatted 200OK I need to
> immediately end the call. The call is ended in both clients but b2b is
> sending two BYE messages to B instead of one.
>
> What could be causing this behavior?
>
>  
>
> Kind regards,
>
>  
>
> Jorge Pinho
>
>  
>
>  
>
> *From:*Bogdan-Andrei Iancu [mailto:bogdan at opensips.org]
> *Sent:* quarta-feira, 12 de Junho de 2013 18:26
> *To:* OpenSIPS users mailling list
> *Cc:* Jorge Henrique Pinho
> *Subject:* Re: [OpenSIPS-Users] (no subject)
>
>  
>
> Hi Jorge,
>
> First of all, why do you want to use b2b support if you only need topo
> hiding and to terminate a call ? For these you can simply use the
> dialog module, which is a much lighter approach (with less probability
> for complications).
>
> Have you consider to use the dialog module, with topology_hiding()
> script function and dlg_end_dlg MI function ?
>
> Regards,
>
>
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
>
> On 06/12/2013 07: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. Log is in the attachment.
>
> Can you help me fix this?
>
> Kind regards
>
> Jorge Pinho
>
>  
>  
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto: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/20130617/adec207f/attachment-0001.htm>


More information about the Users mailing list