imagigroup: 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
Hello,
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:
device = /dev/ttyUSB15
queues = GSM15, ALL
regular_run_logfile = /var/log/smsd/smsd_run15.log
eventhandler = /etc/sms/scripts/eventhandler
#pin = 0000
incoming = 2
phonecalls = yes
phonecalls_purge = no
#send_handshake_select = yes
voicecall_hangup_ath = no
hangup_incoming_call = yes
voicecall_ignore_modem_response = yes
cs_convert = yes
decode_unicode_text = yes
internal_combine = yes
#init = AT+CNMI=2,2,2,1,0
regular_run_cmd = AT+CSQ
#regular_run_loglevel = 7
#regular_run_interval = 300
memory_start = 0
send_delay = 0
baudrate = 115200
rtscts = yes
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.
Regards,
|