[OpenSIPS-Devel] [ opensips-Bugs-2998140 ] SDP/RTCP parse error in mediaproxy module

SourceForge.net noreply at sourceforge.net
Fri May 7 14:37:27 CEST 2010


Bugs item #2998140, was opened at 2010-05-07 13:46
Message generated for change (Comment added) made by saghul
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2998140&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.6.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Thomas Gelf (thomas_gelf)
Assigned to: Nobody/Anonymous (nobody)
Summary: SDP/RTCP parse error in mediaproxy module

Initial Comment:
After upgrading to latest OpenSIPS 1.6.x branch (revision 6844) and Mediaproxy 2.4.2, I discovered errors such as

ERROR:mediaproxy:get_rtcp_ip_attribute: invalid `a=rtcp' line in SDP body

in my syslog. However, SDP seems to be correct:

c=IN IP4 192.0.2.10
m=audio 7078 RTP/AVP 9 8 0 2 102 100 99 97 18 120 121 101
a=sendrecv
...
a=rtcp:7079

As of RFC 3605 example RTCP encodings could be:

    m=audio 49170 RTP/AVP 0
    a=rtcp:53020

    m=audio 49170 RTP/AVP 0
    a=rtcp:53020 IN IP4 126.16.64.4

    m=audio 49170 RTP/AVP 0
    a=rtcp:53020 IN IP6 2001:2345:6789:ABCD:EF01:2345:6789:ABCD

I gave a quick look at the source code, it seems that the Mediaproxy module expects the variant in the middle (port and IP) and logs the above error in the "port-only" variant.

Best regards,
Thomas Gelf

-- 
 mail: thomas at gelf.net
  web: http://thomas.gelf.net/


----------------------------------------------------------------------

Comment By: saghul (saghul)
Date: 2010-05-07 14:37

Message:
Hi Thomas,

Indeed, before RTCP line wasn't even parsed sho that's why you see this
now. I wasn't aware of the port only variant, I'll fix the code so that the
error message doesn't get printed.

The behavios should be corret, even if that error is printed, because
there is no IP to fix, or do you experience any other issue?

Thanks for your report!

Regards,

--
Saúl Ibarra Corretgé
AG Projects

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2998140&group_id=232389



More information about the Devel mailing list