The code is attachment. It's for an old version of asterisk, incorrectly linted, not very well written, comes with no warranties. You can consider it GPL.
Christoph
Mychaela Falconia wrote on 29.02.24 at 14:30:
Hi Christoph,
The proof of the pudding is in the eating.
This is Bellmodem @1200 over an ATA over SIP over IAX to spandsp:
OK, so you have proof (of the pudding) that 1200 bps Just Works - very good to hear! Now can you do the same thing at 9600 bps? Back when T-Mobile USA had beautifully working CSD, I could make CSD calls from a GSM MS to servers with POTS modems, and it would connect at 9600 bps. I would like to replicate that feat, if possible - and I have a suspicion that this area is one where spandsp will need some further work, and/or there may be issues with the commercial SIP-to-PSTN path being not as pristine and transparent as it appears.
I still need to figure out how to build spandsp correctly (there are compilation options where I am not certain of the "right" choice, such as fixed point or not), and how to actually use spandsp library from my own programs. Would you happen to have an example of your own from-scratch C program using spandsp functions for that 1200 bps modem?
M~