[Asterisk-bsd] zaptel ' device not configured'

Christian Lox lox at netzwerkplanet.com
Mon May 28 09:06:07 MST 2007


Am 28.05.2007 um 18:00 schrieb Hans Petter Selasky:

>>
>> Are we missing something really obvious here?
>> Thanks for any hint!
>>
>
> Hello!
>
> Did you install and configure "chan_capi" which is also part of the  
> SVN trunk?

Hi.

Ahem. This did not seem that obvious to us. No, we did not. A quick  
try ends with:

[root at breakout /home/lox/chan_capi_1_6_1]# gmake
gcc -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations -g   
-I/usr/local/include -I/usr/include/i4b/include -D_REENTRANT - 
D_GNU_SOURCE  -O6 -march=i386  -Wformat -DASTERISKVERSION=\"\" -Wno- 
missing-prototypes -Wno-missing-declarations -DCRYPTO   -c -o  
chan_capi.o chan_capi.c
chan_capi.c:89: warning: type defaults to `int' in declaration of  
`STANDARD_LOCAL_USER'
chan_capi.c:89: warning: data definition has no type or storage class
chan_capi.c:90: warning: type defaults to `int' in declaration of  
`LOCAL_USER_DECL'
chan_capi.c:90: warning: data definition has no type or storage class
chan_capi.c:1373:2: warning: #warning "What about cd->next after  
free? Currently 'cd' is not freed by cd_free()."
chan_capi.c: In function `cd_alloc':
chan_capi.c:2346: error: too few arguments to function  
`ast_channel_alloc'
chan_capi.c:2355: error: structure has no member named `type'
chan_capi.c: In function `cd_set_cep':
chan_capi.c:2497: warning: passing arg 1 of `strlcpy' discards  
qualifiers from pointer target type
chan_capi.c:2500: warning: passing arg 1 of `strlcpy' discards  
qualifiers from pointer target type
chan_capi.c: In function `chan_capi_request':
chan_capi.c:3728: warning: passing arg 1 of `snprintf' discards  
qualifiers from pointer target type
chan_capi.c: In function `__chan_capi_call':
chan_capi.c:3826: warning: assignment discards qualifiers from  
pointer target type
chan_capi.c:3853: warning: assignment discards qualifiers from  
pointer target type
chan_capi.c:3887: warning: assignment discards qualifiers from  
pointer target type
chan_capi.c:3898: warning: assignment discards qualifiers from  
pointer target type
chan_capi.c:3910: warning: assignment discards qualifiers from  
pointer target type
chan_capi.c:3925: warning: assignment discards qualifiers from  
pointer target type
chan_capi.c:4784:2: warning: #warning "Should send a messages, but  
which?"
chan_capi.c:4937:2: warning: #warning "Cannot do this, because one  
cannot lock 'pbx_chan' here!"
chan_capi.c:5462:2: warning: #warning "Maybe cannot write these  
variables here! Locking issue!"
chan_capi.c:5473:2: warning: #warning "Does not handle length == 0xFF"
chan_capi.c: In function `cd_copy_telno_ext':
chan_capi.c:5668: warning: passing arg 1 of `snprintf' discards  
qualifiers from pointer target type
chan_capi.c: In function `chan_capi_command_exec':
chan_capi.c:6739: warning: implicit declaration of function  
`LOCAL_USER_ADD'
chan_capi.c:6770: error: structure has no member named `type'
chan_capi.c:6821: warning: implicit declaration of function  
`LOCAL_USER_REMOVE'
chan_capi.c:6892:2: warning: #warning "TODO: check for calls that  
never received connect_conf;"
chan_capi.c: At top level:
chan_capi.c:7213: error: unknown field `send_digit' specified in  
initializer
chan_capi.c:7213: warning: initialization from incompatible pointer type
chan_capi.c:7222: warning: initialization from incompatible pointer type
chan_capi.c:7837: warning: initialization from incompatible pointer type
chan_capi.c: In function `load_module':
chan_capi.c:8001: warning: implicit declaration of function  
`unload_module'
gmake: *** [chan_capi.o] Error 1
[root at breakout /home/lox/chan_capi_1_6_1]#


Thanks,
Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-bsd/attachments/20070528/53b31d0c/attachment.htm


More information about the Asterisk-BSD mailing list