Menu

Module 'chan_dongle.so' doesn't work with Asterisk 13.17.1 update

jbrn
2017-09-12
2017-10-04
  • jbrn

    jbrn - 2017-09-12

    last upgraded asterisk from asterisk13_13.15.0-1 to
    asterisk13_13.17.1-1 and after a reboot chan_dongle doesn't work
    anymore.

    In the logfile following was found:

    Asterisk 13.17.1 built by root @ raspbx on a armv6l running Linux on
    2017-09-09 11:05:49 UTC
    ...
    [2017-09-10 19:14:28] WARNING[1949] loader.c: Module 'chan_dongle.so'
    was not compiled with the same compile-time options as this version of
    Asterisk.
    [2017-09-10 19:14:28] WARNING[1949] loader.c: Module 'chan_dongle.so'
    will not be initialized as it may cause instability.
    [2017-09-10 19:14:28] WARNING[1949] loader.c: Module 'chan_dongle.so'
    could not be loaded.

    Now I go back to the previous version asterisk13_13.15.0-1_armhf.deb and
    after restart all is okay.

    Perhaps it is possible to update 'chan_dongle.so' package.

    Many tnx in advance!
    Joe.

     
  • Bruno Frare

    Bruno Frare - 2017-09-13

    I had the same problem.

    I didn't find the previous version.

    To fix I downloaded the chan_dongle and install from source.

    apt-get remove asterisk13-chandongle
    git clone -b asterisk13 https://github.com/oleg-krv/asterisk-chan-dongle.git
    aclocal
    autoconf
    automake -a
    ./configure
    make install
    
     
  • Gernot

    Gernot - 2017-09-13

    I am sorry for that. I have updated the asterisk13-chandongle package, it works again with the latest Asterisk version. Install it with

    apt-get update && apt-get dist-upgrade
    

    chan_dongle revision is Version 1.1, Revision 43gh=47cg, from
    https://github.com/wdoekes/asterisk-chan-dongle

     
  • jbrn

    jbrn - 2017-09-14

    great! tnx Gernot for the update! it works!

    The other solutions sound also interessting and for the future it's good to know!

    cheers,
    Joe.

     
  • William Fulton

    William Fulton - 2017-10-04

    I am getting the device to work, but all of the dongle cli commands are not working. These are useful sometimes to troubleshoot cell connectivity probems. Any hints would be most appreciated.

     
  • Gernot

    Gernot - 2017-10-05

    The commands are all there:

    raspbx*CLI> core show help dongle
    dongle callwaiting             -- Enable/Disable Call-Waiting on the dongle
    dongle cmd                     -- Send commands to port for debugging
    dongle discovery               -- Discovery devices and create config
    dongle pdu                     -- Send PDU of SMS from the dongle
    dongle reload                  -- Reload dongle
    dongle remove                  -- Remove dongle
    dongle reset                   -- Reset dongle now
    dongle restart                 -- Restart dongle
    dongle show device settings    -- Show Dongle device settings
    dongle show device state       -- Show Dongle device state
    dongle show device statistics  -- Show Dongle device statistics
    dongle show devices            -- Show Dongle devices state
    dongle show version            -- Show module version
    dongle sms                     -- Send SMS from the dongle
    dongle start                   -- Start dongle
    dongle stop                    -- Stop dongle
    dongle ussd                    -- Send USSD commands to the dongle
    

    Are you missing a specific comand?

     
  • William Fulton

    William Fulton - 2017-10-10

    It looks like my syntax was wrong. I tested again today and it is working fine. Thank you!

     

Log in to post a comment.