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

ATH does not work (call hangup) #357

Closed
leonardpitzu opened this Issue Sep 26, 2017 · 8 comments

Comments

Projects
None yet
2 participants
@leonardpitzu

leonardpitzu commented Sep 26, 2017

phone number masked with aaaaaaaaaa
i am using a custom build of the master branch

Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: Leaving GSM_CancelCall
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: 1 "RING"
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: Checking line: RING
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: AT reply state: 4
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: RECEIVED frame type 0x00/length 0x06/6
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: 52R|49I|4EN|47G|0D |0A RING..
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: Incoming call info
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: Ring detected - ignoring
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: 1 "+CRING: VOICE"
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: Checking line: +CRING: VOICE
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: AT reply state: 4
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: RECEIVED frame type 0x00/length 0x0F/15
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: 2B+|43C|52R|49I|4EN|47G|3A:|20 |56V|4FO|49I|43C|45E|0D |0A +CRING: VOICE..
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: Incoming call info
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: Ring detected - ignoring
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: 1 "+CLIP: "aaaaaaaaaa",161,"",,"",0"
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: Checking line: +CLIP: "aaaaaaaaaa",161,"",,"",0
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: AT reply state: 4
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: RECEIVED frame type 0x00/length 0x22/34
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: 2B+|43C|4CL|49I|50P|3A:|20 |22"|300|377|322|322|377|377|344|322 +CLIP: "07227742
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: 377|300|22"|2C,|311|366|311|2C,|22"|22"|2C,|2C,|22"|22"|2C,|300 70",161,"",,"",0
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: 0D |0A ..
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: Incoming call info
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: CLIP detected
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: Parsing +CLIP: "aaaaaaaaaa",161,"",,"",0
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: with +CLIP: @p,@0
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: Grabbed string from reply: "aaaaaaaaaa" (parsed 12 bytes)
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: Parsed phone string "aaaaaaaaaa"
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: gammu: Phone string decoded as "aaaaaaaaaa"
Tue 2017/09/26 11:56:17 gammu-smsd[4664]: Incoming call! # avail? 1 aaaaaaaaaa


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@nijel

This comment has been minimized.

Show comment
Hide comment
@nijel

nijel Sep 28, 2017

Member

You mean that HangupCalls does not work? I see no ATH in the posted log...

Member

nijel commented Sep 28, 2017

You mean that HangupCalls does not work? I see no ATH in the posted log...

@leonardpitzu

This comment has been minimized.

Show comment
Hide comment
@leonardpitzu

leonardpitzu Oct 4, 2017

the call does not hang up and the script triggered by the incoming call is running in an endless loop

leonardpitzu commented Oct 4, 2017

the call does not hang up and the script triggered by the incoming call is running in an endless loop

@nijel nijel self-assigned this Oct 16, 2017

@nijel nijel added bug smsd labels Oct 16, 2017

@nijel nijel closed this in 1778a80 Oct 16, 2017

@leonardpitzu

This comment has been minimized.

Show comment
Hide comment
@leonardpitzu

leonardpitzu Oct 18, 2017

calls are coming in but it keeps ringing (call is not actually hung up and the script in RunOnIncomingCall is called indefinitely.
attached are the settings and a part of the log (this part keeps repeating).
please let me know if i am doing something wrong and/or how i can help you out debuging this.

log.txt
settings.txt

leonardpitzu commented Oct 18, 2017

calls are coming in but it keeps ringing (call is not actually hung up and the script in RunOnIncomingCall is called indefinitely.
attached are the settings and a part of the log (this part keeps repeating).
please let me know if i am doing something wrong and/or how i can help you out debuging this.

log.txt
settings.txt

@nijel

This comment has been minimized.

Show comment
Hide comment
@nijel

nijel Oct 18, 2017

Member

Well this time it looks like the modem actually ignores the ATH, not sure if there is something Gammu can do better...

Member

nijel commented Oct 18, 2017

Well this time it looks like the modem actually ignores the ATH, not sure if there is something Gammu can do better...

@leonardpitzu

This comment has been minimized.

Show comment
Hide comment
@leonardpitzu

leonardpitzu Oct 18, 2017

in the stable release the call correctly hung up (modem responds correctly to ATH). if it's the modem i'll try another one (have to get it first) but if it's software maybe we can fix it...

leonardpitzu commented Oct 18, 2017

in the stable release the call correctly hung up (modem responds correctly to ATH). if it's the modem i'll try another one (have to get it first) but if it's software maybe we can fix it...

@nijel

This comment has been minimized.

Show comment
Hide comment
@nijel

nijel Oct 18, 2017

Member

Strange, there was really no difference in handling calls. Can you please retest with older version now?

Member

nijel commented Oct 18, 2017

Strange, there was really no difference in handling calls. Can you please retest with older version now?

@leonardpitzu

This comment has been minimized.

Show comment
Hide comment
@leonardpitzu

leonardpitzu Oct 18, 2017

sure. i'll test .4 and .5 releases and report back.

leonardpitzu commented Oct 18, 2017

sure. i'll test .4 and .5 releases and report back.

@leonardpitzu

This comment has been minimized.

Show comment
Hide comment
@leonardpitzu

leonardpitzu Oct 18, 2017

i have tested both .4 and .5 releases. both releases expressed the same problem, that is the call was not hang up. i fixed this removing my manually set parameters:
receivefrequency = 60
statusfrequency = 60
loopsleep = 10
after this the .4 release worked as expected. the .5 release hung up the call but the RunOnIncomingCall script was executed every a few seconds in a infinite loop. the script is basic - echo $1; exit 0

log.txt

leonardpitzu commented Oct 18, 2017

i have tested both .4 and .5 releases. both releases expressed the same problem, that is the call was not hang up. i fixed this removing my manually set parameters:
receivefrequency = 60
statusfrequency = 60
loopsleep = 10
after this the .4 release worked as expected. the .5 release hung up the call but the RunOnIncomingCall script was executed every a few seconds in a infinite loop. the script is basic - echo $1; exit 0

log.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment