Novax / kmod-huawei-voice

Huawei 3G modem diag(voice) port driver
6 stars 8 forks source link

Kernel 3.X #2

Open jpconfessor opened 11 years ago

jpconfessor commented 11 years ago

Got this error while compiling with kernel 3.6.11+

make -C /lib/modules/3.6.11+/build M=/usr/src/kmod-huawei-voice modules make[1]: Entering directory /usr/src/linux-headers-3.6-trunk-rpi' CC [M] /usr/src/kmod-huawei-voice/option.o /usr/src/kmod-huawei-voice/option.c:905:16: error: âusb_serial_probeâ undeclared here (not in a function) /usr/src/kmod-huawei-voice/option.c:906:16: error: âusb_serial_disconnectâ undeclared here (not in a function) /usr/src/kmod-huawei-voice/option.c:937:2: warning: initialization from incompatible pointer type [enabled by default] /usr/src/kmod-huawei-voice/option.c:937:2: warning: (near initialization for âoption_1port_device.tiocmgetâ) [enabled by default] /usr/src/kmod-huawei-voice/option.c:938:2: warning: initialization from incompatible pointer type [enabled by default] /usr/src/kmod-huawei-voice/option.c:938:2: warning: (near initialization for âoption_1port_device.tiocmsetâ) [enabled by default] /usr/src/kmod-huawei-voice/option.c: In function âoption_initâ: /usr/src/kmod-huawei-voice/option.c:984:2: error: implicit declaration of function âusb_serial_registerâ [-Werror=implicit-function-declaration] /usr/src/kmod-huawei-voice/option.c:997:2: error: implicit declaration of function âusb_serial_deregisterâ [-Werror=implicit-function-declaration] /usr/src/kmod-huawei-voice/option.c: In function âoption_instat_callbackâ: /usr/src/kmod-huawei-voice/option.c:1111:6: error: called object âerrâ is not a function /usr/src/kmod-huawei-voice/option.c: In function â__check_debugâ: /usr/src/kmod-huawei-voice/option.c:1161:1: warning: return from incompatible pointer type [enabled by default] cc1: some warnings being treated as errors make[4]: *** [/usr/src/kmod-huawei-voice/option.o] Error 1 make[3]: *** [_module_/usr/src/kmod-huawei-voice] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory/usr/src/linux-headers-3.6-trunk-rpi' make: *\ [all] Error 2

JPG-Consulting commented 9 years ago

Have you solved this problem? Got the same issue with 3.18.11+ on raspberry

jpconfessor commented 9 years ago

I gave up! haha. Now I’m using freeswitch + mod_gsmopen. Works OOTB https://wiki.freeswitch.org/wiki/GSMopen https://wiki.freeswitch.org/wiki/GSMopen

On Jul 13, 2015, at 1:05 AM, JPG-Consulting notifications@github.com wrote:

Have you solved this problem? Got the same issue with 3.18.11+ on raspberry

— Reply to this email directly or view it on GitHub https://github.com/Novax/kmod-huawei-voice/issues/2#issuecomment-120804760.

JPG-Consulting commented 9 years ago

I'm still trying to get it running.

How is freeswitch compared to asterisk? Does it have DISA?

My setup is quite simple: Raspberry PI running the PBX, SPA3102 for FXS/FXO and the USB dongle for incoming calls, outgoing calls (Backup trunk) and DISA incoming calls.

Right now DISA is not working as the tones won't reach the PBX (One way audio on incoming calls, audio only from PBX to Phone). Neither outgoing calls will work as i only get audio from phone to PBX.

jpconfessor commented 9 years ago

Hello!

Freeswitch >>>> Asterisk. It was made by former asterisk developers… They made it easier to maintain (XML files) and you can use lua/python scripts for almost everything. API is richer, they have migrated almost all the functionalities from Asterisk.

Here you can check one DISA example: https://freeswitch.org/confluence/display/FREESWITCH/Lua+DISA+Example https://freeswitch.org/confluence/display/FREESWITCH/Lua+DISA+Example

SPA3102 Tutorial https://freeswitch.org/confluence/display/FREESWITCH/SPA3102+HowTo https://freeswitch.org/confluence/display/FREESWITCH/SPA3102+HowTo João Paulo Confessor evilsk4ter@gmail.com

On Jul 17, 2015, at 1:32 PM, JPG-Consulting notifications@github.com wrote:

DISA