head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.11.09.05.37.21; author jnemeth; state Exp; branches; next ; commitid nfklAD0yCz3anK2H; desc @@ 1.1 log @comms/asterisk24: import asterisk-24.0.0 Asterisk is a complete PBX in software. It provides all of the features you would expect from a PBX and more. Asterisk does voice over IP in three protocols, and can interoperate with almost all standards-based telephony equipment using relatively inexpensive hardware. Asterisk provides Voicemail services with Directory, Call Conferencing, Interactive Voice Response, Call Queuing. It has support for three-way calling, caller ID services, ADSI, SIP and H.323 (as both client and gateway). This is a Long Term Support version. It is scheduled to go to security fixes only on October 15th, 2030, and EOL on October 15th, 2031. See here for more information about Asterisk versions: https://docs.asterisk.org/About-the-Project/Asterisk-Versions/ @ text @$NetBSD: patch-pbx_pbx__config.c,v 1.1 2025/10/27 06:58:40 jnemeth Exp $ --- pbx/pbx_config.c.orig 2018-05-07 17:17:05.322793470 +0000 +++ pbx/pbx_config.c @@@@ -237,7 +237,7 @@@@ static const char *skip_words(const char { int in_blank = 0; for (;n && *p; p++) { - if (isblank(*p) /* XXX order is important */ && !in_blank) { + if (isblank((unsigned char)*p) /* XXX order is important */ && !in_blank) { n--; /* one word is gone */ in_blank = 1; } else if (/* !is_blank(*p), we know already, && */ in_blank) { @@@@ -447,7 +447,7 @@@@ static char *handle_cli_dialplan_remove_ if (!strcmp("hint", c)) removing_priority = PRIORITY_HINT; else { - while (*c && isdigit(*c)) + while (*c && isdigit((unsigned char)*c)) c++; if (*c) { /* non-digit in string */ ast_cli(a->fd, "Invalid priority '%s'\n", a->argv[4]); @