x25today / voipwardialer

A Voip Wardialer for the phreaking of 2020
51 stars 11 forks source link

Implement PTY serial with Modem Emulation of AT Commands to hook iWar Wardialer #8

Open fpietrosanti opened 4 years ago

fpietrosanti commented 4 years ago

This ticket, starting from the #1 brainstorming, is to provide a virtual terminal emulation pty that can handle and parse AT Commands (see https://github.com/collab-project/atcmd) hooked to the Dialer and Modem events.

The goal would be to implement the basic minimum functionalities to use Beave's iWar wardialer with VoIP-Wardialer (de-facto operating as a Voip-Modem) https://github.com/beave/iwar

This require also #6 and #7 extension to the Asterisk-Softmodem to provide CONNECT events and modulation negotiated (V21. V23, etc)

gdassori commented 4 years ago

Could be like:

./dialer.py vmodem --pty $HOME/vmodem0 <sip stuff...>

fpietrosanti commented 4 years ago

Hey @beave check what we're working on, you'd wish to help to extend iWar to use a VoIP dialing with this

fpietrosanti commented 4 years ago

The AT Modem interface could also support --tonedetect used by iWar (once implemented by #9) by handling the "W" at the end of the ATDT dialing string as codeline https://github.com/beave/iwar/blob/600730dba564fd51b1e7e003a25559da4627639e/src/iwar-engine.c#L325 .

beave commented 4 years ago

I was just turned on to this project today! Very nice and can't wait to test. I was thinking it might be better to integrate as a "plugin" for iwar2 which is multithreaded. iWar2 needs some love but I would be willing to put in some time. Let me check things out and get back to you.