Project

General

Profile

Bug #3105

osmo-sip-connector silently discards SIP messages

Added by laforge 4 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
03/23/2018
Due date:
% Done:

100%

Estimated time:
Resolution:

Description

I'm sending SIP messages from SIP_Tests.ttcn to osmo-sip-connector and while I can see it receives them in strace, osmo-sip-connector is not logging anything about them.

I would expect that at least with logging sip debug I would get some kind of message even if the SIP message coudln't be parsed, and/or some error is generated in response?

20180323-sip-invite.pcapng 20180323-sip-invite.pcapng 8.3 KB laforge, 03/23/2018 07:12 PM

History

#1 Updated by laforge 4 months ago

  • Status changed from New to In Progress

#2 Updated by laforge 4 months ago

  • % Done changed from 0 to 10

The problem seems to be that we don't register a logger with libsofia-sip using su_log_redirect so we don't get any log messages from sofia-sip in our logs.

#3 Updated by laforge 3 months ago

  • % Done changed from 10 to 80

See https://gerrit.osmocom.org/7812 where we use a default log level of "2" to catch only fatal and non-fatal errors.

#4 Updated by laforge 3 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 80 to 100

merged

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)