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

Ovidiu Sas osas at voipembedded.com
Thu Nov 19 22:24:47 CET 2009


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.

Regards,
Ovidiu Sas

On Thu, Nov 19, 2009 at 4:19 PM, Iñaki Baz Castillo <ibc at aliax.net> wrote:
> 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>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list