Menu

#268 SIPMSGOPS: add stream_delete_except function

open
None
5
2013-04-10
2013-03-07
No

Adds stream_delete_except() function to sipmsgops module. Allows for removing all streams from SDP that do not match the regex passed to the function.

Example:

#Permit only audio and fax streams
stream_delete_except("audio|image");

Discussion

  • Ryan Bullock

    Ryan Bullock - 2013-03-07

    stream_delete_except() support for sipmsgops

     
  • Vladut-Stefan Paiu

    • assigned_to: nobody --> vladut-paiu
     
  • Vladut-Stefan Paiu

    Hi Ryan,

    Thanks for the patch.
    Wasn't able to test yet, but doesn't seem the patch will work as expected, as it will always remove just the first occurrence, and then stop when it'll reach that stream again, because of the lmp->len == 0 condition.

    I'll rework the patch a little and apply it on trunk.

    Best Regards,
    Vlad

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.