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

Modem doesn't make call on Debian 10 #2

Open
rgwan opened this issue Dec 10, 2021 · 2 comments
Open

Modem doesn't make call on Debian 10 #2

rgwan opened this issue Dec 10, 2021 · 2 comments

Comments

@rgwan
Copy link

rgwan commented Dec 10, 2021

Here is logs:

root@shsipmdmpool01:/home/pbx/D-Modem# ./slmodemd/slmodemd -d9 -e /home/pbx/D-Modem/d-modem SmartLink Soft Modem: version 2.9.11 Dec 10 2021 15:33:02 <763.529273> SmartLink Soft Modem: version 2.9.11 Dec 10 2021 15:33:02 <763.529295> d-modem: startup modem... <763.529721> d-modem: update termios... symbolic link /dev/ttySL0' -> /dev/pts/1' created. modem d-modem' created. TTY is /dev/pts/1' <763.529786> open file: /var/lib/slmodem/data.d-modem... <763.530377> main: rt applyed: SCHED_FIFO, pri 99 <763.530461> main: dropped privileges to 65534.65534 Use /dev/ttySL0' as modem device, Ctrl+C for termination.
<769.464756> main: termios changed.
<769.464773> d-modem: update termios...
<770.120757> d-modem: run cmd: ATX3
<770.120775> d-modem: modem report result: 0 (OK)
<772.711515> d-modem: run cmd: ATE0
<772.711530> d-modem: modem report result: 0 (OK)
<775.167933> d-modem: run cmd: ATE1
<775.167952> d-modem: modem report result: 0 (OK)
<777.768276> d-modem: run cmd: ATD1009
<777.768304> d-modem: modem dial: 1009...
<777.768310> d-modem: modem_dial_start...
<777.768316> call: create...
<777.768329> CallProgFP_Create >>
<777.768342> APPLY_FILTER = 0
<777.768348> Detection Thresholds: levle_fix=43,--> LEVEL_THRESHOLD=96
<777.768352> ============> 6
<777.768354> Cadence: Busy Tone loose detection is 0
<777.768358> TYPE BUSY
<777.768361> Filter index 6
<777.768363> Filter SubIndex 0
<777.768365> MAX_ON_TIME 30 Buffers MIN_ON_TIME 9 Buffers
<777.768369> MAX_OFF_TIME 30 Buffers MIN_OFF_TIME 9 Buffers
<777.768371> OFF_TIME_THAT_RESETS_CYCLE 90
<777.768373> BUFFER LENGTH 160 samples.
<777.768376> INTEGRATION_LENGTH 0[ms]
<777.768378> LEVEL 96
<777.768382> INTEGRATION_TIME = 0 Buffers.
<777.768385> Detection Thresholds: levle_fix=43,--> LEVEL_THRESHOLD=96
<777.768388> TYPE DIAL
<777.768392> Filter index 5
<777.768394> Filter SubIndex 0
<777.768395> MAX_ON_TIME 0 Buffers MIN_ON_TIME 0 Buffers
<777.768398> MAX_OFF_TIME 0 Buffers MIN_OFF_TIME 0 Buffers
<777.768401> OFF_TIME_THAT_RESETS_CYCLE 0
<777.768403> BUFFER LENGTH 666 samples.
<777.768405> INTEGRATION_LENGTH 2500[ms]
<777.768408> LEVEL 96
<777.768411> INTEGRATION_TIME = 28 Buffers.
<777.768416> CALLPROG Create <<
<777.768424> CALLPROG Dialing
<777.768427> Configuration->tone_DigitLength 100
<777.768429> Configuration->pulse_OffHookTime 36
<777.768431> Configuration->pulse_OnHookTime 64
<777.768434> Configuration->dialPauseTime 2
<777.768437> Configuration->flashTime 50
<777.768439> Configuration->toneOrPulseFlag 0
<777.768441> Configuration->dialModifierValidationFlag 0
<777.768444> Configuration->ABCD_PermittedFlag 0
<777.768446> Configuration->pulseAndToneInSameStringPermittedFlag 0
<777.768449> Configuration->callingToneFlag 0
<777.768452> Configuration->commaPauseDurLimit 255
<777.768454> Configuration->digitPattern 1
<777.768456> Configuration->tone_BetweenDigitsInterval 100
<777.768459> Configuration->pulse_BetweenDigitsInterval 800
<777.768462> DTMF_Gain1 = 13014
<777.768464> DTMF_Gain2 = 16384
<777.768467> AnalyzeDialString: Updated 17 May 1999 00:50
<777.768469> Dial String Syntax is VALID
<777.768473> GetNoAnswerTimeOut. 60
<777.768480> BlindCall: GetBlindDialPause = 2 .
<777.768483> CALLPROG_Dial was exited.
<777.768485> call: create RC: 9600 <-> 8000...
<777.768497> d-modem: modem_start..
<777.768499> d-modem: modem set state: 1 --> 2...
<777.768502> d-modem: new state: DP_ESTAB
<777.768504> main: socket_ioctl: cmd 8, arg 3...
<777.768508> d-modem: modem set hook: 0 --> 1...
<777.768510> main: socket_ioctl: cmd 2, arg 1...
<777.768513> main: socket_ioctl: returning 0
<777.768517> main: socket_ioctl: cmd 11, arg 0...
<777.768519> main: socket_ioctl: returning 4
<777.768563> main: socket_ioctl: cmd 4, arg 2580...
<777.768567> main: socket_ioctl: returning 0
<777.768570> main: socket_ioctl: cmd 7, arg 30...
<777.768577> main: socket_ioctl: returning 0
<777.768582> main: socket_start...
<777.768741> main: done delay thing
`

@rgwan
Copy link
Author

rgwan commented Dec 10, 2021

Ok, the modem_exec variable doesn't correctly pass to the exec() function. I'm trying to fix it.

@vr5
Copy link

vr5 commented Dec 12, 2021

@rgwan
Did you see pull request #1
I think you have exactly the same problem that I had with d-modem.

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

2 participants