[OpenSIPS-Users] (no subject)

Jorge Henrique Pinho jorge-h-pinho at ext.ptinovacao.pt
Wed Jun 12 18:35:47 CEST 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130612/b717e864/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opensips.zip
Type: application/x-zip-compressed
Size: 11942 bytes
Desc: opensips.zip
URL: <http://lists.opensips.org/pipermail/users/attachments/20130612/b717e864/attachment-0001.bin>


More information about the Users mailing list