Asterisk und MySql

Freddchen

Neuer User
Mitglied seit
29 Dez 2005
Beiträge
7
Punkte für Reaktionen
0
Punkte
0
Hallo Zusammen,

vielleicht kann mir jemand helfen um mein Problem zu lösen ;)
Es geht darum bei einem Anruf auf einen bestimmten SIP-Account eine Zahlenfolge aus einer MySQL Tabelle dem Anrufer vorzulesen.

1.) Wie stelle ich die Verbindung mit dem MySQL Server her?
2.) Wie bekomme ich diese Ansage auf den SIp Account geschaltet?
3.) Geht das in Form einer IVR Ansage?


Vielen Danke ;)

Gruss
Freddchen
 

chaos2000

Aktives Mitglied
Mitglied seit
22 Aug 2004
Beiträge
2,028
Punkte für Reaktionen
0
Punkte
36

Freddchen

Neuer User
Mitglied seit
29 Dez 2005
Beiträge
7
Punkte für Reaktionen
0
Punkte
0
vielen dank für die schnelle antwort ;)

habe jetzt nach dem versuch ein asterisk addon zu installieren folgendes problem ...

ich bekomme nach dem eingeben von make das hier als meldung raus :

ro10093:/usr/src/asterisk-addons-1.4.0-beta1# make
make[1]: Entering directory `/usr/src/asterisk-addons-1.4.0-beta1/menuselect'
make[2]: Entering directory `/usr/src/asterisk-addons-1.4.0-beta1/menuselect'
make[2]: »menuselect« ist bereits aktualisiert.
make[2]: Leaving directory `/usr/src/asterisk-addons-1.4.0-beta1/menuselect'
make[1]: Leaving directory `/usr/src/asterisk-addons-1.4.0-beta1/menuselect'
make[1]: Entering directory `/usr/src/asterisk-addons-1.4.0-beta1'
make[2]: Entering directory `/usr/src/asterisk-addons-1.4.0-beta1/menuselect'
make[3]: Entering directory `/usr/src/asterisk-addons-1.4.0-beta1/menuselect'
make[3]: »menuselect« ist bereits aktualisiert.
make[3]: Leaving directory `/usr/src/asterisk-addons-1.4.0-beta1/menuselect'
make[2]: Leaving directory `/usr/src/asterisk-addons-1.4.0-beta1/menuselect'
gcc -fPIC -fPIC -c -o app_saycountpl.o app_saycountpl.c
app_saycountpl.c:10:22: asterisk.h: Datei oder Verzeichnis nicht gefunden
In file included from /usr/include/asterisk/linkedlists.h:4,
from /usr/include/asterisk/chanvars.h:17,
from /usr/include/asterisk/channel.h:19,
from /usr/include/asterisk/file.h:17,
from app_saycountpl.c:12:
/usr/include/asterisk/lock.h: In Funktion »ast_mutex_init«:
/usr/include/asterisk/lock.h:302: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function)
/usr/include/asterisk/lock.h:302: error: (Each undeclared identifier is reported only once
/usr/include/asterisk/lock.h:302: error: for each function it appears in.)
app_saycountpl.c: In Funktion »sayword_exec«:
app_saycountpl.c:78: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
app_saycountpl.c: Auf höchster Ebene:
app_saycountpl.c:113: Warnung: static declaration for `unload_module' follows non-static
app_saycountpl.c:119: Warnung: static declaration for `load_module' follows non-static
app_saycountpl.c:123: error: Syntaxfehler before string constant
app_saycountpl.c:123: Warnung: data definition has no type or storage class
make[1]: *** [app_saycountpl.o] Fehler 1
make[1]: Leaving directory `/usr/src/asterisk-addons-1.4.0-beta1'
make: *** [all] Fehler 2
kann mir vielleicht jemand bitte sagen ob ich noch irgendein paket vergessen habe zu installieren? habe debian drauf.

gruss
freddchen
 

chaos2000

Aktives Mitglied
Mitglied seit
22 Aug 2004
Beiträge
2,028
Punkte für Reaktionen
0
Punkte
36
kopiere mal die asterisk.h aus dem asterisk source in das addon-Verz.
 

