Better error message if DID was not found in extensions.
This commit is contained in:
parent
88e078e850
commit
f47e4891de
|
@ -1653,10 +1653,8 @@ static void handle_did_digits(_cmsg *CMSG, unsigned int PLCI, unsigned int NCCI,
|
|||
case -1:
|
||||
default:
|
||||
/* doesn't match */
|
||||
if (capidebug) {
|
||||
ast_log(LOG_ERROR, "did not find device for msn = %s\n",
|
||||
p->i->dnid);
|
||||
}
|
||||
ast_log(LOG_ERROR, "did not find exten for msn = %s, ignoring call.\n",
|
||||
p->i->dnid);
|
||||
CONNECT_RESP_HEADER(&CMSG2, ast_capi_ApplID, CMSG->Messagenumber, 0);
|
||||
CONNECT_RESP_PLCI(&CMSG2) = PLCI;
|
||||
CONNECT_RESP_REJECT(&CMSG2) = 1; /* ignore */
|
||||
|
|
Loading…
Reference in New Issue