Better error message if DID was not found in extensions.

This commit is contained in:
MelwareDE 2005-07-14 08:52:40 +00:00
parent 88e078e850
commit f47e4891de
1 changed files with 2 additions and 4 deletions

View File

@ -1653,10 +1653,8 @@ static void handle_did_digits(_cmsg *CMSG, unsigned int PLCI, unsigned int NCCI,
case -1: case -1:
default: default:
/* doesn't match */ /* doesn't match */
if (capidebug) { ast_log(LOG_ERROR, "did not find exten for msn = %s, ignoring call.\n",
ast_log(LOG_ERROR, "did not find device for msn = %s\n", p->i->dnid);
p->i->dnid);
}
CONNECT_RESP_HEADER(&CMSG2, ast_capi_ApplID, CMSG->Messagenumber, 0); CONNECT_RESP_HEADER(&CMSG2, ast_capi_ApplID, CMSG->Messagenumber, 0);
CONNECT_RESP_PLCI(&CMSG2) = PLCI; CONNECT_RESP_PLCI(&CMSG2) = PLCI;
CONNECT_RESP_REJECT(&CMSG2) = 1; /* ignore */ CONNECT_RESP_REJECT(&CMSG2) = 1; /* ignore */