git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1346 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-05-04 15:39:14 +00:00
parent 83edba5385
commit b66707c155

View File

@ -1079,7 +1079,7 @@ static switch_status_t channel_outgoing_channel(switch_core_session_t *session,
return SWITCH_STATUS_GENERR;
}
if ((dnis = strchr(profile_name, ':'))) {
if ((dnis = strchr(callto, ':'))) {
*dnis++ = '\0';
}