Project

General

Profile

Actions

Bug #3431

closed

IP in SDP is reversed

Added by sammachin over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
07/29/2018
Due date:
% Done:

100%

Spec Reference:

Description

I'm trying to make a call from my GSM to the co-located asterisk box running an echo test application. I'm using the osmo-sip-connector and the call setup seems to go fine but there is no media, looking at the SDP for the invite the IP address in there is backwards, it should be 78.158.87.45 but its showing in SDP as 45.87.158.78.

Here's the INVITE:
PVS*PVv E@[NW-NW,INVITE sip::5060 SIP/2.0
Via: SIP/2.0/UDP 78.158.87.45:5069;rport;branch=z9hG4bKUN1Xjg18UaH9N
Max-Forwards: 70
From: <sip::5069>;tag=B4yjyp8am9QZD
To: <sip::5060>
Call-ID: a1fb000e-0dd0-1237-ed83-005056ac7620
CSeq: 935421206 INVITE
Contact: <sip:78.158.87.45:5069>
User-Agent: sofia-sip/1.12.11devel
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE
Supported: timer, 100rel
Content-Type: application/sdp
Content-Length: 128

v=0
o=Osmocom 0 0 IN IP4 45.87.158.78
s=GSM Call
c=IN IP4 45.87.158.78
t=0 0
m=audio 16004 RTP/AVP 0
a=rtpmap:0 GSM/8000

I'm running:
osmo-mgw 1.3.0
osmo-bsc & msc report Version UNKNOWN

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)