[Freeswitch-dev] sipXconfig + freeswitch integration

Paweł Pierścionek pawel.pierscionek at voiceworks.pl
Sun Jan 21 20:28:39 EST 2007


Hi,

Almost done.

I need one more patch to be accepted and have some wishes ;)

The "only" implemented XML/RPC procedure is freeswitch.api which  
cannot be used in a Java interface declaration as it contains a dot  
in the name of the procedure. I would like to add a second one that  
can be declared as a Java method :)

And now my wish - How soon can I except FS to read multiply config  
files for each section instead of one, monolithic freeswitch.xml ?
I do not like the concept of sipXconfig generating the whole  
freeswitch.xml file instead of a small dialplan.xml/whatever.

[root at sip1 freeswitch-0.0]# diff -u src/mod/xml_int/mod_xml_rpc/ 
mod_xml_rpc.c~ src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c
--- src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c~  2007-01-22  
01:59:17.000000000 +0100
+++ src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c   2007-01-22  
01:59:17.000000000 +0100
@@ -235,6 +235,7 @@
      registryP = xmlrpc_registry_new(&env);
      xmlrpc_registry_add_method(&env, registryP, NULL,  
"freeswitch.api", &freeswitch_api, NULL);
+    xmlrpc_registry_add_method(&env, registryP, NULL,  
"freeswitch_api", &freeswitch_api, NULL);
      MIMETypeInit();
         MIMETypeAdd("text/html", "html");

Urtho,



More information about the Freeswitch-dev mailing list