Freddchen

Neuer User
Mitglied seit
29 Dez 2005
Beiträge
7
Punkte für Reaktionen
0
Punkte
0
öhm hi ;)

inzwischen sieht das so aus?!


Code:
                 from app_saycountpl.c:10:
/usr/include/sys/types.h:29: error: Syntaxfehler before "__BEGIN_DECLS"
In file included from /usr/include/bits/types.h:31,
                 from /usr/include/sys/types.h:31,
                 from /usr/include/asterisk/compat.h:21,
                 from /usr/include/asterisk.h:23,
                 from app_saycountpl.c:10:
/usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h:213: error: Syntaxfehler before "typedef"
In file included from /usr/include/sys/time.h:30,
                 from /usr/include/time.h:26,
                 from /usr/include/sys/types.h:133,
                 from /usr/include/asterisk/compat.h:21,
                 from /usr/include/asterisk.h:23,
                 from app_saycountpl.c:10:
/usr/include/sys/select.h:109: error: Syntaxfehler before "extern"
In file included from /usr/include/time.h:26,
                 from /usr/include/sys/types.h:133,
                 from /usr/include/asterisk/compat.h:21,
                 from /usr/include/asterisk.h:23,
                 from app_saycountpl.c:10:
/usr/include/sys/time.h:38: error: Syntaxfehler before "__BEGIN_DECLS"
/usr/include/sys/time.h:64: error: Syntaxfehler before "typedef"
/usr/include/sys/time.h:73: error: Syntaxfehler before "__THROW"
/usr/include/sys/time.h:126: error: Syntaxfehler before "__THROW"
/usr/include/sys/time.h:133: error: Syntaxfehler before "__THROW"
/usr/include/sys/time.h:139: error: Syntaxfehler before "__THROW"
In file included from /usr/include/sys/types.h:133,
                 from /usr/include/asterisk/compat.h:21,
                 from /usr/include/asterisk.h:23,
                 from app_saycountpl.c:10:
