[ASTERISK-18] func_frame_drop: Simplify and improve
Details
- malloc could fail: https://github.com/asterisk/asterisk/blob/master/funcs/func_frame_drop.c#L238
- malloc can also fail here: https://github.com/asterisk/asterisk/blob/master/res/res_pjsip_messaging.c#L540
- Allow setting both TX/RX at once
- Allow disabling
Comments
You must be