mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8184 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -169,7 +169,7 @@ char *expand_alias(char *cmd, char *arg)
|
||||
char *exp = NULL;
|
||||
switch_core_db_t *db = switch_core_db_handle();
|
||||
|
||||
sql = switch_mprintf("select command from aliases where alias='%s'", cmd);
|
||||
sql = switch_mprintf("select command from aliases where alias='%q' or alias='%q %q'", cmd, cmd, arg);
|
||||
switch_core_db_exec(db, sql, alias_callback, &r, &errmsg);
|
||||
|
||||
if (errmsg) {
|
||||
|
Reference in New Issue
Block a user