/usr/include/time.h:33: error: Syntaxfehler before "extern"
/usr/include/time.h: In Funktion »ast_tvnow«:
/usr/include/time.h:99: error: `NULL' undeclared (first use in this function)
/usr/include/time.h:99: error: (Each undeclared identifier is reported only once
/usr/include/time.h:99: error: for each function it appears in.)
In Datei, eingefügt von /usr/include/asterisk/compat.h:21,
                    von /usr/include/asterisk.h:23,
                    von app_saycountpl.c:10:
/usr/include/sys/types.h:158:20: fehlender binärer Operator vor Token »(«
In file included from /usr/include/asterisk/compat.h:22,
                 from /usr/include/asterisk.h:23,
                 from app_saycountpl.c:10:
/usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h: Auf höchster Ebene:
/usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h:43: error: Syntaxfehler before "typedef"
In file included from /usr/include/asterisk.h:25,
                 from app_saycountpl.c:10:
/usr/include/asterisk/paths.h:23: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk/paths.h:24: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk/paths.h:25: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk/paths.h:26: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk/paths.h:27: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk/paths.h:28: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk/paths.h:29: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk/paths.h:30: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk/paths.h:31: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk/paths.h:32: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk/paths.h:33: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk/paths.h:34: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk/paths.h:35: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk/paths.h:36: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk/paths.h:37: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk/paths.h:38: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk/paths.h:39: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk/paths.h:40: error: `PATH_MAX' undeclared here (not in a function)
In file included from app_saycountpl.c:10:
/usr/include/asterisk.h:33: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk.h:33: error: conflicting types for `ast_config_AST_CONFIG_DIR'
/usr/include/asterisk/paths.h:23: error: previous declaration of `ast_config_AST_CONFIG_DIR'
/usr/include/asterisk.h:34: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk.h:34: error: conflicting types for `ast_config_AST_CONFIG_FILE'
/usr/include/asterisk/paths.h:24: error: previous declaration of `ast_config_AST_CONFIG_FILE'
/usr/include/asterisk.h:35: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk.h:35: error: conflicting types for `ast_config_AST_MODULE_DIR'
/usr/include/asterisk/paths.h:25: error: previous declaration of `ast_config_AST_MODULE_DIR'
/usr/include/asterisk.h:36: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk.h:36: error: conflicting types for `ast_config_AST_SPOOL_DIR'
/usr/include/asterisk/paths.h:26: error: previous declaration of `ast_config_AST_SPOOL_DIR'
/usr/include/asterisk.h:37: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk.h:37: error: conflicting types for `ast_config_AST_MONITOR_DIR'
/usr/include/asterisk/paths.h:27: error: previous declaration of `ast_config_AST_MONITOR_DIR'
/usr/include/asterisk.h:38: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk.h:38: error: conflicting types for `ast_config_AST_VAR_DIR'
/usr/include/asterisk/paths.h:28: error: previous declaration of `ast_config_AST_VAR_DIR'
/usr/include/asterisk.h:39: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk.h:39: error: conflicting types for `ast_config_AST_DATA_DIR'
/usr/include/asterisk/paths.h:29: error: previous declaration of `ast_config_AST_DATA_DIR'
/usr/include/asterisk.h:40: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk.h:40: error: conflicting types for `ast_config_AST_LOG_DIR'
/usr/include/asterisk/paths.h:30: error: previous declaration of `ast_config_AST_LOG_DIR'
/usr/include/asterisk.h:41: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk.h:41: error: conflicting types for `ast_config_AST_AGI_DIR'
/usr/include/asterisk/paths.h:31: error: previous declaration of `ast_config_AST_AGI_DIR'
/usr/include/asterisk.h:42: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk.h:42: error: conflicting types for `ast_config_AST_DB'
/usr/include/asterisk/paths.h:32: error: previous declaration of `ast_config_AST_DB'
/usr/include/asterisk.h:43: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk.h:43: error: conflicting types for `ast_config_AST_KEY_DIR'
/usr/include/asterisk/paths.h:33: error: previous declaration of `ast_config_AST_KEY_DIR'
/usr/include/asterisk.h:44: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk.h:44: error: conflicting types for `ast_config_AST_PID'
/usr/include/asterisk/paths.h:34: error: previous declaration of `ast_config_AST_PID'
/usr/include/asterisk.h:45: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk.h:45: error: conflicting types for `ast_config_AST_SOCKET'
/usr/include/asterisk/paths.h:35: error: previous declaration of `ast_config_AST_SOCKET'
/usr/include/asterisk.h:46: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk.h:46: error: conflicting types for `ast_config_AST_RUN_DIR'
/usr/include/asterisk/paths.h:36: error: previous declaration of `ast_config_AST_RUN_DIR'
/usr/include/asterisk.h:47: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk.h:47: error: conflicting types for `ast_config_AST_CTL_PERMISSIONS'
/usr/include/asterisk/paths.h:37: error: previous declaration of `ast_config_AST_CTL_PERMISSIONS'
/usr/include/asterisk.h:48: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk.h:48: error: conflicting types for `ast_config_AST_CTL_OWNER'
/usr/include/asterisk/paths.h:38: error: previous declaration of `ast_config_AST_CTL_OWNER'
/usr/include/asterisk.h:49: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk.h:49: error: conflicting types for `ast_config_AST_CTL_GROUP'
/usr/include/asterisk/paths.h:39: error: previous declaration of `ast_config_AST_CTL_GROUP'
/usr/include/asterisk.h:50: error: `PATH_MAX' undeclared here (not in a function)
/usr/include/asterisk.h:50: error: conflicting types for `ast_config_AST_CTL'
/usr/include/asterisk/paths.h:40: error: previous declaration of `ast_config_AST_CTL'
In file included from app_saycountpl.c:11:
/usr/include/stdio.h:44: error: Syntaxfehler before "__BEGIN_NAMESPACE_STD"
/usr/include/stdio.h:46: error: Syntaxfehler before "typedef"
/usr/include/stdio.h:62: error: Syntaxfehler before "typedef"
In file included from /usr/include/_G_config.h:44,
                 from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from app_saycountpl.c:11:
/usr/include/gconv.h:176: error: Syntaxfehler before "__flexarr"
In file included from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from app_saycountpl.c:11:
/usr/include/_G_config.h:47: error: field `__cd' has incomplete type
/usr/include/_G_config.h:50: error: field `__cd' has incomplete type
In Datei, eingefügt von /usr/include/libio.h:62,
                    von /usr/include/stdio.h:72,
                    von app_saycountpl.c:11:
/usr/include/sys/cdefs.h:43:43: fehlender binärer Operator vor Token »(«
/usr/include/sys/cdefs.h:122:19: fehlender binärer Operator vor Token »(«
/usr/include/sys/cdefs.h:173:19: fehlender binärer Operator vor Token »(«
/usr/include/sys/cdefs.h:182:19: fehlender binärer Operator vor Token »(«
/usr/include/sys/cdefs.h:191:19: fehlender binärer Operator vor Token »(«
/usr/include/sys/cdefs.h:200:19: fehlender binärer Operator vor Token »(«
/usr/include/sys/cdefs.h:212:19: fehlender binärer Operator vor Token »(«
/usr/include/sys/cdefs.h:222:19: fehlender binärer Operator vor Token »(«
/usr/include/sys/cdefs.h:233:20: fehlender binärer Operator vor Token »(«
/usr/include/sys/cdefs.h:238:20: fehlender binärer Operator vor Token »(«
/usr/include/sys/cdefs.h:245:19: fehlender binärer Operator vor Token »(«
In Datei, eingefügt von /usr/include/asterisk/frame.h:36,
                    von /usr/include/asterisk/channel.h:110,
                    von /usr/include/asterisk/file.h:30,
                    von app_saycountpl.c:12:
/usr/include/asterisk/endian.h:58:2: #error Need to know endianess
In Datei, eingefügt von /usr/include/netinet/in.h:24,
                    von /usr/include/netdb.h:28,
                    von /usr/include/asterisk/lock.h:49,
                    von /usr/include/asterisk/linkedlists.h:23,
                    von /usr/include/asterisk/frame.h:37,
                    von /usr/include/asterisk/channel.h:110,
                    von /usr/include/asterisk/file.h:30,
                    von app_saycountpl.c:12:
/usr/include/sys/socket.h:65:43: fehlender binärer Operator vor Token »(«
In file included from /usr/include/asterisk/linkedlists.h:23,
                 from /usr/include/asterisk/frame.h:37,
                 from /usr/include/asterisk/channel.h:110,
                 from /usr/include/asterisk/file.h:30,
                 from app_saycountpl.c:12:
/usr/include/asterisk/lock.h: In Funktion »ast_mutex_init«:
/usr/include/asterisk/lock.h:513: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function)
In file included from /usr/include/asterisk/utils.h:38,
                 from /usr/include/asterisk/cdr.h:48,
                 from /usr/include/asterisk/channel.h:115,
                 from /usr/include/asterisk/file.h:30,
                 from app_saycountpl.c:12:
/usr/include/asterisk/strings.h: Auf höchster Ebene:
/usr/include/asterisk/strings.h:239: error: Syntaxfehler before "time_t"
In file included from /usr/include/asterisk/file.h:30,
                 from app_saycountpl.c:12:
/usr/include/asterisk/channel.h:354: error: Syntaxfehler before "time_t"
/usr/include/asterisk/channel.h:433: error: Syntaxfehler before '}' token
/usr/include/asterisk/channel.h:709: error: Syntaxfehler before "time_t"
/usr/include/asterisk/channel.h:716: error: Syntaxfehler before "time_t"
app_saycountpl.c: In Funktion »saywords«:
app_saycountpl.c:43: error: dereferencing pointer to incomplete type
app_saycountpl.c:48: error: dereferencing pointer to incomplete type
app_saycountpl.c:52: error: dereferencing pointer to incomplete type
make[1]: *** [app_saycountpl.o] Fehler 1
make[1]: Leaving directory `/usr/src/asterisk-addons-1.4.0-beta1'
make: *** [all] Fehler 2
 

