git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10407 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-11-14 20:43:32 +00:00
parent d66d49ae61
commit 5909ec6bc3
1 changed files with 3 additions and 1 deletions

View File

@ -461,6 +461,8 @@ static switch_status_t enum_lookup(char *root, char *in, enum_record_t **results
struct dns_ctx *nctx = NULL;
char *num, *mnum = NULL, *mroot = NULL, *p;
*results = NULL;
mnum = switch_mprintf("%s%s", *in == '+' ? "" : "+", in);
if ((p = strchr(mnum, '*'))) {
@ -563,7 +565,7 @@ static switch_status_t enum_lookup(char *root, char *in, enum_record_t **results
SWITCH_STANDARD_DIALPLAN(enum_dialplan_hunt)
{
switch_caller_extension_t *extension = NULL;
enum_record_t *results, *rp;
enum_record_t *results = NULL, *rp;
switch_channel_t *channel = switch_core_session_get_channel(session);
char *dp = (char *) arg;