[sr-dev] git:master: xmlrpc: advertise to core that sip workers handle rpc commands
Daniel-Constantin Mierla
miconda at gmail.com
Thu Sep 29 10:26:57 CEST 2011
Module: sip-router
Branch: master
Commit: f079c23f5af6f154279d9a68a0c2abd09a788736
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f079c23f5af6f154279d9a68a0c2abd09a788736
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: Wed Sep 28 22:53:48 2011 +0200
xmlrpc: advertise to core that sip workers handle rpc commands
---
modules/xmlrpc/xmlrpc.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/modules/xmlrpc/xmlrpc.c b/modules/xmlrpc/xmlrpc.c
index 8824a30..a63a4cc 100644
--- a/modules/xmlrpc/xmlrpc.c
+++ b/modules/xmlrpc/xmlrpc.c
@@ -2462,6 +2462,16 @@ static int mod_init(void)
}
+/**
+ * advertise that sip workers handle rpc commands
+ */
+int mod_register(char *path, int *dlflags, void *p1, void *p2)
+{
+ set_sip_rpc_mode(1);
+ return 0;
+}
+
+
static int fixup_xmlrpc_reply(void** param, int param_no)
{
int ret;
More information about the sr-dev
mailing list