diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index 59ff068a2ce84e839c3868e23fb6d7d16baddb7d..30c417681c633e976dff27d2884a85dec3fe5c3b 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -15,6 +15,7 @@ linphone_daemon_SOURCES=daemon.cc \
 			commands/call-stats.cc \
 			commands/call-status.cc \
 			commands/help.cc \
+			commands/msfilter-add-fmtp.cc \
 			commands/pop-event.cc \
 			commands/ptime.cc \
 			commands/register.cc \
@@ -23,25 +24,26 @@ linphone_daemon_SOURCES=daemon.cc \
 			commands/unregister.cc \
 			commands/quit.cc \
 			daemon.h \
-                        commands/answer.h \
-                        commands/audio-codec-disable.h \
-                        commands/audio-codec-enable.h \
-                        commands/audio-codec-get.h \
-                        commands/audio-codec-move.h \
-                        commands/audio-codec-set.h \
-                        commands/audio-stream-start.h \
-                        commands/audio-stream-stop.h \
-                        commands/call.h \
-                        commands/call-stats.h \
-                        commands/call-status.h \
-                        commands/help.h \
-                        commands/pop-event.h \
-                        commands/ptime.h \
-                        commands/register.h \
-                        commands/register-status.h \
-                        commands/terminate.h \
-                        commands/unregister.h \
-                        commands/quit.h
+			commands/answer.h \
+			commands/audio-codec-disable.h \
+			commands/audio-codec-enable.h \
+			commands/audio-codec-get.h \
+			commands/audio-codec-move.h \
+			commands/audio-codec-set.h \
+			commands/audio-stream-start.h \
+			commands/audio-stream-stop.h \
+			commands/call.h \
+			commands/call-stats.h \
+			commands/call-status.h \
+			commands/help.h \
+			commands/msfilter-add-fmtp.h \
+			commands/pop-event.h \
+			commands/ptime.h \
+			commands/register.h \
+			commands/register-status.h \
+			commands/terminate.h \
+			commands/unregister.h \
+			commands/quit.h
 
 linphone_daemon_pipetest_SOURCES=daemon-pipetest.c
 
diff --git a/daemon/commands/msfilter-add-fmtp.cc b/daemon/commands/msfilter-add-fmtp.cc
new file mode 100644
index 0000000000000000000000000000000000000000..41e0c104fa50c25fbf36307e794c246f5411235d
--- /dev/null
+++ b/daemon/commands/msfilter-add-fmtp.cc
@@ -0,0 +1,19 @@
+#include "msfilter-add-fmtp.h"
+#include <mediastreamer2/msfilter.h>
+#include <private.h>
+
+using namespace std;
+
+MSFilterAddFmtpCommand::MSFilterAddFmtpCommand() :
+		DaemonCommand("msfilter-add-fmtp", "msfilter-add-fmtp <fmtp>", "Add fmtp to current encoder") {
+}
+
+void MSFilterAddFmtpCommand::exec(Daemon *app, const char *args) {
+	LinphoneCore *lc = app->getCore();
+	LinphoneCall *call = linphone_core_get_current_call(lc);
+	if (call == NULL) {
+		app->sendResponse(Response("No current call available."));
+		return;
+	}
+	ms_filter_call_method(call->audiostream->encoder, MS_FILTER_ADD_FMTP, (void*) args);
+}
diff --git a/daemon/commands/msfilter-add-fmtp.h b/daemon/commands/msfilter-add-fmtp.h
new file mode 100644
index 0000000000000000000000000000000000000000..c7a5b01b59d1f65e1c5cb06a414a44f8a662dc0b
--- /dev/null
+++ b/daemon/commands/msfilter-add-fmtp.h
@@ -0,0 +1,12 @@
+#ifndef COMMAND_MSFILTER_ADD_FMTP
+#define COMMAND_MSFILTER_ADD_FMTP
+
+#include "../daemon.h"
+
+class MSFilterAddFmtpCommand : public DaemonCommand {
+public:
+	MSFilterAddFmtpCommand();
+	virtual void exec(Daemon *app, const char *args);
+};
+
+#endif /* COMMAND_MSFILTER_ADD_FMTP */
diff --git a/daemon/daemon.cc b/daemon/daemon.cc
index 0bee63c3f3f7ab4b9322598299f93c367a97747c..cfdc3a114c0fae78dfa1dd7f60b75e2dbc7b1187 100644
--- a/daemon/daemon.cc
+++ b/daemon/daemon.cc
@@ -22,6 +22,7 @@
 #include "commands/call-stats.h"
 #include "commands/call-status.h"
 #include "commands/help.h"
+#include "commands/msfilter-add-fmtp.h"
 #include "commands/pop-event.h"
 #include "commands/ptime.h"
 #include "commands/register.h"
@@ -297,6 +298,7 @@ void Daemon::initCommands() {
 	mCommands.push_back(new AudioCodecSetCommand());
 	mCommands.push_back(new AudioStreamStartCommand());
 	mCommands.push_back(new AudioStreamStopCommand());
+	mCommands.push_back(new MSFilterAddFmtpCommand());
 	mCommands.push_back(new PtimeCommand());
 	mCommands.push_back(new QuitCommand());
 	mCommands.push_back(new HelpCommand());