Project

General

Profile

Actions

Bug #3105

closed

osmo-sip-connector silently discards SIP messages

Added by laforge about 6 years ago. Updated almost 6 years ago.

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

100%

Resolution:
Spec Reference:

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?


Files

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

Updated by laforge about 6 years ago

  • Status changed from New to In Progress
Actions #2

Updated by laforge about 6 years 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.

Actions #3

Updated by laforge almost 6 years 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.

Actions #4

Updated by laforge almost 6 years ago

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

merged

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)