add error message to clarify user channel situation from jira issue MODENDP-123
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9207 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
ce1badf9c8
commit
8c99670d54
|
@ -1953,7 +1953,10 @@ static switch_call_cause_t user_outgoing_channel(switch_core_session_t *session,
|
|||
}
|
||||
}
|
||||
|
||||
if (dest) {
|
||||
if (!dest) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "No dial-string available, please check your user directory.\n");
|
||||
cause = SWITCH_CAUSE_MANDATORY_IE_MISSING;
|
||||
} else {
|
||||
const char *var;
|
||||
char *d_dest = NULL;
|
||||
switch_channel_t *channel;
|
||||
|
|
Loading…
Reference in New Issue