Hallo,
ich habe leider folgendes Problem :
Ich bekomme keine einzigste Version von chan_capi installiert .
Ich habe es jetzt mit folgenden Version probiert 0.7.1, 1.0.1 sowie 1.0 HEAD ich habs auch mit der junghans Version probiert und überall bekomme ich folgenden Fehler
Ich setzte Debian 4.0 ein mit Asterisk 1.4.0 , habe erste die Verison 1.4.6 auf dem System gehabt diese lässt sich aber bisher garnicht mit chan_capi installieren
Habe es auch inzwischen mit den Debian Paket asterisk-chan-capi probiert, damit bekomme ich chan_capi installiert , er lässt sich aber nich beim start laden . Somit bekomme ich keine Anrufe aufgebaut oder es kommen keine Anrufe rein.
Für jeden kleinen Tipp bin ich Dankbar .
BG Thomas
ich habe leider folgendes Problem :
Ich bekomme keine einzigste Version von chan_capi installiert .
Ich habe es jetzt mit folgenden Version probiert 0.7.1, 1.0.1 sowie 1.0 HEAD ich habs auch mit der junghans Version probiert und überall bekomme ich folgenden Fehler
Code:
chan_capi.c: In function ‘capi_handle_dtmf_fax’:
chan_capi.c:2176: error: ‘struct capi_pvt’ has no member named ‘FaxState’
chan_capi.c:2176: error: invalid operands to binary &
chan_capi.c:2180: error: ‘struct capi_pvt’ has no member named ‘FaxState’
chan_capi.c:2180: warning: statement with no effect
chan_capi.c:2182: error: ‘struct capi_pvt’ has no member named ‘outgoing’
chan_capi.c:2182: warning: comparison between pointer and integer
chan_capi.c:2182: error: ‘struct capi_pvt’ has no member named ‘FaxState’
chan_capi.c:2182: error: invalid operands to binary &
chan_capi.c:2183: error: ‘struct capi_pvt’ has no member named ‘outgoing’
chan_capi.c:2183: error: ‘struct capi_pvt’ has no member named ‘FaxState’
chan_capi.c:2183: error: invalid operands to binary &
chan_capi.c:2194: error: ‘struct capi_pvt’ has no member named ‘cid’
chan_capi.c:2194: warning: passing argument 5 of ‘ast_exists_extension’ from incompatible pointer type
chan_capi.c: In function ‘search_did’:
chan_capi.c:2221: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2221: warning: passing argument 1 of ‘strlen’ from incompatible pointer type
chan_capi.c:2221: error: ‘struct capi_pvt’ has no member named ‘immediate’
chan_capi.c:2226: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2226: warning: passing argument 1 of ‘strlen’ from incompatible pointer type
chan_capi.c:2226: error: ‘struct capi_pvt’ has no member named ‘incomingmsn’
chan_capi.c:2226: warning: passing argument 1 of ‘strlen’ from incompatible pointer type
chan_capi.c:2228: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2228: warning: assignment from incompatible pointer type
chan_capi.c:2231: error: ‘struct capi_pvt’ has no member named ‘cid’
chan_capi.c:2231: warning: passing argument 5 of ‘ast_exists_extension’ from incompatible pointer type
chan_capi.c:2239: error: ‘struct capi_pvt’ has no member named ‘cid’
chan_capi.c:2239: warning: passing argument 5 of ‘ast_canmatch_extension’ from incompatible pointer type
chan_capi.c: At top level:
chan_capi.c:2251: error: expected ‘)’ before ‘*’ token
chan_capi.c:2296: error: expected declaration specifiers or ‘...’ before ‘_cword’
chan_capi.c: In function ‘start_pbx_on_match’:
chan_capi.c:2302: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:2302: error: invalid operands to binary &
chan_capi.c:2306: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:2306: error: invalid operands to binary &
chan_capi.c:2313: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2313: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2313: warning: passing argument 1 of ‘strlen’ from incompatible pointer type
chan_capi.c:2313: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2313: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2313: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2313: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type
chan_capi.c:2313: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2313: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2313: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2313: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2313: warning: passing argument 1 of ‘strlen’ from incompatible pointer type
chan_capi.c:2313: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2313: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type
chan_capi.c:2313: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2313: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2313: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2313: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2313: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2313: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2313: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2313: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2313: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type
chan_capi.c:2313: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2313: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2313: warning: passing argument 1 of ‘__builtin_strcmp’ from incompatible pointer type
chan_capi.c:2314: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:2314: warning: statement with no effect
chan_capi.c:2316: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2317: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2317: warning: passing argument 2 of ‘ast_copy_string’ from incompatible pointer type
chan_capi.c:2325: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:2325: warning: statement with no effect
chan_capi.c:2338: error: ‘struct capi_pvt’ has no member named ‘isdnmode’
chan_capi.c:2338: warning: comparison between pointer and integer
chan_capi.c:2344: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:2344: warning: statement with no effect
chan_capi.c:2345: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:2345: warning: format ‘%s’ expects type ‘char *’, but argument 7 has type ‘struct <anonymous> *’
chan_capi.c:2347: error: ‘CAPI_CONNECT_RESP’ undeclared (first use in this function)
chan_capi.c:2347: error: ‘MessageNumber’ undeclared (first use in this function)
chan_capi.c: At top level:
chan_capi.c:2356: error: expected ‘)’ before ‘*’ token
chan_capi.c:2425: error: expected ‘)’ before ‘*’ token
chan_capi.c:2502: error: expected ‘)’ before ‘*’ token
chan_capi.c:2530: error: expected ‘)’ before ‘*’ token
chan_capi.c:2773: error: expected ‘)’ before ‘*’ token
chan_capi.c:2792: error: expected ‘)’ before ‘*’ token
chan_capi.c:2828: error: expected ‘)’ before ‘*’ token
chan_capi.c:2860: error: expected ‘)’ before ‘*’ token
chan_capi.c: In function ‘capi_signal_answer’:
chan_capi.c:2977: error: ‘struct capi_pvt’ has no member named ‘outgoing’
chan_capi.c:2977: warning: comparison between pointer and integer
chan_capi.c: In function ‘capidev_send_faxdata’:
chan_capi.c:2993: error: ‘struct capi_pvt’ has no member named ‘NCCI’
chan_capi.c:2999: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:2999: warning: comparison between pointer and integer
chan_capi.c:3005: error: ‘struct capi_pvt’ has no member named ‘fFax’
chan_capi.c:3005: error: ‘struct capi_pvt’ has no member named ‘fFax’
chan_capi.c:3005: warning: passing argument 1 of ‘feof’ from incompatible pointer type
chan_capi.c:3006: error: ‘struct capi_pvt’ has no member named ‘fFax’
chan_capi.c:3006: warning: passing argument 4 of ‘fread’ from incompatible pointer type
chan_capi.c:3008: error: ‘struct capi_pvt’ has no member named ‘send_buffer_handle’
chan_capi.c:3008: error: invalid lvalue in increment
chan_capi.c:3008: warning: statement with no effect
chan_capi.c:3009: error: ‘CAPI_DATA_B3_REQ’ undeclared (first use in this function)
chan_capi.c:3009: error: ‘struct capi_pvt’ has no member named ‘NCCI’
chan_capi.c:3013: error: ‘struct capi_pvt’ has no member named ‘send_buffer_handle’
chan_capi.c:3026: error: ‘CAPI_DISCONNECT_B3_REQ’ undeclared (first use in this function)
chan_capi.c:3026: error: ‘struct capi_pvt’ has no member named ‘NCCI’
chan_capi.c: At top level:
chan_capi.c:3033: error: expected ‘)’ before ‘*’ token
chan_capi.c:3049: error: expected ‘)’ before ‘*’ token
chan_capi.c:3104: error: expected ‘)’ before ‘*’ token
chan_capi.c:3162: error: expected ‘)’ before ‘*’ token
chan_capi.c:3220: error: expected ‘)’ before ‘*’ token
chan_capi.c:3238: error: expected ‘)’ before ‘*’ token
chan_capi.c:3305: error: expected ‘)’ before ‘*’ token
chan_capi.c:3478: error: expected ‘)’ before ‘*’ token
chan_capi.c:3565: error: expected declaration specifiers or ‘...’ before ‘_cmsg’
chan_capi.c: In function ‘capidev_post_handling’:
chan_capi.c:3567: warning: implicit declaration of function ‘CAPICMD’
chan_capi.c:3567: error: ‘CMSG’ undeclared (first use in this function)
chan_capi.c:3567: error: ‘struct <anonymous>’ has no member named ‘Command’
chan_capi.c:3567: error: ‘struct <anonymous>’ has no member named ‘Subcommand’
chan_capi.c:3570: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:3570: error: invalid operands to binary &
chan_capi.c:3578: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:3578: error: invalid operands to binary &
chan_capi.c:3586: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:3586: warning: comparison between pointer and integer
chan_capi.c:3597: warning: implicit declaration of function ‘capi_cmd2str’
chan_capi.c:3597: error: ‘struct <anonymous>’ has no member named ‘Command’
chan_capi.c:3597: error: ‘struct <anonymous>’ has no member named ‘Subcommand’
chan_capi.c: In function ‘capidev_handle_connection_conf’:
chan_capi.c:3625: error: ‘struct capi_pvt’ has no member named ‘PLCI’
chan_capi.c:3625: warning: statement with no effect
chan_capi.c:3628: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:3628: warning: statement with no effect
chan_capi.c: At top level:
chan_capi.c:3638: error: expected ‘)’ before ‘*’ token
chan_capi.c: In function ‘pbx_capi_call_deflect’:
chan_capi.c:3822: error: ‘struct capi_pvt’ has no member named ‘controller’
chan_capi.c:3822: error: array subscript is not an integer
chan_capi.c:3822: error: ‘struct <anonymous>’ has no member named ‘CD’
chan_capi.c:3830: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:3830: warning: comparison between pointer and integer
chan_capi.c:3831: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:3831: warning: comparison between pointer and integer
chan_capi.c:3832: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:3832: warning: comparison between pointer and integer
chan_capi.c:3837: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:3837: warning: comparison between pointer and integer
chan_capi.c:3847: error: ‘CAPI_FACILITY_REQ’ undeclared (first use in this function)
chan_capi.c:3847: error: ‘struct capi_pvt’ has no member named ‘PLCI’
chan_capi.c:3858: error: ‘struct capi_pvt’ has no member named ‘PLCI’
chan_capi.c: In function ‘pbx_capi_retrieve’:
chan_capi.c:3893: error: ‘struct capi_pvt’ has no member named ‘onholdPLCI’
chan_capi.c:3893: warning: assignment makes integer from pointer without a cast
chan_capi.c:3901: error: ‘struct capi_pvt’ has no member named ‘next’
chan_capi.c:3901: warning: assignment from incompatible pointer type
chan_capi.c:3902: error: ‘struct capi_pvt’ has no member named ‘onholdPLCI’
chan_capi.c:3902: warning: comparison between pointer and integer
chan_capi.c:3917: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:3917: warning: comparison between pointer and integer
chan_capi.c:3918: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:3918: error: invalid operands to binary &
chan_capi.c:3920: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:3920: warning: comparison between pointer and integer
chan_capi.c:3926: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:3926: warning: comparison between pointer and integer
chan_capi.c:3934: error: ‘struct capi_pvt’ has no member named ‘controller’
chan_capi.c:3934: error: array subscript is not an integer
chan_capi.c:3934: error: ‘struct <anonymous>’ has no member named ‘holdretrieve’
chan_capi.c:3942: error: ‘CAPI_FACILITY_REQ’ undeclared (first use in this function)
chan_capi.c:3948: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:3948: warning: statement with no effect
chan_capi.c: In function ‘pbx_capi_ect’:
chan_capi.c:3988: error: ‘struct capi_pvt’ has no member named ‘next’
chan_capi.c:3988: warning: assignment from incompatible pointer type
chan_capi.c:3989: error: ‘struct capi_pvt’ has no member named ‘onholdPLCI’
chan_capi.c:3989: warning: comparison between pointer and integer
chan_capi.c:4002: error: ‘struct capi_pvt’ has no member named ‘PLCI’
chan_capi.c:4002: warning: assignment makes integer from pointer without a cast
chan_capi.c:4008: error: ‘struct capi_pvt’ has no member named ‘controller’
chan_capi.c:4008: error: array subscript is not an integer
chan_capi.c:4008: error: ‘struct <anonymous>’ has no member named ‘ECT’
chan_capi.c:4014: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:4014: error: invalid operands to binary &
chan_capi.c:4022: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:4022: warning: comparison between pointer and integer
chan_capi.c:4031: error: ‘CAPI_FACILITY_REQ’ undeclared (first use in this function)
chan_capi.c:4038: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:4038: warning: statement with no effect
chan_capi.c:4039: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:4039: warning: statement with no effect
chan_capi.c:4040: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:4040: warning: statement with no effect
chan_capi.c: In function ‘pbx_capi_hold’:
chan_capi.c:4060: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:4060: error: invalid operands to binary &
chan_capi.c:4066: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:4066: error: invalid operands to binary &
chan_capi.c:4071: error: ‘struct capi_pvt’ has no member named ‘controller’
chan_capi.c:4071: error: array subscript is not an integer
chan_capi.c:4071: error: ‘struct <anonymous>’ has no member named ‘holdretrieve’
chan_capi.c:4079: error: ‘CAPI_FACILITY_REQ’ undeclared (first use in this function)
chan_capi.c:4079: error: ‘struct capi_pvt’ has no member named ‘PLCI’
chan_capi.c:4085: error: ‘struct capi_pvt’ has no member named ‘onholdPLCI’
chan_capi.c:4085: error: ‘struct capi_pvt’ has no member named ‘PLCI’
chan_capi.c:4085: warning: statement with no effect
chan_capi.c:4086: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:4086: warning: statement with no effect
chan_capi.c:4091: error: ‘struct capi_pvt’ has no member named ‘PLCI’
chan_capi.c:4093: error: ‘struct capi_pvt’ has no member named ‘PLCI’
chan_capi.c:4093: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘struct <anonymous> *’
chan_capi.c:4093: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘struct <anonymous> *’
chan_capi.c: In function ‘pbx_capi_malicious’:
chan_capi.c:4109: error: ‘struct capi_pvt’ has no member named ‘controller’
chan_capi.c:4109: error: array subscript is not an integer
chan_capi.c:4109: error: ‘struct <anonymous>’ has no member named ‘MCID’
chan_capi.c:4117: error: ‘CAPI_FACILITY_REQ’ undeclared (first use in this function)
chan_capi.c:4117: error: ‘struct capi_pvt’ has no member named ‘PLCI’
chan_capi.c:4126: error: ‘struct capi_pvt’ has no member named ‘PLCI’
chan_capi.c: In function ‘pbx_capi_echocancel’:
chan_capi.c:4143: error: ‘struct capi_pvt’ has no member named ‘doEC’
chan_capi.c:4143: warning: statement with no effect
chan_capi.c:4147: error: ‘struct capi_pvt’ has no member named ‘doEC’
chan_capi.c:4147: warning: statement with no effect
chan_capi.c:4153: error: ‘struct capi_pvt’ has no member named ‘doEC’
chan_capi.c: In function ‘pbx_capi_echosquelch’:
chan_capi.c:4169: error: ‘struct capi_pvt’ has no member named ‘doES’
chan_capi.c:4169: warning: statement with no effect
chan_capi.c:4171: error: ‘struct capi_pvt’ has no member named ‘doES’
chan_capi.c:4171: warning: statement with no effect
chan_capi.c:4177: error: ‘struct capi_pvt’ has no member named ‘doES’
chan_capi.c: In function ‘pbx_capi_holdtype’:
chan_capi.c:4193: error: ‘struct capi_pvt’ has no member named ‘doholdtype’
chan_capi.c:4193: warning: statement with no effect
chan_capi.c:4195: error: ‘struct capi_pvt’ has no member named ‘doholdtype’
chan_capi.c:4195: warning: statement with no effect
chan_capi.c:4197: error: ‘struct capi_pvt’ has no member named ‘doholdtype’
chan_capi.c:4197: warning: statement with no effect
chan_capi.c: In function ‘capi_disconnect’:
chan_capi.c:4214: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:4214: warning: statement with no effect
chan_capi.c:4215: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:4215: error: invalid operands to binary &
chan_capi.c:4218: error: ‘struct capi_pvt’ has no member named ‘PLCI’
chan_capi.c:4218: warning: passing argument 1 of ‘capi_send_disconnect’ makes integer from pointer without a cast
chan_capi.c: In function ‘pbx_capi_realhangup’:
chan_capi.c:4232: error: ‘struct capi_pvt’ has no member named ‘next’
chan_capi.c:4232: warning: assignment from incompatible pointer type
chan_capi.c:4238: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:4238: warning: comparison between pointer and integer
chan_capi.c:4240: error: ‘struct capi_pvt’ has no member named ‘PLCI’
chan_capi.c: In function ‘pbx_capi_signal_progress’:
chan_capi.c:4255: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:4255: warning: comparison between pointer and integer
chan_capi.c:4255: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:4255: warning: comparison between pointer and integer
chan_capi.c:4259: error: ‘struct capi_pvt’ has no member named ‘ntmode’
chan_capi.c:4263: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:4263: error: invalid operands to binary &
chan_capi.c:4268: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:4268: error: invalid operands to binary &
chan_capi.c:4273: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:4273: warning: statement with no effect
chan_capi.c:4275: error: too many arguments to function ‘cc_select_b’
chan_capi.c: In function ‘pbx_capi_3pty_begin’:
chan_capi.c:4305: error: ‘struct capi_pvt’ has no member named ‘next’
chan_capi.c:4305: warning: assignment from incompatible pointer type
chan_capi.c:4306: error: ‘struct capi_pvt’ has no member named ‘onholdPLCI’
chan_capi.c:4306: warning: comparison between pointer and integer
chan_capi.c:4320: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:4320: error: invalid operands to binary &
chan_capi.c:4325: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:4325: error: invalid operands to binary &
chan_capi.c:4330: error: ‘struct capi_pvt’ has no member named ‘controller’
chan_capi.c:4330: error: array subscript is not an integer
chan_capi.c:4330: error: ‘struct <anonymous>’ has no member named ‘threePTY’
chan_capi.c:4338: error: ‘CAPI_FACILITY_REQ’ undeclared (first use in this function)
chan_capi.c:4345: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:4345: warning: statement with no effect
chan_capi.c:4346: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:4346: warning: statement with no effect
chan_capi.c:4347: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:4347: warning: statement with no effect
chan_capi.c:4352: error: ‘struct capi_pvt’ has no member named ‘PLCI’
chan_capi.c: In function ‘pbx_capi_indicate’:
chan_capi.c:4487: error: ‘struct capi_pvt’ has no member named ‘ntmode’
chan_capi.c:4488: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:4488: error: invalid operands to binary &
chan_capi.c:4500: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:4500: warning: comparison between pointer and integer
chan_capi.c:4501: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:4501: warning: comparison between pointer and integer
chan_capi.c:4501: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:4501: warning: comparison between pointer and integer
chan_capi.c:4502: error: ‘CAPI_CONNECT_RESP’ undeclared (first use in this function)
chan_capi.c:4502: error: ‘struct capi_pvt’ has no member named ‘PLCI’
chan_capi.c:4502: error: ‘struct capi_pvt’ has no member named ‘MessageNumber’
chan_capi.c:4506: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:4506: error: invalid operands to binary &
chan_capi.c:4512: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:4512: warning: comparison between pointer and integer
chan_capi.c:4513: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:4513: warning: comparison between pointer and integer
chan_capi.c:4513: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:4513: warning: comparison between pointer and integer
chan_capi.c:4514: error: ‘struct capi_pvt’ has no member named ‘PLCI’
chan_capi.c:4514: error: ‘struct capi_pvt’ has no member named ‘MessageNumber’
chan_capi.c:4518: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:4518: error: invalid operands to binary &
chan_capi.c:4524: error: ‘struct capi_pvt’ has no member named ‘ntmode’
chan_capi.c:4529: error: ‘struct capi_pvt’ has no member named ‘ntmode’
chan_capi.c:4534: error: ‘struct capi_pvt’ has no member named ‘doholdtype’
chan_capi.c:4539: error: ‘struct capi_pvt’ has no member named ‘mohinterpret’
chan_capi.c:4539: warning: passing argument 3 of ‘ast_moh_start’ from incompatible pointer type
chan_capi.c:4546: error: ‘struct capi_pvt’ has no member named ‘doholdtype’
chan_capi.c:4558: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:4558: error: invalid operands to binary &
chan_capi.c: In function ‘capidev_run_secondly’:
chan_capi.c:4655: error: ‘struct capi_pvt’ has no member named ‘next’
chan_capi.c:4655: warning: assignment from incompatible pointer type
chan_capi.c:4659: error: ‘struct capi_pvt’ has no member named ‘whentohangup’
chan_capi.c:4659: error: ‘struct capi_pvt’ has no member named ‘whentohangup’
chan_capi.c:4659: warning: comparison between pointer and integer
chan_capi.c:4662: error: ‘struct capi_pvt’ has no member named ‘whentohangup’
chan_capi.c:4662: warning: statement with no effect
chan_capi.c:4665: error: ‘struct capi_pvt’ has no member named ‘whentoqueuehangup’
chan_capi.c:4665: error: ‘struct capi_pvt’ has no member named ‘whentoqueuehangup’
chan_capi.c:4665: warning: comparison between pointer and integer
chan_capi.c:4669: error: ‘struct capi_pvt’ has no member named ‘whentoqueuehangup’
chan_capi.c:4669: warning: statement with no effect
chan_capi.c: In function ‘capidev_loop’:
chan_capi.c:4681: error: ‘_cmsg’ undeclared (first use in this function)
chan_capi.c:4681: warning: statement with no effect
chan_capi.c:4681: error: expected ‘;’ before ‘monCMSG’
chan_capi.c:4688: warning: implicit declaration of function ‘capidev_check_wait_get_cmsg’
chan_capi.c:4688: error: ‘monCMSG’ undeclared (first use in this function)
chan_capi.c:4690: warning: implicit declaration of function ‘capidev_handle_msg’
chan_capi.c: In function ‘mkif’:
chan_capi.c:4790: error: ‘struct capi_pvt’ has no member named ‘channeltype’
chan_capi.c:4790: warning: statement with no effect
chan_capi.c:4793: error: ‘struct capi_pvt’ has no member named ‘channeltype’
chan_capi.c:4793: warning: statement with no effect
chan_capi.c:4796: error: ‘struct capi_pvt’ has no member named ‘context’
chan_capi.c:4796: error: ‘struct capi_pvt’ has no member named ‘context’
chan_capi.c:4796: warning: passing argument 1 of ‘ast_copy_string’ from incompatible pointer type
chan_capi.c:4796: warning: passing argument 3 of ‘ast_copy_string’ makes integer from pointer without a cast
chan_capi.c:4797: error: ‘struct capi_pvt’ has no member named ‘incomingmsn’
chan_capi.c:4797: error: ‘struct capi_pvt’ has no member named ‘incomingmsn’
chan_capi.c:4797: warning: passing argument 1 of ‘ast_copy_string’ from incompatible pointer type
chan_capi.c:4797: warning: passing argument 3 of ‘ast_copy_string’ makes integer from pointer without a cast
chan_capi.c:4798: error: ‘struct capi_pvt’ has no member named ‘defaultcid’
chan_capi.c:4798: error: ‘struct capi_pvt’ has no member named ‘defaultcid’
chan_capi.c:4798: warning: passing argument 1 of ‘ast_copy_string’ from incompatible pointer type
chan_capi.c:4798: warning: passing argument 3 of ‘ast_copy_string’ makes integer from pointer without a cast
chan_capi.c:4799: error: ‘struct capi_pvt’ has no member named ‘prefix’
chan_capi.c:4799: error: ‘struct capi_pvt’ has no member named ‘prefix’
chan_capi.c:4799: warning: passing argument 1 of ‘ast_copy_string’ from incompatible pointer type
chan_capi.c:4799: warning: passing argument 3 of ‘ast_copy_string’ makes integer from pointer without a cast
chan_capi.c:4800: error: ‘struct capi_pvt’ has no member named ‘accountcode’
chan_capi.c:4800: error: ‘struct capi_pvt’ has no member named ‘accountcode’
chan_capi.c:4800: warning: passing argument 1 of ‘ast_copy_string’ from incompatible pointer type
chan_capi.c:4800: warning: passing argument 3 of ‘ast_copy_string’ makes integer from pointer without a cast
chan_capi.c:4801: error: ‘struct capi_pvt’ has no member named ‘language’
chan_capi.c:4801: error: ‘struct capi_pvt’ has no member named ‘language’
chan_capi.c:4801: warning: passing argument 1 of ‘ast_copy_string’ from incompatible pointer type
chan_capi.c:4801: warning: passing argument 3 of ‘ast_copy_string’ makes integer from pointer without a cast
chan_capi.c:4803: error: ‘struct capi_pvt’ has no member named ‘mohinterpret’
chan_capi.c:4803: error: ‘struct capi_pvt’ has no member named ‘mohinterpret’
chan_capi.c:4803: warning: passing argument 1 of ‘ast_copy_string’ from incompatible pointer type
chan_capi.c:4803: warning: passing argument 3 of ‘ast_copy_string’ makes integer from pointer without a cast
chan_capi.c:4804: error: ‘struct capi_pvt’ has no member named ‘jbconf’
chan_capi.c:4833: error: ‘struct capi_pvt’ has no member named ‘controller’
chan_capi.c:4833: warning: statement with no effect
chan_capi.c:4835: error: ‘struct capi_pvt’ has no member named ‘doEC’
chan_capi.c:4835: warning: statement with no effect
chan_capi.c:4836: error: ‘struct capi_pvt’ has no member named ‘doEC_global’
chan_capi.c:4836: warning: statement with no effect
chan_capi.c:4837: error: ‘struct capi_pvt’ has no member named ‘ecOption’
chan_capi.c:4837: warning: statement with no effect
chan_capi.c:4838: error: ‘struct capi_pvt’ has no member named ‘ecOption’
chan_capi.c:4838: warning: statement with no effect
chan_capi.c:4839: error: ‘struct capi_pvt’ has no member named ‘ecTail’
chan_capi.c:4839: warning: statement with no effect
chan_capi.c:4840: error: ‘struct capi_pvt’ has no member named ‘isdnmode’
chan_capi.c:4840: warning: statement with no effect
chan_capi.c:4841: error: ‘struct capi_pvt’ has no member named ‘ntmode’
chan_capi.c:4841: warning: statement with no effect
chan_capi.c:4842: error: ‘struct capi_pvt’ has no member named ‘ES’
chan_capi.c:4842: warning: statement with no effect
chan_capi.c:4843: error: ‘struct capi_pvt’ has no member named ‘callgroup’
chan_capi.c:4843: warning: statement with no effect
chan_capi.c:4844: error: ‘struct capi_pvt’ has no member named ‘pickupgroup’
chan_capi.c:4844: warning: statement with no effect
chan_capi.c:4845: error: ‘struct capi_pvt’ has no member named ‘group’
chan_capi.c:4845: warning: statement with no effect
chan_capi.c:4846: error: ‘struct capi_pvt’ has no member named ‘amaflags’
chan_capi.c:4846: warning: statement with no effect
chan_capi.c:4847: error: ‘struct capi_pvt’ has no member named ‘immediate’
chan_capi.c:4847: warning: statement with no effect
chan_capi.c:4848: error: ‘struct capi_pvt’ has no member named ‘holdtype’
chan_capi.c:4848: warning: statement with no effect
chan_capi.c:4849: error: ‘struct capi_pvt’ has no member named ‘ecSelector’
chan_capi.c:4849: warning: statement with no effect
chan_capi.c:4850: error: ‘struct capi_pvt’ has no member named ‘bridge’
chan_capi.c:4850: warning: statement with no effect
chan_capi.c:4851: error: ‘struct capi_pvt’ has no member named ‘FaxState’
chan_capi.c:4851: warning: statement with no effect
chan_capi.c:4853: error: ‘struct capi_pvt’ has no member named ‘smoother’
chan_capi.c:4853: warning: statement with no effect
chan_capi.c:4855: error: ‘struct capi_pvt’ has no member named ‘rxgain’
chan_capi.c:4855: warning: statement with no effect
chan_capi.c:4856: error: ‘struct capi_pvt’ has no member named ‘txgain’
chan_capi.c:4856: warning: statement with no effect
chan_capi.c:4857: error: ‘struct capi_pvt’ has no member named ‘g’
chan_capi.c:4857: warning: passing argument 1 of ‘capi_gains’ from incompatible pointer type
chan_capi.c:4859: error: ‘struct capi_pvt’ has no member named ‘doDTMF’
chan_capi.c:4859: warning: statement with no effect
chan_capi.c:4860: error: ‘struct capi_pvt’ has no member named ‘capability’
chan_capi.c:4860: warning: statement with no effect
chan_capi.c:4865: error: ‘struct capi_pvt’ has no member named ‘next’
chan_capi.c:4865: warning: statement with no effect
chan_capi.c:4868: error: ‘struct capi_pvt’ has no member named ‘channeltype’
chan_capi.c:4869: error: ‘struct capi_pvt’ has no member named ‘incomingmsn’
chan_capi.c:4869: error: ‘struct capi_pvt’ has no member named ‘context’
chan_capi.c:4869: error: ‘struct capi_pvt’ has no member named ‘controller’
chan_capi.c:4870: error: ‘struct capi_pvt’ has no member named ‘doEC’
chan_capi.c:4870: error: ‘struct capi_pvt’ has no member named ‘ecOption’
chan_capi.c:4870: error: ‘struct capi_pvt’ has no member named ‘ecTail’
chan_capi.c: In function ‘supported_sservices’:
chan_capi.c:4880: error: ‘MESSAGE_EXCHANGE_ERROR’ undeclared (first use in this function)
chan_capi.c:4880: warning: statement with no effect
chan_capi.c:4880: error: expected ‘;’ before ‘error’
chan_capi.c:4881: error: ‘_cmsg’ undeclared (first use in this function)
chan_capi.c:4881: warning: statement with no effect
chan_capi.c:4881: error: expected ‘;’ before ‘CMSG2’
chan_capi.c:4885: error: ‘CAPI_FACILITY_REQ’ undeclared (first use in this function)
chan_capi.c:4895: error: ‘error’ undeclared (first use in this function)
chan_capi.c:4895: warning: implicit declaration of function ‘capi20_waitformessage’
chan_capi.c:4895: warning: statement with no effect
chan_capi.c:4896: warning: implicit declaration of function ‘capi_get_cmsg’
chan_capi.c:4896: error: ‘CMSG2’ undeclared (first use in this function)
chan_capi.c:4896: warning: statement with no effect
chan_capi.c:4898: warning: implicit declaration of function ‘IS_FACILITY_CONF’
chan_capi.c:4900: warning: implicit declaration of function ‘FACILITY_CONF_INFO’
chan_capi.c:4907: warning: implicit declaration of function ‘FACILITY_CONF_FACILITYSELECTOR’
chan_capi.c:4913: warning: implicit declaration of function ‘FACILITY_CONF_FACILITYCONFIRMATIONPARAMETER’
chan_capi.c:4913: error: subscripted value is neither array nor pointer
chan_capi.c:4914: error: subscripted value is neither array nor pointer
chan_capi.c:4914: warning: cast from pointer to integer of different size
chan_capi.c:4918: error: subscripted value is neither array nor pointer
chan_capi.c: In function ‘pbxcli_capi_show_channels’:
chan_capi.c:5056: error: ‘struct capi_pvt’ has no member named ‘next’
chan_capi.c:5056: warning: assignment from incompatible pointer type
chan_capi.c:5057: error: ‘struct capi_pvt’ has no member named ‘channeltype’
chan_capi.c:5060: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:5060: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:5060: warning: comparison between pointer and integer
chan_capi.c:5062: error: ‘struct capi_pvt’ has no member named ‘outgoing’
chan_capi.c:5069: error: ‘struct capi_pvt’ has no member named ‘B3q’
chan_capi.c:5069: error: ‘struct capi_pvt’ has no member named ‘B3count’
chan_capi.c:5069: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘struct <anonymous> *’
chan_capi.c:5069: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘struct <anonymous> *’
chan_capi.c:5069: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘struct <anonymous> *’
chan_capi.c:5069: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘struct <anonymous> *’
chan_capi.c:5077: error: ‘struct capi_pvt’ has no member named ‘ntmode’
chan_capi.c:5078: error: ‘struct capi_pvt’ has no member named ‘state’
chan_capi.c:5078: warning: passing argument 1 of ‘show_state’ makes integer from pointer without a cast
chan_capi.c:5080: error: ‘struct capi_pvt’ has no member named ‘bproto’
chan_capi.c:5080: warning: passing argument 1 of ‘show_bproto’ makes integer from pointer without a cast
chan_capi.c:5081: error: ‘struct capi_pvt’ has no member named ‘isdnstate’
chan_capi.c:5081: warning: passing argument 1 of ‘show_isdnstate’ makes integer from pointer without a cast
chan_capi.c:5082: error: ‘struct capi_pvt’ has no member named ‘cid_ton’
chan_capi.c:5083: error: ‘struct capi_pvt’ has no member named ‘cid’
chan_capi.c:5084: error: ‘struct capi_pvt’ has no member named ‘dnid’
chan_capi.c:5086: warning: format ‘%02x’ expects type ‘unsigned int’, but argument 9 has type ‘struct <anonymous> *’
chan_capi.c:5086: warning: format ‘%s’ expects type ‘char *’, but argument 10 has type ‘struct <anonymous> *’
chan_capi.c:5086: warning: format ‘%s’ expects type ‘char *’, but argument 11 has type ‘struct <anonymous> *’
chan_capi.c: In function ‘cc_register_capi’:
chan_capi.c:5221: warning: implicit declaration of function ‘capi20_register’
chan_capi.c:5225: warning: implicit declaration of function ‘capi20_release’
chan_capi.c: In function ‘cc_init_capi’:
chan_capi.c:5250: warning: implicit declaration of function ‘capi20_isinstalled’
chan_capi.c:5263: warning: implicit declaration of function ‘capi20_get_profile’
chan_capi.c: In function ‘cc_post_init_capi’:
chan_capi.c:5382: error: ‘struct capi_pvt’ has no member named ‘next’
chan_capi.c:5382: warning: assignment from incompatible pointer type
chan_capi.c:5385: error: ‘struct capi_pvt’ has no member named ‘controller’
chan_capi.c:5385: error: array subscript is not an integer
chan_capi.c:5385: error: ‘struct <anonymous>’ has no member named ‘rtpcodec’
chan_capi.c:5385: error: ‘struct capi_pvt’ has no member named ‘capability’
chan_capi.c:5385: error: invalid operands to binary &
chan_capi.c: In function ‘unload_module’:
chan_capi.c:5732: error: ‘struct capi_pvt’ has no member named ‘smoother’
chan_capi.c:5733: error: ‘struct capi_pvt’ has no member named ‘smoother’
chan_capi.c:5733: warning: passing argument 1 of ‘ast_smoother_free’ from incompatible pointer type
chan_capi.c:5740: error: ‘struct capi_pvt’ has no member named ‘next’
chan_capi.c:5740: warning: assignment from incompatible pointer type
make: *** [chan_capi.o] Fehler 1
Ich setzte Debian 4.0 ein mit Asterisk 1.4.0 , habe erste die Verison 1.4.6 auf dem System gehabt diese lässt sich aber bisher garnicht mit chan_capi installieren
Habe es auch inzwischen mit den Debian Paket asterisk-chan-capi probiert, damit bekomme ich chan_capi installiert , er lässt sich aber nich beim start laden . Somit bekomme ich keine Anrufe aufgebaut oder es kommen keine Anrufe rein.
Für jeden kleinen Tipp bin ich Dankbar .
BG Thomas