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

2009-11-19 Thread Iñaki Baz Castillo
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 i...@aliax.net

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2009-11-19 Thread Iñaki Baz Castillo
El Jueves, 19 de Noviembre de 2009, Ovidiu Sas escribió:
 Check the docs:
 http://www.opensips.org/html/docs/modules/devel/nathelper.html#id271367
 - flag 'c'.
 Two c= lines are ok according to the rfc.

Thanks, using c flag is the key :)


-- 
Iñaki Baz Castillo i...@aliax.net

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2009-11-19 Thread Iñaki Baz Castillo
El Jueves, 19 de Noviembre de 2009, Iñaki Baz Castillo escribió:
 El Jueves, 19 de Noviembre de 2009, Ovidiu Sas escribió:
  Check the docs:
  http://www.opensips.org/html/docs/modules/devel/nathelper.html#id271367
  - flag 'c'.
  Two c= lines are ok according to the rfc.
 
 Thanks, using c flag is the key :)

Oh my good!!! there was no bug at all, neither in the gateway, OpenSIPS 
rtpproxy module or client... then problem is my microphone which is broken 
now!

x 


-- 
Iñaki Baz Castillo i...@aliax.net

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users