Thomas007

Aktives Mitglied
Mitglied seit
18 Sep 2005
Beiträge
1,455
Punkte für Reaktionen
0
Punkte
0
Willst Du wirklich die 1.4 BETA !! installieren?

stable ist 1.2.X
Das gilt sowohl für Asterisk als auch für die addons.
 

Freddchen

Neuer User
Mitglied seit
29 Dez 2005
Beiträge
7
Punkte für Reaktionen
0
Punkte
0
*geschlagen geb*

jetzt sieht es bei 1.2 so aus :

Code:
ro10093:/usr/src/asterisk-addons-1.2.4# make
cc -fPIC -I../asterisk -D_GNU_SOURCE       -c -o app_saycountpl.o app_saycountpl.c
In file included from /usr/include/stdio.h:28,
                 from app_saycountpl.c:10:
/usr/include/features.h:46: error: Syntaxfehler before "AST_LIST_ENTRY"
In file included from /usr/include/stdio.h:34,
                 from app_saycountpl.c:10:
/usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h:213: error: Syntaxfehler before "typedef"
In file included from app_saycountpl.c:10:
/usr/include/stdio.h:46: error: Syntaxfehler before "typedef"
/usr/include/stdio.h:62: error: Syntaxfehler before "typedef"
In file included from /usr/include/_G_config.h:44,
                 from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from app_saycountpl.c:10:
