73dae11255
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 standard version. It is scheduled to go to security fixes only on October 3th, 2018, and EOL on October 3th, 2019. See here for more information about Asterisk versions: https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions
22 lines
894 B
C
22 lines
894 B
C
$NetBSD: patch-apps_app__adsiprog.c,v 1.1 2018/07/16 21:53:05 joerg Exp $
|
|
|
|
--- apps/app_adsiprog.c.orig 2018-05-07 17:17:45.731153122 +0000
|
|
+++ apps/app_adsiprog.c
|
|
@@ -215,7 +215,7 @@ static int process_token(void *out, char
|
|
/* Convert */
|
|
*((unsigned int *)out) = htonl(*((unsigned int *)out));
|
|
}
|
|
- } else if ((strlen(src) > 2) && (src[0] == '0') && (tolower(src[1]) == 'x')) {
|
|
+ } else if ((strlen(src) > 2) && (src[0] == '0') && (tolower((unsigned char)src[1]) == 'x')) {
|
|
if (!(argtype & ARG_NUMBER))
|
|
return -1;
|
|
/* Hex value */
|
|
@@ -225,7 +225,7 @@ static int process_token(void *out, char
|
|
/* Convert */
|
|
*((unsigned int *)out) = htonl(*((unsigned int *)out));
|
|
}
|
|
- } else if ((!ast_strlen_zero(src) && isdigit(src[0]))) {
|
|
+ } else if ((!ast_strlen_zero(src) && isdigit((unsigned char)src[0]))) {
|
|
if (!(argtype & ARG_NUMBER))
|
|
return -1;
|
|
/* Hex value */
|