Hallo,
ich habe gerade mein * von 1.0.9 auf 1.2.0 und chan_capi von 0.5.4 auf 0.6.1 upgedatet.
Asterisk läuft auch soweit. Wenn ich über Capi raus will ist das ok solange kein ankommender Anruf eingeht (per Capi).
Dann ist garnix mehr ...
Wenn ich einen reload mache, gehen die ausgehenden Gespräche wieder!
Hat jemand 1.2 und chan_capi 0.6.1 am laufen?
Edit (20.11.05 - 11:38 ):
Edit:
Compilieren lässt sich chan_capi (Version 0.5.4 und 0.6) auch nicht mehr.
Fehler 0.5.4:
Fehler 0.6:
Eine Warnung () bringt chan_capi-cm_0.6.1 auch lässt sich dann aber doch compilieren !
Danke,
Tucca
PS: Verwende SuSE 9.3
ich habe gerade mein * von 1.0.9 auf 1.2.0 und chan_capi von 0.5.4 auf 0.6.1 upgedatet.
Asterisk läuft auch soweit. Wenn ich über Capi raus will ist das ok solange kein ankommender Anruf eingeht (per Capi).
Dann ist garnix mehr ...
Wenn ich einen reload mache, gehen die ausgehenden Gespräche wieder!
Hat jemand 1.2 und chan_capi 0.6.1 am laufen?
Edit (20.11.05 - 11:38 ):
Code:
-- Executing Dial("IAX2/master-1", "CAPI/contr1/14/b||tT") in new stack
-- Called contr1/14/b
Nov 20 12:35:55 WARNING[8301]: chan_capi.c:3334 show_capi_conf_error: ISDN1: conf_error 0x2003 PLCI=0x1 Command=CONNECT_CONF,0x8483
-- CAPI/ISDN1/14-c is busy
Edit:
Compilieren lässt sich chan_capi (Version 0.5.4 und 0.6) auch nicht mehr.
Fehler 0.5.4:
Code:
linux:/software/chan_capi-0.5.4 # make
./create_config.sh "/usr/include"
Checking Asterisk version...
* found 'struct ast_channel_tech'
* ast_dsp_process() without 'needlock'
* found 'struct ast_callerid'
* found 'struct timeval delivery'
* found 'transfercapability'
* found 'ast_config_load'
config.h complete.
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DASTERISKVERSION=\"\" -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o chan_capi.o chan_capi.c
chan_capi.c: In function `capi_handle_connect_indication':
chan_capi.c:2385: warning: implicit declaration of function `use_ast_mutex_init_instead_of_pthread_mutex_init'
chan_capi.c: At top level:
chan_capi.c:3019: warning: initialization from incompatible pointer type
gcc -shared -Xlinker -x -o chan_capi.so chan_capi.o -lcapi20
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DASTERISKVERSION=\"\" -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o app_capiCD.o app_capiCD.c
In file included from app_capiCD.c:23:
/usr/include/asterisk/file.h:27:2: #error You must include stdio.h before file.h!
In file included from app_capiCD.c:23:
/usr/include/asterisk/file.h:56: error: syntax error before '*' token
/usr/include/asterisk/file.h:57: error: syntax error before '*' token
In file included from app_capiCD.c:39:
chan_capi_pvt.h:192: error: syntax error before "FILE"
chan_capi_pvt.h:192: warning: no semicolon at end of struct or union
chan_capi_pvt.h:227: error: syntax error before '}' token
app_capiCD.c: In function `capiCD_exec':
app_capiCD.c:71: error: dereferencing pointer to incomplete type
app_capiCD.c:72: error: dereferencing pointer to incomplete type
app_capiCD.c:79: error: dereferencing pointer to incomplete type
app_capiCD.c:85: error: dereferencing pointer to incomplete type
app_capiCD.c:141: error: dereferencing pointer to incomplete type
app_capiCD.c:142: error: dereferencing pointer to incomplete type
app_capiCD.c:153: error: dereferencing pointer to incomplete type
make: *** [app_capiCD.o] Error 1
Fehler 0.6:
Code:
linux:/home/marco/chan_capi-cm-0.6 # make
./create_config.sh "/usr/include"
Checking Asterisk version...
* found 'struct ast_channel_tech'
* found 'ast_bridged_channel'
* found 'ast_bridge_result'
* ast_dsp_process() without 'needlock'
* found 'struct ast_callerid'
* found 'struct timeval delivery'
* found 'transfercapability'
* found 'ast_config_load'
* found 'AST_CONTROL_HOLD'
* found 'struct ast_custom_function'
config.h complete.
gcc -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DASTERISKVERSION=\"\" -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o chan_capi.o chan_capi.c
chan_capi.c: In function `start_pbx_on_match':
chan_capi.c:2023: error: `CAPI_ISDN_STATE_PBX' undeclared (first use in this function)
chan_capi.c:2023: error: (Each undeclared identifier is reported only once
chan_capi.c:2023: error: for each function it appears in.)
chan_capi.c: In function `mkif':
chan_capi.c:4069: warning: implicit declaration of function `use_ast_mutex_init_instead_of_pthread_mutex_init'
chan_capi.c: At top level:
chan_capi.c:4336: warning: initialization from incompatible pointer type
make: *** [chan_capi.o] Error 1
Eine Warnung () bringt chan_capi-cm_0.6.1 auch lässt sich dann aber doch compilieren !
Code:
linux:/software/chan_capi-cm-0.6.1 # make
./create_config.sh "/usr/include"
Checking Asterisk version...
* found 'struct ast_channel_tech'
* found 'ast_bridged_channel'
* found 'ast_bridge_result'
* ast_dsp_process() without 'needlock'
* found 'struct ast_callerid'
* found 'struct timeval delivery'
* found 'transfercapability'
* found 'ast_config_load'
* found 'AST_CONTROL_HOLD'
* found 'struct ast_custom_function'
config.h complete.
gcc -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DASTERISKVERSION=\"\" -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o chan_capi.o chan_capi.c
chan_capi.c:4416: warning: initialization from incompatible pointer type
gcc -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DASTERISKVERSION=\"\" -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o c20msg.o c20msg.c
gcc -shared -Xlinker -x -o chan_capi.so chan_capi.o c20msg.o -lcapi20
Danke,
Tucca
PS: Verwende SuSE 9.3