swinokur: I tried with voicecall_cpas=yes only.
with SELINT=2:
2010-07-14 10:14:43,6, GSM1: I have to make a voice call to 1415xxxxxx, with (2 times) DTMF #,#
2010-07-14 10:14:43,7, GSM1: -> ATD+1415xxxxxx;
2010-07-14 10:14:43,7, GSM1: Command is sent, waiting for the answer
2010-07-14 10:14:46,7, GSM1: <- OK
2010-07-14 10:14:47,7, GSM1: -> AT+CPAS
2010-07-14 10:14:47,7, GSM1: Command is sent, waiting for the answer
2010-07-14 10:14:47,7, GSM1: <- +CPAS: 4 OK
2010-07-14 10:14:51,7, GSM1: -> AT+VTS=#;+VTS=#
2010-07-14 10:14:51,7, GSM1: Command is sent, waiting for the answer
2010-07-14 10:14:51,7, GSM1: <- +CME ERROR: 3 (operation not allowed)
2010-07-14 10:14:54,7, GSM1: -> AT+VTS=#;+VTS=#
2010-07-14 10:14:54,7, GSM1: Command is sent, waiting for the answer
2010-07-14 10:14:54,7, GSM1: <- +CME ERROR: 3 (operation not allowed)
2010-07-14 10:14:55,7, GSM1: -> AT+CHUP
2010-07-14 10:14:55,7, GSM1: Command is sent, waiting for the answer
2010-07-14 10:14:56,7, GSM1: <- OK
2010-07-14 10:14:56,6, GSM1: Deleted file /var/spool/sms/checked/send_a12345
With #SELINT=1 CPAS works as expected. So even though the manual doesn't indicate a difference, clearly there is.
As you mentioned, SMSD does try until the timeout is reached.
I'm hoping that the next version will return the result as "busy" instead of "timeout".
thanks!
|
swinokur: Thanks!
One other thing that I need to do is place a voice call to a GSM gate opener.
I'd like to be able to detect the call progress of the voice call to make sure that the call goes through (ring detection) and that the call "completed" (in this case a "busy" response).
voicecall_cpas = yes causes the modem to hang up pre-maturely.
I needed to use voicecall_ignore_modem_response = yes and
TONE: TIME: 30 2 #,#
to wait for a ring to occur, etc.
Is it possible for smstools to use AT+CLCC (or something similar) to track the progress of a voicecall and record/take action based on ring/busy/no answer, etc?
Thanks!
|
swinokur: Operating system name and version: Debian Lenny
Version of smsd: 3.1.11
Smsd installed from: sources
Name and model of a modem / phone: Telit GC864-QUAD
Interface: serial
Greetings!
I'm setting up your server using a Telit GC864-Quad based modem.
(The actual modem is a Janus Terminus modem, but the modem AT+CGMI, +CGMM responses are as above)
Here's the user guide from Janus: www.janus-rc.com/Documentation/terminus_gsm864q_user_guide_.pdf
Here's the AT Command set from Telit:
http://www.telit.com/module/infopool/download.php?id=542
On Page 219, of the Telit manual, I'm wondering: When using #SELINT=2, What is the appropriate setting for #SMSMODE? (factory default is 0) And, then what are the appropriate settings for +CNMI? (Factory default is 0,0,0,0,0)
(It also appears that #SMSMODE might +CMGL, and other commands)
Thanks very much!
|