fix rtpengine "direction" flag

rfuchs/rtpstat-fix
Richard Fuchs 12 years ago
parent 66d898f31e
commit 1b3ab9a5c0

@ -2933,7 +2933,7 @@
+ +
--- /dev/null --- /dev/null
+++ b/modules/rtpengine/rtpengine.c +++ b/modules/rtpengine/rtpengine.c
@@ -0,0 +1,2158 @@ @@ -0,0 +1,2159 @@
+/* $Id$ +/* $Id$
+ * + *
+ * Copyright (C) 2003-2008 Sippy Software, Inc., http://www.sippysoft.com + * Copyright (C) 2003-2008 Sippy Software, Inc., http://www.sippysoft.com
@ -4175,12 +4175,13 @@
+ break; + break;
+ +
+ case 9: + case 9:
+ if (str_eq(&key, "RTP/SAVPF")) { + if (str_eq(&key, "RTP/SAVPF"))
+ ng_flags->transport = 0x103; + ng_flags->transport = 0x103;
+ goto next;
+ }
+ else if (str_eq(&key, "direction")) + else if (str_eq(&key, "direction"))
+ bencode_list_add_str(ng_flags->direction, &val); + bencode_list_add_str(ng_flags->direction, &val);
+ else
+ goto generic;
+ goto next;
+ break; + break;
+ +
+ case 10: + case 10:

Loading…
Cancel
Save