Git Product home page Git Product logo

asterisk-softmodem's People

Contributors

proquar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

asterisk-softmodem's Issues

Doesn't compile

Generating input for menuselect ...
menuselect/menuselect --check-deps menuselect.makeopts
menuselect/menuselect --check-deps menuselect.makeopts
   [CC] app_softmodem.c -> app_softmodem.o
In file included from /usr/src/asterisk-18.3.0/include/asterisk.h:23,
                 from app_softmodem.c:21:
/usr/include/spandsp/fir.h: In function ‘fir16_create’:
/usr/src/asterisk-18.3.0/include/asterisk/astmm.h:160:2: error: ‘Do_not_use_malloc__use_ast_malloc’ undeclared (first use in this function)
  Do_not_use_malloc__use_ast_malloc->fail(a)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/asterisk-18.3.0/include/asterisk/astmm.h:160:2: note: each undeclared identifier is reported only once for each function it appears in
/usr/include/spandsp/fir.h: In function ‘fir16_free’:
/usr/src/asterisk-18.3.0/include/asterisk/astmm.h:162:2: error: ‘Do_not_use_free__use_ast_free_or_ast_std_free_for_remotely_allocated_memory’ undeclared (first use in this function)
  Do_not_use_free__use_ast_free_or_ast_std_free_for_remotely_allocated_memory->fail(a)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spandsp/fir.h: In function ‘fir32_create’:
/usr/src/asterisk-18.3.0/include/asterisk/astmm.h:160:2: error: ‘Do_not_use_malloc__use_ast_malloc’ undeclared (first use in this function)
  Do_not_use_malloc__use_ast_malloc->fail(a)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spandsp/fir.h: In function ‘fir32_free’:
/usr/src/asterisk-18.3.0/include/asterisk/astmm.h:162:2: error: ‘Do_not_use_free__use_ast_free_or_ast_std_free_for_remotely_allocated_memory’ undeclared (first use in this function)
  Do_not_use_free__use_ast_free_or_ast_std_free_for_remotely_allocated_memory->fail(a)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spandsp/fir.h: In function ‘fir_float_create’:
/usr/src/asterisk-18.3.0/include/asterisk/astmm.h:160:2: error: ‘Do_not_use_malloc__use_ast_malloc’ undeclared (first use in this function)
  Do_not_use_malloc__use_ast_malloc->fail(a)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/spandsp/fir.h: In function ‘fir_float_free’:
/usr/src/asterisk-18.3.0/include/asterisk/astmm.h:162:2: error: ‘Do_not_use_free__use_ast_free_or_ast_std_free_for_remotely_allocated_memory’ undeclared (first use in this function)
  Do_not_use_free__use_ast_free_or_ast_std_free_for_remotely_allocated_memory->fail(a)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [/usr/src/asterisk-18.3.0/Makefile.rules:165: app_softmodem.o] Error 1
make: *** [Makefile:388: apps] Error 2

Multi speed support?

Would it be possible to add auto baudrate detection? In this way, multiple speeds can be used on the same VoIP line. For the moment, only one (fixed) speed can be used per incoming connection.

Doesn't seem to work for me at all; I just get a continuous tone when I dial

Hey, bit of a long shot but I hope someone might be able to help me out with this. I'm using johnnewcombe's fork with Asterisk 18.16.0 on Debian 10, and everything appears to work except that when I dial in I just get a continuous ~1300Hz tone which plays until I hang up. There's no error, and the softmodem does indeed make the connection to the remote server, but for some reason it will not even try to perform a handshake with the caller.

Any help with this would be massively appreciated, as unlikely as it may be that anyone will even read this lol

Cheers

Inclusion in Asterisk

Can this module be submitted for inclusion in Asterisk? https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process

There are lots of people using this module, but it seems it is not being maintained by the original author before (who was last active here Dec. 2020).

This doesn't even compile under the latest version of Asterisk. People everywhere have to independently modify the module so that it does, and as a result, there are all sorts of versions circulating now which is making this a big mess.

Only the original author can submit it for Asterisk (or at least, it can only be submitted with the original author's permission), and this project is truly big and useful enough that it deserves a place in the official Asterisk repository.

Then, everyone in the community can contribute to it and add features and bug fixes, and the whole Asterisk community can benefit from its automatic inclusion.

Thank you for the consideration.

Strange bytes on connect

My setup is: 56k modem --> SIP ATA --> asterisk with softphone --> BBS via telnet.
When I dial into the softmodem, it always sends a couple of bytes to the telnet server (hexdump output):

0000000 9111 9111 9111 9111 9111 9111 9111 9111
0000010 9111 9111 9111 9111 9111 9111 9111 9111
0000020 9111 9111 9111 9111 9111 9111 9111 9111
0000030 9111 9111 9111 9111 9111 9111 9111 9111
0000040 9111 9111 9111 9111 9111 9111 9111 9111
0000050 9111 9111 9111 9111 9111 9111 9111 9111
0000060 9111 9111 9111 9111 9111 9111 9111 9111
0000070 9111 9111 9111 9111 9111 9111 9111 9111
0000080 9111 9111 9111 9111 9111 9111 9111 9111
0000090 9111 9111 9111 9111 9111 9111 1016 1a02
00000a0 0201 0601 0001 0000 ff00 0102 0303 0801
00000b0 0204 0040 0108 0903 1d01 0310 caf2

I have no idea if that is my modem trying to "convince" the softmodem to connect with a faster speed or if it's just some garbage caused by the handshake. After these bytes the transmission is perfectly fine.
Is there anything possible to get rid of these bytes? Since they're getting sent to the login prompt, login instantly fails and the connection gets terminated.

Edit: The "garbage characters" stop as soon as the calling modem shows "CONNECT", so it's definitely a bit of the handshake. Have tried with a couple more modems, most of the bytes are the same, only a few differ:

Elsa Microlink 56k i
0000000 9111 9111 9111 9111 9111 9111 9111 9111
0000010 9111 9111 9111 9111 9111 9111 9111 9111
0000020 9111 9111 9111 9111 9111 9111 9111 9111
0000030 9111 9111 9111 9111 9111 9111 9111 9111
0000040 9111 9111 9111 9111 9111 9111 9111 9111
0000050 9111 9111 9111 9111 9111 9111 9111 9111
0000060 9111 9111 9111 9111 9111 9111 9111 9111
0000070 9111 9111 9111 9111 9111 9111 9111 9111
0000080 9111 9111 9111 9111 9111 9111 9111 9111
0000090 9111 9111 9111 9111 9111 9111 9111 9111
00000a0 9111 9111 9111 9111 9111 9111 9111 1016
00000b0 1a02 0201 0601 0001 0000 ff00 0102 0303
00000c0 0801 0204 0040 0108 0903 0101 0310 0afa
Lucent WinModem
0000000 9111 9111 9111 9111 9111 9111 9111 9111
0000010 9111 9111 9111 9111 9111 9111 9111 9111
0000020 9111 9111 9111 9111 9111 9111 9111 9111
0000030 9111 9111 9111 9111 9111 9111 9111 9111
0000040 9111 9111 9111 9111 9111 9111 9111 9111
0000050 9111 9111 9111 9111 9111 9111 9111 9111
0000060 9111 9111 1016 1a02 0201 0601 0001 0000
0000070 ff00 0102 0303 0801 0204 0040 0108 0903
0000080 0101 0310 0afa 1016 1a02 0201 0601 0001
0000090 0000 ff00 0102 0303 0801 0204 0040 0108
00000a0 0903 0101 0310 0afa

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.