[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:

v=0
o=Quintum 12062 399792571 IN IP4 88.8.88.146
s=VoipCall                                  
c=IN IP4 88.8.88.146                        
t=0 0                                       
m=audio 10726 RTP/AVP 8 101                 
c=IN IP4 88.8.88.146                        
a=rtpmap:8 PCMA/8000/1                      
a=ptime:20                                  
a=rtpmap:101 telephone-event/8000/1         
a=sendrecv  


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?

Thanks.

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



More information about the Users mailing list