mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
Adding switch_mprintf (broken out from sqlite)
Adding new %w to mprintf to auto escape both single quote and backslashes Improve the tab completion a tad and fix some sqlite/odbc compat with new mprintf opts Change the default stream writer to use switch_vmprintf so %q/%w can be used there too git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15875 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -3744,6 +3744,18 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_sofia_load)
|
||||
switch_console_set_complete("add sofia profile");
|
||||
switch_console_set_complete("add sofia profile restart all");
|
||||
|
||||
switch_console_set_complete("add sofia profile _any_ start reloadxml");
|
||||
switch_console_set_complete("add sofia profile _any_ stop reloadxml");
|
||||
switch_console_set_complete("add sofia profile _any_ rescan reloadxml");
|
||||
switch_console_set_complete("add sofia profile _any_ restart reloadxml");
|
||||
|
||||
switch_console_set_complete("add sofia profile _any_ flush_inbound_reg");
|
||||
switch_console_set_complete("add sofia profile _any_ register");
|
||||
switch_console_set_complete("add sofia profile _any_ killgw");
|
||||
switch_console_set_complete("add sofia profile _any_ siptrace on");
|
||||
switch_console_set_complete("add sofia profile _any_ siptrace off");
|
||||
|
||||
|
||||
SWITCH_ADD_API(api_interface, "sofia_contact", "Sofia Contacts", sofia_contact_function, "[profile/]<user>@<domain>");
|
||||
SWITCH_ADD_CHAT(chat_interface, SOFIA_CHAT_PROTO, sofia_presence_chat_send);
|
||||
|
||||
@@ -3755,6 +3767,8 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_sofia_shutdown)
|
||||
{
|
||||
int sanity = 0;
|
||||
|
||||
switch_console_set_complete("del sofia");
|
||||
|
||||
switch_mutex_lock(mod_sofia_globals.mutex);
|
||||
if (mod_sofia_globals.running == 1) {
|
||||
mod_sofia_globals.running = 0;
|
||||
|
||||
Reference in New Issue
Block a user