SMS Server Tools 3
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. The forum is currently read-only, but will open soon. Fri Nov 22, 2024 03:34
SMSTools3 Community » Help and support Bottom

[answered] smsd.conf settings for Telit modems?

  This topic is locked

Page:  1

Author Post
Member
Registered:
Jul 2010
Location: United States of America
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!

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
I think that your device will work with any #SELINT or #SMSMODE values.

I'm running GM862-QUAD-PY with #SELINT=1 which is a default for this device.

In the smsd.conf I'm using check_memory_method = 2 (CMGD) because it gives message numbers and is fast. The value for CNMI is default, there is no need to change it. Delivery reports are stored to the SIM, like any other messages too.

Member
Registered:
Jul 2010
Location: United States of America
Topic owner
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!

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Maybe you could try again with a setting voicecall_cpas = yes only. I just tested this with GM862-QUAD-PY, and it worked as expected when a call was answered, or timeout was reached. There is a problem when receiver does a hangup: it's not detected as soon as possible. The smsd will try until timeout is reached. This will be fixed in the next version.

The manual gives the impression that there is no difference between SELINT 0/1 and SELINT 2 when +CPAS is used. There is also an example on page 133. In this example CPAS works as expected and does not cause hangup. But if it does with your device, probably you could try to change SELINT to 1.

I have to check if +CLCC could be used.

Member
Registered:
Jul 2010
Location: United States of America
Topic owner
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!

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Thanks for the information.

The next version will handle hangup better. This feature (voicecall_cpas) was initially made for BenQ M32, but now I noticed that this modem acts incorrectly with CPAS... :( It returns 0 when ringing, but the correct value is 3 (GSM 07.07). With the correct value, smsd can detect that the call was ringing and later not.

I have to implement +CLCC too, because after the change BenQ M32 will not work anymore. The new version 3.1.12 is coming probably within a few days, but I cannot say anything for sure...

Stay in touch. Subscribe to the forum SMSTools3 Announcements, if not already subscribed. There will be a new topic when 3.1.12 is available for download.

  This topic is locked

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.