Hi Giordano,
pls. check the following things:
- edit your /etc/capi.conf (or /etc/isdn/capi.conf) and adjust the settings
according to your card(s)
- call "capiinit"
- check the status by calling "capiinfo". The output should show the
details of your card(s)
- if you're running asterisk as non-root: check the permissions of
/dev/capi20, the user running asterisk has to have rw permissions on that
device.
- adjust your config in /etc/asterisk/capi.conf
After that, chan_capi.so should be loaded succesfully.
Hope it helps
cheers
J?rg
_____
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Giordano Grandis
Sent: Friday, September 30, 2005 3:00 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: R: [Asterisk-Users] chan_capi-0.3.5
Thanks Jorg,
it's worked, but what modules i need to use it with asterisk?
I insert load => chan_capi.so in /etc/asterisk/modules.conf and
chan_capi.so=yes under [globals] section.
When asterisk start, I get this error:
== Parsing '/etc/asterisk/modules.conf': Found
[chan_capi.so] => (Common ISDN API for Asterisk)
== Parsing '/etc/asterisk/capi.conf': Found
Sep 30 16:00:06 WARNING[8294]: loader.c:345 ast_load_resource: chan_capi.so:
load_module failed, returning -1
Sep 30 16:00:06 WARNING[8294]: chan_capi.c:2812 unload_module: Unable to
unregister from CAPI!
== Unregistered channel type 'CAPI'
Sep 30 16:00:06 WARNING[8294]: loader.c:391 load_modules: Loading module
chan_capi.so failed!
Thanks again!
Giordano Grandis
g.grandis@invidea.it <mailto:g.grandis@invidea.it>
Le informazioni contenute nella presente e-mail e nei documenti eventualmente
allegati possono essere confidenziali e sono comunque riservate al destinatario
della stessa. La loro diffusione, distribuzione e/o copiatura da parte di terzi
? proibita. Se avete ricevuto questa comunicazione per errore, Vi preghiamo di
informare immediatamente il mittente del messaggio e di distruggere questa
e-mail.
This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error) please notify
the sender immediately and destroy this e-mail. Any unauthorised copying,
disclosure or distribution of the material in this e-mail is strictly forbidden.
_____
Da: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] Per conto di J?rg Wolf
Inviato: venerd? 30 settembre 2005 14.15
A: Asterisk Users Mailing List - Non-Commercial Discussion
Oggetto: RE: [Asterisk-Users] chan_capi-0.3.5
Giordano,
you simply don't have capi installed...
On debian sarge you can install the following packages:
- capiutils
- libcapi20-dev
Hope it helps
cheers
J?rg
_____
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Giordano Grandis
Sent: Friday, September 30, 2005 1:37 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] chan_capi-0.3.5
Hi all,
i'm tryinf to install chan_capi but i get this error
root@obelix:/usr/src/chan_capi-0.3.5# make
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include
-D_REENTRANT -D_GNU_SOURCE -O6 -march=i586 -DNEVER_EVER_EARLY_B3_CONNECTS
-DCAPI_ES -DCAPI_GAIN -DDEFLECT_ON_CIRCUITBUSY -DCAPI_SYNC -DUNSTABLE_CVS
-Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o chan_capi.o
chan_capi.c
chan_capi.c:36:20: capi20.h: No such file or directory
In file included from chan_capi.c:39
Anyone cha help me?
Thanks
Giordano
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20051004/8aca9aab/attachment.htm