[Spce-user] 200 OK answer from wrong socket after BYE from peer

Andrew Pogrebennyk apogrebennyk at sipwise.com
Mon Apr 29 04:35:52 EDT 2013

Hello Martin,

On 04/29/2013 10:23 AM, Klisch, Martin wrote:
> After analyzing it seems that there is a problem with the routing via
> SEMS. So in the BYE from LB to SEMS I can see the correct P-Sock-Info
> header with the extra socket. But as SEMS tears down the connection as
> B2BUA there is P-Out-Socket in the 200 OK generated by SEMS. Therefore
> the default socket of the LB is used to send the 200 OK back to the
> Softswitch. Of course the Softswtich does never see the 200 OK because
> of firewall and routing setting.
> Is this as designed or a bug?

This is a bug. I was checking for an alternative way to fix it, as sems
can't do any manipulations on in-dialog requests or replies.

> My current workaround is setting the
> correct FS after checking for 200 OK replies of BYE messages with the
> help of the received header.

Would you mind sharing your patch with me? I'm going to check the issue
with Andreas Granig and maybe we would accept your patch into upstream.

Best regards / freundliche Grüße nach Leipzig

More information about the Spce-user mailing list