[OpenSIPS-Users] How to force rtpproxy to replace varios c= lines in the SDP

Iñaki Baz Castillo ibc at aliax.net
Thu Nov 19 22:19:37 CET 2009

Hi, I receive a wrong SDP from a gateway:

o=Quintum 12062 399792571 IN IP4
c=IN IP4                        
t=0 0                                       
m=audio 10726 RTP/AVP 8 101                 
c=IN IP4                        
a=rtpmap:8 PCMA/8000/1                      
a=rtpmap:101 telephone-event/8000/1         

As you see "c=" line appears twice which IMHO is wrong.
When I apply RtpProxy for this SDP it replaces the second "c=" line and but 
phone takes the first one so I get one-way-audio.

Is there any workaroud without using string replaces?


Iñaki Baz Castillo <ibc at aliax.net>

More information about the Users mailing list