/usr/include/gconv.h:176: error: Syntaxfehler before "__flexarr"
In file included from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from app_saycountpl.c:10:
/usr/include/_G_config.h:47: error: field `__cd' has incomplete type
/usr/include/_G_config.h:50: error: field `__cd' has incomplete type
In Datei, eingefügt von /usr/include/libio.h:62,
                    von /usr/include/stdio.h:72,
                    von app_saycountpl.c:10:
/usr/include/sys/cdefs.h:43:43: fehlender binärer Operator vor Token »(«
/usr/include/sys/cdefs.h:122:19: fehlender binärer Operator vor Token »(«
/usr/include/sys/cdefs.h:173:19: fehlender binärer Operator vor Token »(«
/usr/include/sys/cdefs.h:182:19: fehlender binärer Operator vor Token »(«
/usr/include/sys/cdefs.h:191:19: fehlender binärer Operator vor Token »(«
/usr/include/sys/cdefs.h:200:19: fehlender binärer Operator vor Token »(«
/usr/include/sys/cdefs.h:212:19: fehlender binärer Operator vor Token »(«
/usr/include/sys/cdefs.h:222:19: fehlender binärer Operator vor Token »(«
/usr/include/sys/cdefs.h:233:20: fehlender binärer Operator vor Token »(«
/usr/include/sys/cdefs.h:238:20: fehlender binärer Operator vor Token »(«
/usr/include/sys/cdefs.h:245:19: fehlender binärer Operator vor Token »(«
In file included from /usr/include/sys/time.h:26,
                 from /usr/include/asterisk/abstract_jb.h:34,
                 from /usr/include/asterisk/channel.h:90,
                 from /usr/include/asterisk/file.h:30,
                 from app_saycountpl.c:11:
/usr/include/time.h:34: error: invalid use of undefined type `struct timeval'
/usr/include/time.h:35: error: invalid use of undefined type `struct timeval'
/usr/include/time.h:43: error: parameter `end' has incomplete type
/usr/include/time.h:43: error: parameter `start' has incomplete type
/usr/include/time.h:59: error: parameter `t' has incomplete type
/usr/include/time.h:70: error: parameter `_a' has incomplete type
/usr/include/time.h:70: error: parameter `_b' has incomplete type
/usr/include/time.h:89: error: parameter `_a' has incomplete type
/usr/include/time.h:89: error: parameter `_b' has incomplete type
/usr/include/time.h:99: error: return type is an incomplete type
/usr/include/time.h:99: error: conflicting types for `ast_tvnow'
/usr/include/time.h:99: error: previous declaration of `ast_tvnow'
/usr/include/time.h: In Funktion »ast_tvnow«:
/usr/include/time.h:99: error: storage size of `t' isn't known
/usr/include/time.h: Auf höchster Ebene:
/usr/include/time.h:121: error: return type is an incomplete type
/usr/include/time.h:121: error: conflicting types for `ast_tv'
/usr/include/time.h:121: error: previous declaration of `ast_tv'
/usr/include/time.h: In Funktion »ast_tv«:
/usr/include/time.h:121: error: storage size of `t' isn't known
/usr/include/time.h: Auf höchster Ebene:
/usr/include/time.h:136: error: return type is an incomplete type
/usr/include/time.h:136: error: conflicting types for `ast_samp2tv'
/usr/include/time.h:136: error: previous declaration of `ast_samp2tv'
In Datei, eingefügt von /usr/include/asterisk/compat.h:21,
                    von /usr/include/asterisk/channel.h:109,
                    von /usr/include/asterisk/file.h:30,
                    von app_saycountpl.c:11:
/usr/include/sys/types.h:158:20: fehlender binärer Operator vor Token »(«
In Datei, eingefügt von /usr/include/asterisk/frame.h:36,
                    von /usr/include/asterisk/channel.h:110,
                    von /usr/include/asterisk/file.h:30,
                    von app_saycountpl.c:11:
/usr/include/asterisk/endian.h:58:2: #error Need to know endianess
In Datei, eingefügt von /usr/include/netinet/in.h:24,
                    von /usr/include/netdb.h:28,
                    von /usr/include/asterisk/lock.h:49,
                    von /usr/include/asterisk/linkedlists.h:23,
                    von /usr/include/asterisk/frame.h:37,
                    von /usr/include/asterisk/channel.h:110,
                    von /usr/include/asterisk/file.h:30,
                    von app_saycountpl.c:11:
/usr/include/sys/socket.h:65:43: fehlender binärer Operator vor Token »(«
In file included from /usr/include/asterisk/linkedlists.h:23,
                 from /usr/include/asterisk/frame.h:37,
                 from /usr/include/asterisk/channel.h:110,
                 from /usr/include/asterisk/file.h:30,
                 from app_saycountpl.c:11:
/usr/include/asterisk/lock.h: In Funktion »ast_mutex_init«:
/usr/include/asterisk/lock.h:513: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function)
/usr/include/asterisk/lock.h:513: error: (Each undeclared identifier is reported only once
/usr/include/asterisk/lock.h:513: error: for each function it appears in.)
In file included from /usr/include/asterisk/utils.h:38,
                 from /usr/include/asterisk/cdr.h:48,
                 from /usr/include/asterisk/channel.h:115,
                 from /usr/include/asterisk/file.h:30,
                 from app_saycountpl.c:11:
/usr/include/asterisk/strings.h: Auf höchster Ebene:
/usr/include/asterisk/strings.h:239: error: Syntaxfehler before "time_t"
In file included from /usr/include/asterisk/file.h:30,
                 from app_saycountpl.c:11:
/usr/include/asterisk/channel.h:354: error: Syntaxfehler before "time_t"
/usr/include/asterisk/channel.h:433: error: Syntaxfehler before '}' token
/usr/include/asterisk/channel.h:709: error: Syntaxfehler before "time_t"
/usr/include/asterisk/channel.h:716: error: Syntaxfehler before "time_t"
app_saycountpl.c:34: Warnung: data definition has no type or storage class
app_saycountpl.c:36: Warnung: data definition has no type or storage class
app_saycountpl.c: In Funktion »saywords«:
app_saycountpl.c:48: error: dereferencing pointer to incomplete type
app_saycountpl.c:53: error: dereferencing pointer to incomplete type
app_saycountpl.c:57: error: dereferencing pointer to incomplete type
app_saycountpl.c: In Funktion »sayword_exec«:
app_saycountpl.c:89: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
app_saycountpl.c:90: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
app_saycountpl.c:91: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
app_saycountpl.c:92: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
app_saycountpl.c: In Funktion »unload_module«:
app_saycountpl.c:120: error: `STANDARD_HANGUP_LOCALUSERS' undeclared (first use in this function)
make: *** [app_saycountpl.o] Fehler 1
 

3CX PBX - GRATIS
Linux / Win / Cloud

Statistik des Forums

Themen
233,292
Beiträge
2,032,474
Mitglieder
351,831
Neuestes Mitglied
Jaick1