Re: [asterisk-users] AVM Fritz! mISDN with Kernel 2.6.32 - Any experiences? - Email found in subject
Hi again! > I have excellent success with the tiny "fcpci" and chan_capi, which is > also working great with capi4hylafax. See > net-dialup/fcpci-0.1-r1 in gentoo (should not be difficult to use this > on other distros, but I have never done so). Do not confuse this with > the "fritzcapi"! I managed to install fcpci and it seems to run fine (capiinfo output). Unfortunately i cant compile chan_capi against my Asterisk trunk r240716. Neither the trunk/head nor the 1.1.4 Version compiles. All fail with the following output: srvpbx:/usr/src/chan-capi-HEAD# make [CC] chan_capi.c -> chan_capi.o In file included from chan_capi.c:32: chan_capi.h:34:26: error: asterisk/rtp.h: Datei oder Verzeichnis nicht gefunden chan_capi.c: In function âlocal_queue_frameâ: chan_capi.c:803: error: invalid operands to binary == (have âunion â and âintâ) chan_capi.c: In function âinterface_cleanupâ: chan_capi.c:1071: warning: implicit declaration of function âast_rtp_destroyâ chan_capi.c: In function âsend_progressâ: chan_capi.c:1165: error: incompatible types in assignment chan_capi.c: In function âclear_channel_fax_loopâ: chan_capi.c:2884: error: invalid operands to binary == (have âunion â and âintâ) chan_capi.c: In function âcapidev_handle_did_digitsâ: chan_capi.c:3548: error: incompatible types in assignment chan_capi.c: In function âcapi_queue_cause_controlâ: chan_capi.c:3564: warning: missing braces around initializer chan_capi.c:3564: warning: (near initialization for âfr.subclassâ) chan_capi.c:3569: error: incompatible types in assignment chan_capi.c:3573: error: incompatible types in assignment chan_capi.c: In function âcapidev_handle_info_indicationâ: chan_capi.c:3876: error: incompatible types in assignment chan_capi.c:3886: error: incompatible types in assignment chan_capi.c: In function âhandle_facility_indication_dtmfâ: chan_capi.c:4138: error: incompatible types in assignment chan_capi.c:4149: error: incompatible types in assignment chan_capi.c: In function âcapidev_handle_data_b3_indicationâ: chan_capi.c:4292: error: incompatible types in assignment chan_capi.c:4294: error: incompatible types in assignment chan_capi.c: In function âcapi_signal_answerâ: chan_capi.c:4316: warning: missing braces around initializer chan_capi.c:4316: warning: (near initialization for âfr.subclassâ) chan_capi.c: In function âcapidev_handle_disconnect_indicationâ: chan_capi.c:4605: warning: missing braces around initializer chan_capi.c:4605: warning: (near initialization for âfr.subclassâ) chan_capi.c:4654: error: incompatible types in assignment chan_capi.c: In function âcapidev_handle_connection_confâ: chan_capi.c:5025: warning: missing braces around initializer chan_capi.c:5025: warning: (near initialization for âfr.subclassâ) chan_capi.c: At top level: chan_capi.c:7746: warning: initialization from incompatible pointer type chan_capi.c: In function âconf_interfaceâ: chan_capi.c:8153: warning: passing argument 2 of âast_parse_allow_disallowâ from incompatible pointer type chan_capi.c:8156: warning: passing argument 2 of âast_parse_allow_disallowâ from incompatible pointer type make: *** [chan_capi.o] Fehler 1 Please excuse the messed up german output, i have yet to discover how to set a debian box to "german keyboard, everything else english". I am limited to Asterisk trunk r240716 because i want to evaluate the T.38 <-> T.30 gateway function, which can only be patched into this revision. In my opinion there are the following alternatives in order to get the Fritz card running with Asterisk: A) Get chan-capi to compile: Unfortunately my C knowledge seems insufficent for this. I have found out that there is noch rtp.h in the asterisk source dir, only a file named rtp_engine.h. Changing the include accordingly unfortunately only fixes the very first error. I can't make any sense out of the second error (error: invalid operands to binary == (have "union " and "int")), as, in line 803, the left-hand operand of the == is no union, let alone a anonymous union. I have already posted this at the chan-capi-users ML, but with no answer so far. B) Use a binary chan_capi.so from elsewhere?! I run Debian 5.0.2 Kernel 2.6.26-2-686. Could i take a compiled chan_capi.so from a machine with a different Asterisk 1.6 Version? C) Find another way to use fcpci eith Asterisk. Is this even possible? With mISDN? ...? Comments or any other Ideas are very appreciated. Sincerly Daniel Leese P.s.: Philipp, many thanks fo your answers so far ;) -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] AVM Fritz! mISDN with Kernel 2.6.32 - Any experiences? - Email found in subject
Hi, it seems that the asterisk API here was changed again and chan_capi must be adapted to this. I will have a look. Armin On Mon, 1 Mar 2010, dle...@lstelcom.com wrote: Hi again! I have excellent success with the tiny "fcpci" and chan_capi, which is also working great with capi4hylafax. See net-dialup/fcpci-0.1-r1 in gentoo (should not be difficult to use this on other distros, but I have never done so). Do not confuse this with the "fritzcapi"! I managed to install fcpci and it seems to run fine (capiinfo output). Unfortunately i cant compile chan_capi against my Asterisk trunk r240716. Neither the trunk/head nor the 1.1.4 Version compiles. All fail with the following output: srvpbx:/usr/src/chan-capi-HEAD# make [CC] chan_capi.c -> chan_capi.o In file included from chan_capi.c:32: chan_capi.h:34:26: error: asterisk/rtp.h: Datei oder Verzeichnis nicht gefunden chan_capi.c: In function âlocal_queue_frameâ: chan_capi.c:803: error: invalid operands to binary == (have âunion â and âintâ) chan_capi.c: In function âinterface_cleanupâ: chan_capi.c:1071: warning: implicit declaration of function âast_rtp_destroyâ chan_capi.c: In function âsend_progressâ: chan_capi.c:1165: error: incompatible types in assignment chan_capi.c: In function âclear_channel_fax_loopâ: chan_capi.c:2884: error: invalid operands to binary == (have âunion â and âintâ) chan_capi.c: In function âcapidev_handle_did_digitsâ: chan_capi.c:3548: error: incompatible types in assignment chan_capi.c: In function âcapi_queue_cause_controlâ: chan_capi.c:3564: warning: missing braces around initializer chan_capi.c:3564: warning: (near initialization for âfr.subclassâ) chan_capi.c:3569: error: incompatible types in assignment chan_capi.c:3573: error: incompatible types in assignment chan_capi.c: In function âcapidev_handle_info_indicationâ: chan_capi.c:3876: error: incompatible types in assignment chan_capi.c:3886: error: incompatible types in assignment chan_capi.c: In function âhandle_facility_indication_dtmfâ: chan_capi.c:4138: error: incompatible types in assignment chan_capi.c:4149: error: incompatible types in assignment chan_capi.c: In function âcapidev_handle_data_b3_indicationâ: chan_capi.c:4292: error: incompatible types in assignment chan_capi.c:4294: error: incompatible types in assignment chan_capi.c: In function âcapi_signal_answerâ: chan_capi.c:4316: warning: missing braces around initializer chan_capi.c:4316: warning: (near initialization for âfr.subclassâ) chan_capi.c: In function âcapidev_handle_disconnect_indicationâ: chan_capi.c:4605: warning: missing braces around initializer chan_capi.c:4605: warning: (near initialization for âfr.subclassâ) chan_capi.c:4654: error: incompatible types in assignment chan_capi.c: In function âcapidev_handle_connection_confâ: chan_capi.c:5025: warning: missing braces around initializer chan_capi.c:5025: warning: (near initialization for âfr.subclassâ) chan_capi.c: At top level: chan_capi.c:7746: warning: initialization from incompatible pointer type chan_capi.c: In function âconf_interfaceâ: chan_capi.c:8153: warning: passing argument 2 of âast_parse_allow_disallowâ from incompatible pointer type chan_capi.c:8156: warning: passing argument 2 of âast_parse_allow_disallowâ from incompatible pointer type make: *** [chan_capi.o] Fehler 1 Please excuse the messed up german output, i have yet to discover how to set a debian box to "german keyboard, everything else english". I am limited to Asterisk trunk r240716 because i want to evaluate the T.38 <-> T.30 gateway function, which can only be patched into this revision. In my opinion there are the following alternatives in order to get the Fritz card running with Asterisk: A) Get chan-capi to compile: Unfortunately my C knowledge seems insufficent for this. I have found out that there is noch rtp.h in the asterisk source dir, only a file named rtp_engine.h. Changing the include accordingly unfortunately only fixes the very first error. I can't make any sense out of the second error (error: invalid operands to binary == (have "union " and "int")), as, in line 803, the left-hand operand of the == is no union, let alone a anonymous union. I have already posted this at the chan-capi-users ML, but with no answer so far. B) Use a binary chan_capi.so from elsewhere?! I run Debian 5.0.2 Kernel 2.6.26-2-686. Could i take a compiled chan_capi.so from a machine with a different Asterisk 1.6 Version? C) Find another way to use fcpci eith Asterisk. Is this even possible? With mISDN? ...? Comments or any other Ideas are very appreciated. Sincerly Daniel Leese P.s.: Philipp, many thanks fo your answers so far ;) -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _
Re: [asterisk-users] AVM Fritz! mISDN with Kernel 2.6.32 - Any experiences? - Email found in subject
Hi, chan_capi trunk should be compilable now with current asterisk trunk. Armin On Mon, 1 Mar 2010, Armin Schindler wrote: Hi, it seems that the asterisk API here was changed again and chan_capi must be adapted to this. I will have a look. Armin On Mon, 1 Mar 2010, dle...@lstelcom.com wrote: Hi again! I have excellent success with the tiny "fcpci" and chan_capi, which is also working great with capi4hylafax. See net-dialup/fcpci-0.1-r1 in gentoo (should not be difficult to use this on other distros, but I have never done so). Do not confuse this with the "fritzcapi"! I managed to install fcpci and it seems to run fine (capiinfo output). Unfortunately i cant compile chan_capi against my Asterisk trunk r240716. Neither the trunk/head nor the 1.1.4 Version compiles. All fail with the following output: srvpbx:/usr/src/chan-capi-HEAD# make [CC] chan_capi.c -> chan_capi.o In file included from chan_capi.c:32: chan_capi.h:34:26: error: asterisk/rtp.h: Datei oder Verzeichnis nicht gefunden chan_capi.c: In function âlocal_queue_frameâ: chan_capi.c:803: error: invalid operands to binary == (have âunion â and âintâ) chan_capi.c: In function âinterface_cleanupâ: chan_capi.c:1071: warning: implicit declaration of function âast_rtp_destroyâ chan_capi.c: In function âsend_progressâ: chan_capi.c:1165: error: incompatible types in assignment chan_capi.c: In function âclear_channel_fax_loopâ: chan_capi.c:2884: error: invalid operands to binary == (have âunion â and âintâ) chan_capi.c: In function âcapidev_handle_did_digitsâ: chan_capi.c:3548: error: incompatible types in assignment chan_capi.c: In function âcapi_queue_cause_controlâ: chan_capi.c:3564: warning: missing braces around initializer chan_capi.c:3564: warning: (near initialization for âfr.subclassâ) chan_capi.c:3569: error: incompatible types in assignment chan_capi.c:3573: error: incompatible types in assignment chan_capi.c: In function âcapidev_handle_info_indicationâ: chan_capi.c:3876: error: incompatible types in assignment chan_capi.c:3886: error: incompatible types in assignment chan_capi.c: In function âhandle_facility_indication_dtmfâ: chan_capi.c:4138: error: incompatible types in assignment chan_capi.c:4149: error: incompatible types in assignment chan_capi.c: In function âcapidev_handle_data_b3_indicationâ: chan_capi.c:4292: error: incompatible types in assignment chan_capi.c:4294: error: incompatible types in assignment chan_capi.c: In function âcapi_signal_answerâ: chan_capi.c:4316: warning: missing braces around initializer chan_capi.c:4316: warning: (near initialization for âfr.subclassâ) chan_capi.c: In function âcapidev_handle_disconnect_indicationâ: chan_capi.c:4605: warning: missing braces around initializer chan_capi.c:4605: warning: (near initialization for âfr.subclassâ) chan_capi.c:4654: error: incompatible types in assignment chan_capi.c: In function âcapidev_handle_connection_confâ: chan_capi.c:5025: warning: missing braces around initializer chan_capi.c:5025: warning: (near initialization for âfr.subclassâ) chan_capi.c: At top level: chan_capi.c:7746: warning: initialization from incompatible pointer type chan_capi.c: In function âconf_interfaceâ: chan_capi.c:8153: warning: passing argument 2 of âast_parse_allow_disallowâ from incompatible pointer type chan_capi.c:8156: warning: passing argument 2 of âast_parse_allow_disallowâ from incompatible pointer type make: *** [chan_capi.o] Fehler 1 Please excuse the messed up german output, i have yet to discover how to set a debian box to "german keyboard, everything else english". I am limited to Asterisk trunk r240716 because i want to evaluate the T.38 <-> T.30 gateway function, which can only be patched into this revision. In my opinion there are the following alternatives in order to get the Fritz card running with Asterisk: A) Get chan-capi to compile: Unfortunately my C knowledge seems insufficent for this. I have found out that there is noch rtp.h in the asterisk source dir, only a file named rtp_engine.h. Changing the include accordingly unfortunately only fixes the very first error. I can't make any sense out of the second error (error: invalid operands to binary == (have "union " and "int")), as, in line 803, the left-hand operand of the == is no union, let alone a anonymous union. I have already posted this at the chan-capi-users ML, but with no answer so far. B) Use a binary chan_capi.so from elsewhere?! I run Debian 5.0.2 Kernel 2.6.26-2-686. Could i take a compiled chan_capi.so from a machine with a different Asterisk 1.6 Version? C) Find another way to use fcpci eith Asterisk. Is this even possible? With mISDN? ...? Comments or any other Ideas are very appreciated. Sincerly Daniel Leese P.s.: Philipp, many thanks fo your answers so far ;) -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or
Re: [asterisk-users] AVM Fritz! mISDN with Kernel 2.6.32 - Any experiences? - Email found in subject - Bayesian Filter detected spam
Hi, I have tried the new revision (769) with Asterisk SVN-trunk-r240667M (~ 1.6.2) and it compiles without warnings or errors (see attached make output). It also seems to work flawlessly. I can make and receive calls from/to the PSTN with the Fritz card PCI via the BRI and route them to my voip Telephones. I will also try faxing, but not today. Many thanks for the great work! Sincerly Daniel Leese --- srvpbx:/usr/src/chan-capi-trunk# make ./create_config.sh "/usr/include" Checking Asterisk version... SVN-trunk-r240667M * assuming Asterisk version 1.6 Using Asterisk 1.6 API * found new 'ast_dsp_set_digitmode' function * found new union data in ast_frame structure * found new union subclass in ast_frame structure * found ast_channel_release function * found new ast_devstate2str function * found requestor in ast_request * found format_t in ast_request * found const char in ast_register_application * found linkedid in ast_channel_alloc * found format_t in frame_defs * found rtp_engine.h config.h complete. [CC] chan_capi.c -> chan_capi.o [CC] chan_capi_utils.c -> chan_capi_utils.o [CC] chan_capi_rtp.c -> chan_capi_rtp.o [CC] chan_capi_command.c -> chan_capi_command.o [CC] xlaw.c -> xlaw.o [CC] dlist.c -> dlist.o [CC] chan_capi_qsig_core.c -> chan_capi_qsig_core.o [CC] chan_capi_qsig_ecma.c -> chan_capi_qsig_ecma.o [CC] chan_capi_qsig_asn197ade.c -> chan_capi_qsig_asn197ade.o [CC] chan_capi_qsig_asn197no.c -> chan_capi_qsig_asn197no.o [CC] chan_capi_supplementary.c -> chan_capi_supplementary.o [CC] chan_capi_chat.c -> chan_capi_chat.o [CC] libcapi20/convert.c -> libcapi20/convert.o [CC] libcapi20/capi20.c -> libcapi20/capi20.o [CC] libcapi20/capifunc.c -> libcapi20/capifunc.o [LD] chan_capi.so (chan_capi.o chan_capi_utils.o chan_capi_rtp.o chan_capi_command.o xlaw.o dlist.o chan_capi_qsig_core.o chan_capi_qsig_ecma.o chan_capi_qsig_asn197ade.o chan_capi_qsig_asn197no.o chan_capi_supplementary.o chan_capi_chat.o libcapi20/convert.o libcapi20/capi20.o libcapi20/capifunc.o) srvpbx:/usr/src/chan-capi-trunk# > chan_capi trunk should be compilable now with current asterisk trunk. > > Armin > > > On Mon, 1 Mar 2010, Armin Schindler wrote: > > Hi, > > > > it seems that the asterisk API here was changed again and chan_capi > > must be adapted to this. I will have a look. > > > > Armin > > > > On Mon, 1 Mar 2010, dle...@lstelcom.com wrote: > >> Hi again! > >> > >>> I have excellent success with the tiny "fcpci" and > chan_capi, which > >>> is also working great with capi4hylafax. See > >>> net-dialup/fcpci-0.1-r1 in gentoo (should not be difficult to use > >>> this on other distros, but I have never done so). Do not confuse > >>> this with the "fritzcapi"! > >> > >> I managed to install fcpci and it seems to run fine > (capiinfo output). > >> Unfortunately i cant compile chan_capi against my Asterisk > trunk r240716. > >> Neither the trunk/head nor the 1.1.4 Version compiles. All > fail with > >> the following output: > >> > >> srvpbx:/usr/src/chan-capi-HEAD# make > >> [CC] chan_capi.c -> chan_capi.o > >> In file included from chan_capi.c:32: > >> chan_capi.h:34:26: error: asterisk/rtp.h: Datei oder Verzeichnis > >> nicht gefunden > >> chan_capi.c: In function âlocal_queue_frameâ: > >> chan_capi.c:803: error: invalid operands to binary == (have âunion > >> â and âintâ) > >> chan_capi.c: In function âinterface_cleanupâ: > >> chan_capi.c:1071: warning: implicit declaration of function > >> âast_rtp_destroyâ > >> chan_capi.c: In function âsend_progressâ: > >> chan_capi.c:1165: error: incompatible types in assignment > >> chan_capi.c: In function âclear_channel_fax_loopâ: > >> chan_capi.c:2884: error: invalid operands to binary == > (have âunion > >> â and âintâ) > >> chan_capi.c: In function âcapidev_handle_did_digitsâ: > >> chan_capi.c:3548: error: incompatible types in assignment > >> chan_capi.c: In function âcapi_queue_cause_controlâ: > >> chan_capi.c:3564: warning: missing braces around initializer > >> chan_capi.c:3564: warning: (near initialization for âfr.subclassâ) > >> chan_capi.c:3569: error: incompatible types in assignment > >> chan_capi.c:3573: error: incompatible types in assignment > >> chan_capi.c: In function âcapidev_handle_info_indicationâ: > >> chan_capi.c:3876: error: incompatible types in assignment > >> chan_capi.c:3886: error: incompatible types in assignment > >> chan_capi.c: In function âhandle_facility_indication_dtmfâ: > >> chan_capi.c:4138: error: incompatible types in assignment > >> chan_capi.c:4149: error: incompatible types in assignment > >> chan_capi.c: In function âcapidev_handle_data_b3_indicationâ: > >> chan_capi.c:4292: error: incompatible types in assignment > >> chan_capi.c:4294: error: incompatible types in assignment > >> chan_capi.c: In function âcapi_signal_answerâ: > >> chan_capi.c:4316: warning: missing braces around initializer > >> chan_capi.c:4316: warning: (near initialization for âfr.subclassâ) > >> chan_c