Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slmodemd does not receive connection from dialup number #10

Open
ROBERT-MCDOWELL opened this issue Oct 19, 2023 · 0 comments
Open

slmodemd does not receive connection from dialup number #10

ROBERT-MCDOWELL opened this issue Oct 19, 2023 · 0 comments

Comments

@ROBERT-MCDOWELL
Copy link

ROBERT-MCDOWELL commented Oct 19, 2023

I followed the instruction, so far so good but after tried to call the atd13... number in the example (atomic clock)
I got
[root@node117 D-Modem]# ./slmodemd/slmodemd -d9 -e ./d-modem
SmartLink Soft Modem: version 2.9.11 Oct 19 2023 21:36:37
<332.896907> SmartLink Soft Modem: version 2.9.11 Oct 19 2023 21:36:37
<332.896917> d-modem: startup modem...
<332.896986> d-modem: update termios...
symbolic link /dev/ttySL0' -> /dev/pts/1' created.
modem d-modem' created. TTY is /dev/pts/1'
<332.897119> open file: /var/lib/slmodem/data.d-modem...
<332.897439> main: rt applyed: SCHED_FIFO, pri 99
<332.897475> main: dropped privileges to 99.99
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
<335.434190> main: termios changed.
<335.434202> d-modem: update termios...
<336.770057> d-modem: run cmd: atx3
<336.770069> d-modem: modem report result: 0 (OK)
<349.654289> d-modem: run cmd: at+ms=132,0,4800,9600
<349.654304> d-modem: modem report result: 0 (OK)
<391.710197> d-modem: run cmd: atd0000013034944774
<391.710210> d-modem: modem dial: 0000013034944774...
<391.710214> d-modem: modem_dial_start...
<391.710217> call: create...
<391.710223> CallProgFP_Create >>
<391.710226> APPLY_FILTER = 0
<391.710230> Detection Thresholds: levle_fix=43,--> LEVEL_THRESHOLD=96
<391.710234> ============> 6
<391.710238> Cadence: Busy Tone loose detection is 0
<391.710243> TYPE BUSY
<391.710246> Filter index 6
<391.710249> Filter SubIndex 0
<391.710251> MAX_ON_TIME 30 Buffers MIN_ON_TIME 9 Buffers
<391.710254> MAX_OFF_TIME 30 Buffers MIN_OFF_TIME 9 Buffers
<391.710257> OFF_TIME_THAT_RESETS_CYCLE 90
<391.710260> BUFFER LENGTH 160 samples.
<391.710262> INTEGRATION_LENGTH 0[ms]
<391.710265> LEVEL 96
<391.710269> INTEGRATION_TIME = 0 Buffers.
<391.710272> Detection Thresholds: levle_fix=43,--> LEVEL_THRESHOLD=96
<391.710275> TYPE DIAL
<391.710278> Filter index 5
<391.710280> Filter SubIndex 0
<391.710283> MAX_ON_TIME 0 Buffers MIN_ON_TIME 0 Buffers
<391.710287> MAX_OFF_TIME 0 Buffers MIN_OFF_TIME 0 Buffers
<391.710291> OFF_TIME_THAT_RESETS_CYCLE 0
<391.710295> BUFFER LENGTH 666 samples.
<391.710298> INTEGRATION_LENGTH 2500[ms]
<391.710302> LEVEL 96
<391.710306> INTEGRATION_TIME = 28 Buffers.
<391.710310> CALLPROG Create <<
<391.710314> CALLPROG Dialing
<391.710318> Configuration->tone_DigitLength 100
<391.710321> Configuration->pulse_OffHookTime 36
<391.710325> Configuration->pulse_OnHookTime 64
<391.710328> Configuration->dialPauseTime 2
<391.710332> Configuration->flashTime 50
<391.710335> Configuration->toneOrPulseFlag 0
<391.710339> Configuration->dialModifierValidationFlag 0
<391.710342> Configuration->ABCD_PermittedFlag 0
<391.710346> Configuration->pulseAndToneInSameStringPermittedFlag 0
<391.710350> Configuration->callingToneFlag 0
<391.710353> Configuration->commaPauseDurLimit 255
<391.710357> Configuration->digitPattern 1
<391.710360> Configuration->tone_BetweenDigitsInterval 100
<391.710364> Configuration->pulse_BetweenDigitsInterval 800
<391.710368> DTMF_Gain1 = 13014
<391.710371> DTMF_Gain2 = 16384
<391.710375> AnalyzeDialString: Updated 17 May 1999 00:50
<391.710378> Dial String Syntax is VALID
<391.710383> GetNoAnswerTimeOut. 60
<391.710387> BlindCall: GetBlindDialPause = 2 .
<391.710390> CALLPROG_Dial was exited.
<391.710394> call: create RC: 9600 <-> 8000...
<391.710399> d-modem: modem_start..
<391.710402> d-modem: modem set state: 1 --> 2...
<391.710406> d-modem: new state: DP_ESTAB
<391.710410> main: socket_ioctl: cmd 8, arg 3...
<391.710414> d-modem: modem set hook: 0 --> 1...
<391.710417> main: socket_ioctl: cmd 2, arg 1...
<391.710430> main: socket_ioctl: returning 0
<391.710435> main: socket_ioctl: cmd 11, arg 0...
<391.710438> main: socket_ioctl: returning 4
<391.710455> main: socket_ioctl: cmd 4, arg 2580...
<391.710459> main: socket_ioctl: returning 0
<391.710463> main: socket_ioctl: cmd 7, arg 30...
<391.710466> main: socket_ioctl: returning 0
<391.710470> main: socket_start...
<391.710608> main: done delay thing

error: dev read: Bad address
<719.012312> d-modem: modem_hup...2
<719.012321> d-modem: modem set state: 2 --> 9...
<719.012326> d-modem: new state: DP_DISC
<719.012334> d-modem: modem_stop..
<719.012339> main: socket_stop...
<719.012348> d-modem: modem set hook: 1 --> 0...
<719.012352> main: socket_ioctl: cmd 2, arg 0...
<719.012357> main: socket_ioctl: returning 0
<719.012360> main: socket_ioctl: cmd 8, arg 0...
<719.012374> call: delete...
<719.012385> Dialer was aborted.
<719.012389> CALLPROG_Delete is entered
<719.012392> cadence_delete with CADENCE_DIAL_OBJ is invoked
<719.012405> cadence_delete with CADENCE_OBJ is invoked
<719.012409> CALLPROG_Delete is exited
<719.012420> d-modem: modem set state: 9 --> 1...
<719.012432> d-modem: new state: MODEM_IDLE
<719.012443> d-modem: modem report result: 3 (NO CARRIER)

but no connection I guess.. any clue?

@ROBERT-MCDOWELL ROBERT-MCDOWELL changed the title slmodemd does not receive modem audio from dialup number slmodemd does not receive connection from dialup number Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant