diff --git a/modules/rtpproxy-ng/bencode.c b/modules/rtpproxy-ng/bencode.c index 23c1493b1..f97d40582 100644 --- a/modules/rtpproxy-ng/bencode.c +++ b/modules/rtpproxy-ng/bencode.c @@ -1,3 +1,4 @@ +#include "bencode.h" #include #include #include @@ -5,7 +6,6 @@ #include #include -#include "bencode.h" /* set to 0 for alloc debugging, e.g. through valgrind */ #define BENCODE_MIN_BUFFER_PIECE_LEN 512 diff --git a/modules/rtpproxy-ng/rtpproxy.c b/modules/rtpproxy-ng/rtpproxy.c index a7615c897..1d25ef8b1 100644 --- a/modules/rtpproxy-ng/rtpproxy.c +++ b/modules/rtpproxy-ng/rtpproxy.c @@ -1210,6 +1210,14 @@ static bencode_item_t *rtpp_function_call(bencode_buffer_t *bencbuf, struct sip_ bencode_dictionary_add_integer(dict, "repacketize", packetize); break; + case '-': + bencode_dictionary_add_string(dict, "ICE", "remove"); + break; + + case '+': + bencode_dictionary_add_string(dict, "ICE", "force"); + break; + default: LM_ERR("unknown option `%c'\n", *flags_str); goto error;