I am trying to use chan_capi with an Eicon Diva Server BRI. I installed the Eicon drivers from source including CAPU and I can use the board correcly using tty_test and minicom over /dev/ttyds01 or /dev/ttyds01. I need to insmod capi ( why? it is not written anywhere) and then capiinfo shows me all board parameters, but I have to break it otherwise capiinfo doesn't exit at all, but I don't know if this is an expected behaviour. When I try to use chan_capi I get the message in the asterisk log that CAPI is not installed and in fact the capi20_isinstalled function in chan_capi.c returns 4109, the error code expected when capi is not installed. Why? Has anyone some experience on the matter that is willing to share? I have looked everywhere on google and the usual forums but there are no useful informations. Thanks. Paolo
On Tue, 28 Feb 2006, Paolo Prandini wrote:> I am trying to use chan_capi with an Eicon Diva Server BRI. > I installed the Eicon drivers from source including CAPU and > I can use the board correcly using tty_test and minicom over /dev/ttyds01 > or /dev/ttyds01. > I need to insmod capi ( why? it is not written anywhere) and thenIf not already loaded, of course, to use CAPI to need to insmod the modules for that feature. The main module is kernelcapi, which is needed by the divacapi module. the module 'capi' provides the user-space access via /dev/capi20> capiinfo shows me all board parameters, but I have to break it otherwise > capiinfo doesn't exit at all, but I don't know if this is an expected > behaviour.No, capiinfo may not wait, it should exit immediatly.> When I try to use chan_capi I get the message in the asterisk log that > CAPI is not installed and in fact the capi20_isinstalled function in > chan_capi.c returns 4109, the error code expected when capi is not > installed. > Why? Has anyone some experience on the matter that is willing to share? > I have looked everywhere on google and the usual forums but there are > no useful informations.Does /dev/capi20 has the correct permissions set for asterisk? Armin
Hello Paolo, I put together this page which has instructions on getting Asterisk working with a Diva Server card. Follow the steps for Option 0... http://www.voip-info.org/wiki-Asterisk+Eicon+Diva+CAPI+ISDN -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Paolo Prandini Sent: 28 February 2006 07:28 To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] chan_capi and Eicon Diva I am trying to use chan_capi with an Eicon Diva Server BRI. I installed the Eicon drivers from source including CAPU and I can use the board correcly using tty_test and minicom over /dev/ttyds01 or /dev/ttyds01. I need to insmod capi ( why? it is not written anywhere) and then capiinfo shows me all board parameters, but I have to break it otherwise capiinfo doesn't exit at all, but I don't know if this is an expected behaviour. When I try to use chan_capi I get the message in the asterisk log that CAPI is not installed and in fact the capi20_isinstalled function in chan_capi.c returns 4109, the error code expected when capi is not installed. Why? Has anyone some experience on the matter that is willing to share? I have looked everywhere on google and the usual forums but there are no useful informations. Thanks. Paolo _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users