Topic: chan_dongle for Asterisk13

2014-10-24 was released Asterisk 13 (new LTS version). I modified source code of chan_dongle so it can be compiled with this new version. Chan_dongle is Huawei 3G Dongle Channel Driver for Asterisk.
You can download from

http://uloz.to/xttriVxC/asterisk-chan-d … ted-tar-gz

I hope someone find this usefull.

P.

Re: chan_dongle for Asterisk13

Wow, is compiles fine on Centos 6.6 with Asterisk 13. Hope it will also work fine. Anyway, thank you very much!
It will be nice if you can post a patch to see the changes you made for future releases maybe... but only if you like to share. ;-?

Re: chan_dongle for Asterisk13

a ri ga to

4 (edited by jersonjunior 2015-02-27 19:04:24)

Re: chan_dongle for Asterisk13

Nice,is compiles fine on Centos 6.5 with Asterisk 13 with FreePBX 12,but when I do a call and answering the call does not establish and run dongle devices show returns empty and crash asterisk

dongle show de
device   devices
localhost*CLI> dongle show devices
ID           Group State      RSSI Mode Submode Provider Name  Model      Firmware          IMEI             IMSI             Number
dongle0      0     Free       14   0    0       VIVO           E1552      11.609.20.00.00   35344775555551  7240888888  +5561900000
    -- Executing [82353034@from-internal:1] Dial("PJSIP/1000-00000000", "Dongle/dongle0/82353034,60,tr") in new stack
    -- Called Dongle/dongle0/82353034
localhost*CLI> dongle show devices
ID           Group State      RSSI Mode Submode Provider Name  Model      Firmware          IMEI             IMSI             Number

Re: chan_dongle for Asterisk13

[2015-02-27 14:25:24] WARNING[28062] loader.c: Module 'chan_dongle.so' was not compiled with the same compile-time options as this version of Asterisk.
[2015-02-27 14:25:24] WARNING[28062] loader.c: Module 'chan_dongle.so' will not be initialized as it may cause instability.
[2015-02-27 14:25:24] WARNING[28062] loader.c: Module 'chan_dongle.so' could not be loaded.
[2015-02-27 14:25:52] WARNING[28062] loader.c: Module 'chan_dongle.so' was not compiled with the same compile-time options as this version of Asterisk.
[2015-02-27 14:25:52] WARNING[28062] loader.c: Module 'chan_dongle.so' will not be initialized as it may cause instability.
[2015-02-27 14:25:52] WARNING[28062] loader.c: Module 'chan_dongle.so' could not be loaded.

Re: chan_dongle for Asterisk13

novaktmp wrote:

2014-10-24 was released Asterisk 13 (new LTS version). I modified source code of chan_dongle so it can be compiled with this new version. Chan_dongle is Huawei 3G Dongle Channel Driver for Asterisk.
You can download from

http://uloz.to/xttriVxC/asterisk-chan-d … ted-tar-gz

I hope someone find this usefull.

P.

A lot of thanks! It compiled fine (on arch linux, ODROID-C1), will check if it will funcion OK.

Re: chan_dongle for Asterisk13

Well, at least I can answer incoming calls and speak normally.
Outgoing calls hangs the module up despite of call reaches the B subscriber (no voice, obviously).
JFTR I use ODROID C1 with Asterisk 13 on Archlinux. My modem is  E1750 fw=11.126.03.91.00.

Re: chan_dongle for Asterisk13

Hello,
good day. What about asterisk 12 ?

Re: chan_dongle for Asterisk13

konate wrote:

Hello,
good day. What about asterisk 12 ?

If it works with 13, should work with 12 as well. Not a huge code difference.

Re: chan_dongle for Asterisk13

Hello,

I have this error :

chan_dongle.c:55:35: fatal error: asterisk/format_cache.h:
file do not exist in asterisk 12

Re: chan_dongle for Asterisk13

Great work @novaktmp I think if you publish the github link of your work, the community might be helpful

12 (edited by novaktmp 2015-12-11 15:18:31)

Re: chan_dongle for Asterisk13

Errors in my code was solved by oleg-krv. Sources are on
https://github.com/oleg-krv/asterisk-ch … asterisk13
PS: I didnt tested it. I have no time. I gave it here for information.

Re: chan_dongle for Asterisk13

How do the installation does not configure file.
And another version I settled with the following command.
./configure --enable-manager --enable-apps
make
make install

Re: chan_dongle for Asterisk13

lucianomarav wrote:

How do the installation does not configure file.
And another version I settled with the following command.
./configure --enable-manager --enable-apps
make
make install


May be i can help you but i also need help from you.. Can you send me email : hassaan.execel@gmail.com or can you contact me on my skype: hassaan_raza..
I have installed every thing but i do not fully know how to operate many things

Re: chan_dongle for Asterisk13

FYI, everything seems to be working nicely (also outgoing calls) with asterisk 13.9.x combined with oleg-krv's chan_dongle version. instructions:

install asterisk 13.9.x:
wget http://downloads.asterisk.org/pub/telep … ent.tar.gz
aclocal
autoconf
automake -a
./configure
make
make menuselect
make install


install chan_dongle (hint: setting the branch “asterisk13” is crucial!):
git clone -b asterisk13 https://github.com/oleg-krv/asterisk-chan-dongle.git
cd asterisk-chan-dongle
aclocal
autoconf
automake -a
./configure
make install

Re: chan_dongle for Asterisk13

franky, could you please help me with building chan_dongle for asterisk v1.8?
I have Huawei E3131s-2 to try it.

Thank you in advance.

OpenWrt WR RC6 powered WRT54GL v1.0 64MB RAM mod
RT31P2-EU v1.30.07/v3.1.09LId
OpenWrt CC 15.05.1 powered WL-330N3G with Huawei E3131s-2 and miniSDHC extroot

Re: chan_dongle for Asterisk13

Could you please have a look at this topic regarding the chan_dongle for asterisk v1.8?

Thank you in advance.

OpenWrt WR RC6 powered WRT54GL v1.0 64MB RAM mod
RT31P2-EU v1.30.07/v3.1.09LId
OpenWrt CC 15.05.1 powered WL-330N3G with Huawei E3131s-2 and miniSDHC extroot