-
-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Hi, I was previously experimenting w/ asterisk 18 and the older versions (John Newcombe's) app_softmodem.c and having it connect to a listening netcat (nc -l 12345
) to simply be able to type in the tty for the modem and see the text arrive at netcat and vice versa, then I decided to upgrade to the phreakscript version to see if it had any stability improvements from either the changes to app_softmodem.c or the newer asterisk version...but it seems to send like a byte or two to the listening netcat even before the modem negotiation starts, then kills the socket connection for some unknown reason during the modem negotiation.
Any ideas why this might be or tips on how to debug? I'm new to asterisk but a 40 year veteran at programming...I tried setting debug logging to the console and turning on debugging for app_softmodem.so and SoftModem, but am seeing no messages from it (I can get other debug message from core stuff to show up in the console though, just not anything from the softmodem code).
I'm also starting to dig through the differences in the 2 versions of app_softmodem.c to try and glean any hints (sadly searching the internet also didn't reveal any hints yet), but being able to see debugging messages would make experimentation & investigation easier.
The config for this in extensions.conf (that worked w/ the earlier version):
exten => 6000,1,Set(VOLUME(TX)=1)
exten => 6000,n,Set(VOLUME(RX)=1)
exten => 6000,n,Answer()
exten => 6000,n,Wait(1)
exten => 6000,n,Softmodem(127.0.0.1,12345,v(V22bis)ld(8)s(1)e)
exten => 6000,n,Hangup()
Thanks,
Chuck