Strip Video from SDP? HMR or codec-policy?
Hello Community,
So I thought I had this one. I had an invite come in with both video and audio capabilities. I found a post that talked about changing this with a codec-policy. So I came up with this policy and applied it to the Session Agents
name remove-video-allow-g711-g729
allow-codecs pcmu g729 telephone-event video:no
order-codecs pcmu g729 telephone-event
Thought this would work but it doesn't appear to.In the logs I see the call and it appears to be using delayed offer
Initial invite goes across, SIP provider responds back with G711/G729 audio codecs in 200 OK, everything gets agreed upon and then the Video Endpoint sends another Invite. This time the invite contains the video and audio capabilities. This time my SIP provider gives me 400 Bad Request, the call stays up for fifteen minutes then like clock work cuts off. I see this time the video endpoint seding just audio capabilities, both sides agree but then the video endpoint sends a BYE.