[OpenSIPS-Users] One way audio - media port changed (opensips / mediaproxy)

Magnus Burman magnus.burman at adamo.es
Tue Feb 2 13:59:48 CET 2010


Hi,

I did a wireshark export, 2461 lines, so it's in the pastebin:

http://pastebin.ca/1775584

syslog below:

11.11.X.Y - Trunk subnet
22.22.X.Y - Proxy subnet
984000000 - UA DID
X.voip.url.es - UA sip subscriber

Jan 11 22:28:07 sbc1 media-relay[4335]: debug: Got traffic information for
stream: (audio) 11.11.6.144:40518 (RTP: Unknown, RTCP: Unknown) <->
22.22.224.9:50358 <-> 22.22.224.9:58928 <-> Unknown (RTP: 22.22.198.159:5206,
RTCP: Unknown)
Jan 11 22:28:07 sbc1 media-relay[4335]: debug: Got traffic information for
stream: (audio) 11.11.6.144:40518 (RTP: Unknown, RTCP: Unknown) <->
22.22.224.9:50358 <-> 22.22.224.9:58928 <-> Unknown (RTP: 22.22.198.159:5206,
RTCP: 22.22.198.159:5207)
Jan 11 22:28:07 sbc1 media-relay[4335]: debug: Got initial answer from
callee for stream: (audio) 11.11.6.144:40518 (RTP: Unknown, RTCP: Unknown)
<-> 22.22.224.9:50358 <-> 22.22.224.9:58928 <-> 22.22.198.159:5206 (RTP:
22.22.198.159:5206, RTCP: 22.22.198.159:5207)
Jan 11 22:28:07 sbc1 media-relay[4335]: debug: Got traffic information for
stream: (audio) 11.11.6.144:40518 (RTP: 11.11.6.144:40518, RTCP: Unknown)
<-> 22.22.224.9:50358 <-> 22.22.224.9:58928 <-> 22.22.198.159:5206 (RTP:
22.22.198.159:5206, RTCP: 22.22.198.159:5207)
Jan 11 22:29:26 sbc1 media-relay[4335]: debug: Got traffic information for
stream: (audio) 11.11.6.144:40518 (RTP: 11.11.6.144:40518, RTCP: Unknown)
<-> 22.22.224.9:50358 <-> 22.22.224.9:58928 <-> 22.22.198.159:5206 (RTP:
22.22.198.159:5206, RTCP: 22.22.198.159:5207)
Jan 11 22:54:20 sbc1 media-dispatcher[4324]: debug: Got statistics:
{'from_tag': 'e-13c4-10b392b-75e19db4-10b392b', 'dialog_id':
'1305:480665684', 'start_time': 1263245287.1800001, 'timed_out': False,
'call_id': 'a27f94c890000e3e13c410b392b13d753bdb84e00e2147f91b8-0266-6714',
'to_tag': 'ICF_197662497-514', 'streams': [{'status': 'closed',
'caller_codec': 'G711a', 'post_dial_delay': 10.768354177499999,
'callee_codec': 'G711a', 'start_time': 0, 'caller_bytes': 15733000,
'callee_bytes': 15328600, 'caller_packets': 78665, 'end_time': 1573,
'callee_remote': '22.22.198.159:5206', 'caller_remote': '11.11.6.144:40518',
'media_type': 'audio', 'callee_local': '22.22.224.9:58928', 'timeout_wait':
0, 'caller_local': '22.22.224.9:50358', 'callee_packets': 76643}, {'status':
'rejected', 'caller_codec': 'Unknown', 'post_dial_delay': None,
'callee_codec': 'Unknown', 'start_time': 0, 'caller_bytes': 0,
'callee_bytes': 0, 'caller_packets': 0, 'end_time': 0, 'callee_remote':
'Unknown', 'caller_remote': 'Unknown', 'media_type': 'image',
'callee_local': '22.22.224.9:59676', 'timeout_wait': 0, 'caller_local': '
22.22.224.9:58930', 'callee_packets': 0}], 'duration': 1573, 'to_uri': '
984000000 at 22.22.224.9:5060', 'from_uri': '34963555555 at 11.11.0.144:5060',
'callee_ua': 'unknown agent', 'caller_ua': 'CS2000_NGSS/9.0'}

Cheers,
Magnus

2010/2/2 Saúl Ibarra Corretgé <saul at ag-projects.com>

> Hi,
>
> El 02/02/10 11:54, Magnus Burman escribió:
> > Hi guys,
> >
> > I've got a problem with "sporadic" one-way audio, using latest stable
> > Opensips 1.4 and Mediaproxy 2.
> >
> > The problem occurs at re-invites, thou not every time. When it does
> > happen, the media port is changed towards the callee. Example:
> >
> > First invite:
> > INVITE Trunk:40518 --> Proxy:50358
> > INVITE Proxy:58928 --> UA:5206
> >
> > Re-invite:
> > INVITE Trunk:40518 --> Proxy:50358
> > INVITE Proxy:40518 --> UA:5206
> >
> > Notice how the Proxy port on the UA side (callee local) changed to the
> > same port that Trunk uses (caller remote).
> >
> > One way audio now occurs and naturally the call is soon hung up.
> > Mediaproxy now dumps some useful statistics showing:
> >
> > 'callee_remote': 'UA:5206'
> > 'caller_remote': 'TRUNK:40518'
> > 'callee_local': 'PROXY:58928'
> > 'caller_local': 'PROXY:50358'
> >
> > Notice here how the callee_local is the original port used.
> >
> > Where should I start looking to be able to solve this problem? Is it
> > most likely my config, something weird with the re-invite or have I
> > stumbled upon a bug?
> >
> > Thankful for every and all suggestions, as I lay sleepless at night
> > thinking about this! :-P
> >
>
> It would be nice to have a full SIP trace and the syslog output of
> MediaProxy to check if it's doing something wrong. Also, which function
> are you using for starting it?
>
>
>
> Regards,
>
>
> --
> Saúl Ibarra Corretgé
> AG Projects
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100202/06241077/attachment.htm 


More information about the Users mailing list