cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

How to remove m=application line from SDP header

Paul Freiberg
Level 1
Level 1

Hi,

 

I got a problem with my cisco jabber when I use them as sofphone.

I removed all video sdp-headers but one line I can not remove with sip-profile:

m=application xxxxx RTP/SAVP 125

First my itsp always send me "message too large".

Now just "Not Acceptable Here"

I do not want to disable video for all csf's.

A call with a video telefon like dx80 works with removing all video sdp-headers.

Do you have an idea?

I tried this script on the sip trunk but without succes and I do not found a way to debug it:

M = {}


function M.inbound_INVITE(msg)

    local sdp = msg:getSdp()


    if sdp

    then

        sdp = sdp:removeLine("m=", "application")

        msg:setSdp(sdp)

    end

end

 

Who Me Too'd this topic