Operating system name and version: CentOS Linux release 7.4.1708
Version of smsd: 3.1.15
Smsd installed from: package repository
Name and model of a modem / phone: Wavecom Q2406B
Interface: USB

I am trying (no luck so far) to have a working configuration that would:
- log the incoming call
- then hangup/reject the incoming call so that it is tranfered to the voicemail

My eventhandler work well and process incoming calls file in the spool/incoming directory correctly.

But whatever I try with the parameters
- phonecalls = yes/no/clip
- voicecall_hangup_ath = no/yes
- hangup_incoming_call = yes/no
- voicecall_ignore_modem_response = yes/no

I am rarely forwarded to the voicemail

I have had the following behaviours during my tests
- have a 20 sec ring time then, calls end
- calls end directly
- sometimes I get the voicemail (cannot reproduce) and I believe that it occurs when the gsm is unvailable

Here are my current modem settings:

Could anyone tell me (and possibly help me ;) ) with a working configuration that would allow both the creation of a file in the incoming directory AND the call rejection to voicemail.

Clue > ATH / AT+CHUP won't help wouldn't a good solution be the use of AT+GSMBUSY=1 ? I have not tried it I don't know how.