Closed sergei-mironov closed 3 years ago
Got some new info for this case:
I disabled opening audio_fd
in chan_dongle.c:715
(wrote -1 to it and commented out sanity checks). After that device has passed AT-checks and could receive some SMS (I got messages like [dongle0] Got full SMS from Beeline@ ....
). What could it mean? Could an attempt to open audio port hang the modem entirely?
I just got another modem which seems to work better. For now I believe that the problem was in my particular hardware.
Thanks for the feedback / self-close :)
Hi. I have E160G modem which seems to work correctly with minicom (
sudo minicom -D /dev/ttyUSB0
) and reference C program. Namely, I could easily send AT commands like 'AT' or 'ATI'.Unfortunately, asterisk-chan-dongle reports errors like this:
Could you please suggest what could be wrong?
Note, that
printf("Open XXXX successfully\n")
message was added by me, it is the only change in sources. I'm using latest asterisk-chan-dongle (git hash 328b2b7) and asterisk 15.Configs are here. Please ignore unusual format, in the end it encodes regular text files.