Module: sip-router
Branch: master
Commit: 9a07154c0fd8bde372bd1c8b5967b413d11a13c9
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9a07154…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Richard Fuchs <rfuchs(a)sipwise.com>
Date: Wed Apr 23 09:33:13 2014 -0400
rtpengine: support ICE=force_relay flag
author: Juha Heinanen <jh(a)tutpro.com>
---
modules/rtpengine/rtpengine.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/rtpengine/rtpengine.c b/modules/rtpengine/rtpengine.c
index 0c4d782..4bc6fbf 100644
--- a/modules/rtpengine/rtpengine.c
+++ b/modules/rtpengine/rtpengine.c
@@ -1160,7 +1160,7 @@ static int parse_flags(struct ng_flags_parse *ng_flags, struct
sip_msg *msg, enu
if (!val.s)
goto error;
err = "invalid value";
- if (str_eq(&val, "force") || str_eq(&val, "remove"))
+ if (str_eq(&val, "force") || str_eq(&val,
"force_relay")|| str_eq(&val, "remove"))
bencode_dictionary_add_str(ng_flags->dict, "ICE", &val);
else
goto error;