fabioprado / asterisk-chan-dongle

Automatically exported from code.google.com/p/asterisk-chan-dongle
Other
0 stars 0 forks source link

installation problem in debian 6.0.6 and asterisk 11.3 #124

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi. i am trying to install chan-dongle in debian 6.0.6 running asterisk 11.3, 
but i am facing a problem when running make. it comes with the following error:

app.c:162: warning: passing argument 2 of ‘ast_register_application2’ from 
incompatible pointer type
/usr/include/asterisk/module.h:458: note: expected ‘int (*)(struct 
ast_channel *, const char *)’ but argument is of type ‘int (*)(struct 
ast_channel *, void *)’
make: *** [app.o] Error 1
root@debPBX:/usr/src/chan_dongle-1.1.r14#

taking it from the begging the steps i followed are:
http://wiki.e1550.mobi/doku.php?id=installation  from the part that says to 
install chan_dongle

any ideas?

Original issue reported on code.google.com by dreamer.binary on 16 Apr 2013 at 9:08

GoogleCodeExporter commented 9 years ago
your error apparently shows that you are facing incompatibility problem with 
ast 11 branch .  
kindly follow this link 
http://code.google.com/p/asterisk-chan-dongle/issues/detail?id=92 .. and you 
need to use Jacub Stasiac's patched Chan_dongle code for Asterisk 11 .

download this patched chan_dongle code for asterisk 11 . 
https://github.com/jstasiak/asterisk-chan-dongle/archive/asterisk11.zip . 

Original comment by alihmd....@gmail.com on 21 Apr 2013 at 8:08