make this compile again, and only warn if sipctrl module is to be loaded.

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1770 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 17 years ago
parent c80beb7e64
commit da870794e7

@ -184,6 +184,13 @@ int AmPlugIn::load(const string& directory, const string& plugins)
for (vector<string>::iterator it = plugins_list.begin();
it != plugins_list.end(); it++) {
string plugin_file = *it;
if (plugin_file == "sipctrl") {
WARN("sipctrl is integrated into the core, loading sipctrl "
"module is not necessary any more\n");
WARN("please update your configuration to not load sipctrl module\n");
continue;
}
if(plugin_file.find(".so",plugin_file.length()-3) == string::npos )
plugin_file+=".so";

@ -46,11 +46,6 @@ struct sip_header;
class SipCtrlInterface:
public sip_ua
{
static string outbound_host;
static unsigned int outbound_port;
static bool log_parsed_messages;
static int log_raw_messages;
static bool accept_fr_without_totag;
//string bind_addr;
//unsigned short bind_port;
@ -60,6 +55,13 @@ class SipCtrlInterface:
static int cancel(const AmSipRequest& req);
public:
static string outbound_host;
static unsigned int outbound_port;
static bool log_parsed_messages;
static int log_raw_messages;
static bool accept_fr_without_totag;
SipCtrlInterface();
~SipCtrlInterface(){}

@ -28,10 +28,6 @@
#ifndef _ans_machine_h_
#define _ans_machine_h_
#define SEMS_VERSION "1.3.0-dev"
#define OS "Darwin"
#define ARCH "i386"
#define CONFIG_FILE "/usr/local/etc/sems/sems.conf"
#define MOD_CFG_PATH "/usr/local/etc/sems/etc/"
#define ANNOUNCE_PATH "/usr/local/lib/sems/audio"

Loading…
Cancel
Save