Hello,

I'm on OpenSIPS 3.4.9 with rtpengine 13.1.1.6. I'm trying to make use of the 
'sdp-media-remove' command supported in this version of rtpengine to remove 
unwanted media sessions from the SDP.

The author of rtpengine reminds me its syntax is
  "sdp-media-remove" : ["<media-type>", "<media-type>", ...]

Or, in other words, this command requires a 'list' as its parameters.

The only way I could get rtpengine not to throw an error was by using 
"sdp-media-remove=video". rtpengine shows this as
  "sdp-media-remove": "video"

Based on the documentation, it needs to be
  "sdp-media-remove" : ["video"]

How can one formulate an rtpengine_offer() command so that I can provide a 
'list'. In my case I want to preserve only the 'audio' session, so, I need to 
write an rtpengine_offer() message with the sdp-media-remove command that sends 
this:
  "sdp-media-remove" : ["video", "text", "application", "message", "other"]

Even better, is it possible to use standard OpenSIPS scripting commands like 
stream_exists() and stream_delete() to remove the streams from the SDP before 
sending to rtpengine? In my testing, these commands don't have any effect on 
what rtpengine receives.

I have Cisco devices on my network that send an rtpmap payload of 255, which 
rtpengine typically refuses to process because it's out of spec. Removing the 
erroneous an unnecessary streams in OpenSIPS before processing in rtpengine 
would solve this problem without having to patch rtpengine.


Regards,
Jeff

This message is subject to Fusion Connect, Inc.'s email communication policy: 
www.fusionconnect.com/email-policy
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to