profile configs are apparently case sensitive.
if we have weird clients who send lowercase and uppercase codec strings
then it will break.
Kelvin Chua


On Mon, Sep 22, 2014 at 8:35 PM, Kelvin Chua <[email protected]> wrote:
> here is an sdp from linphone, in case the word opus is small caps, it
> isn't matched either
>
> sems receives this:
>
> v=0
> o=6585080674 1475 2144 IN IP4 10.0.108.248
> s=Talk
> c=IN IP4 10.0.108.248
> b=AS:380
> t=0 0
> m=audio 7076 RTP/AVP 124 101
> a=rtpmap:124 opus/48000/2
> a=fmtp:124 useinbandfec=1; stereo=0; sprop-stereo=0
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
>
>
> sems sends this out:
>
> v=0
> o=6585080674 1475 2144 IN IP4 10.0.108.248
> s=Talk
> c=IN IP4 128.199.167.163
> t=0 0
> m=audio 1026 RTP/AVP 0 124 101 125
> a=rtpmap:0 PCMU/8000
> a=rtpmap:124 opus/48000/2
> a=fmtp:124 useinbandfec=1; stereo=0; sprop-stereo=0
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
> a=rtpmap:125 OPUS/48000/2
> a=fmtp:125 maxplaybackrate=16000; sprop-maxcapturerate=16000;
> useinbandfec=0; stereo=0; sprop-stereo=0
> a=sendrecv
> a=direction:both
> Kelvin Chua
>
>
> On Mon, Sep 22, 2014 at 8:31 PM, Juha Heinanen <[email protected]> wrote:
>> Kelvin Chua writes:
>>
>>> I know the received sdp from Bria is not correct, OPUS/48000 vs OPUS/48000/2
>>> Is there a way to prevent this? like tell sems to honor both
>>> OPUS/48000 and OPUS/48000/2?
>>
>> is you cannot fix the client, but you have kamailio sip proxy in front of
>> sems, you can use the proxy to fix the sdp.
>>
>> -- juha
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to