SMS Server Tools 3
This site is hosted by Kekekasvi.com
 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. Please login or register. Sat Apr 17, 2021 16:38
SMSTools3 Community » Help and support Bottom

[fixed in 3.1.15] voicecall TIME and voicecall_cpas

  This topic is locked

Page:  1

Author Post
Member
Registered:
Jul 2011
Location: Germany
Operating system name and version: Linux OpenSuse 11.0
Version of smsd: 3.1.12
Smsd installed from: sources
Name and model of a modem / phone: BenQ HXT-600U+
Interface: USB

My goal: Call a phone, ring about five times, hangup
--------------
device = /dev/ttyUSB0
incoming = yes
baudrate = 9600
init = AT+CNMI=0,0,0,1,0
check_memory_method = 31
phonecalls = clip
voicecall_hangup_ath = yes
# If yes: TIME has no effekt
voicecall_cpas = no
voicecall_clcc = yes
needs_wakeup_at = yes
using_routed_status_report = yes
routed_status_report_cnma = no
--------------

and

------------
To: 49175461XXXXX
Voicecall: 1

TONE: TIME: 8 2 #
------------

but now it rings forever and lands in the mailbox (TIME is ignored)
what can I try to reach my goal?

If I leave away voicecall_cpas and voicecall_clcc it reaches the phone but hangs up immediately without ringing.

Thanks a lot
Marcel

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
In the code there is a bug which is fixed in 3.1.15.

Go to smstools3/src and edit smsd.c.

Search:
if (time(0) > wait_time + 150)

and replace it with:
if (time(0) > wait_time + wait_delay)

Then save, recompile and replace executable.

Member
Registered:
Jul 2011
Location: Germany
Topic owner
Hi Keke,

this works perfectly!!!

Thank you (I was missing/trying this for several years now),

regards
Marcel

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
You're welcome.

Is that BenQ HXT-600U+ just received from Dealextreme, meaning that there are other models too, or no M32 anymore?

Have you checked what report_device_details = yes tells in the log?

Member
Registered:
Jul 2011
Location: Germany
Topic owner
It is a device probably very similar to Dealextreme, I'm using this since several years but couldn't find it any more for purchase.
Unfortunately it only runs on a very old notebook via USB.
Trying it on my new ZOTEC nettop refuses to work.

---------------------------------- DETAILS -----------------------
2011-07-18 21:44:16,2, smsd: Smsd v3.1.14 started.
2011-07-18 21:44:16,2, smsd: Running as watchee:uucp.
2011-07-18 21:44:16,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2011-07-18 21:44:16,5, GSM_BENQ_MODEM: Modem handler 0 has started. PID: 5653.
2011-07-18 21:44:16,5, smsd: Outgoing file checker has started. PID: 5652.
2011-07-18 21:44:16,5, GSM_BENQ_MODEM: Using check_memory_method 31: CMGL is used and messages are taken from the list.
2011-07-18 21:44:21,5, GSM_BENQ_MODEM: CGSN: 35815600206294-9IMEISV: 35815600206294-52
2011-07-18 21:44:21,5, GSM_BENQ_MODEM: IMSI: 262032251657506
2011-07-18 21:44:22,7, GSM_BENQ_MODEM: ## Start of device details
2011-07-18 21:44:22,7, GSM_BENQ_MODEM: # Manufacturer identification:
2011-07-18 21:44:22,7, GSM_BENQ_MODEM: -> AT+CGMI
2011-07-18 21:44:22,7, GSM_BENQ_MODEM: <- BenQ
OK
2011-07-18 21:44:22,7, GSM_BENQ_MODEM: # Model identification:
2011-07-18 21:44:23,7, GSM_BENQ_MODEM: -> AT+CGMM
2011-07-18 21:44:23,7, GSM_BENQ_MODEM: <- M23A
OK
2011-07-18 21:44:23,7, GSM_BENQ_MODEM: # Revision identification:
2011-07-18 21:44:23,7, GSM_BENQ_MODEM: -> AT+CGMR
2011-07-18 21:44:24,7, GSM_BENQ_MODEM: <- SW ver: 1.43
HW ver: 1.00
FS ver: 1.00
Build Date: 2006/9/18
Build Time: 19:27:16
OK
2011-07-18 21:44:24,7, GSM_BENQ_MODEM: # New message indications, list of supported modes:
2011-07-18 21:44:24,7, GSM_BENQ_MODEM: -> AT+CNMI=?
2011-07-18 21:44:24,7, GSM_BENQ_MODEM: <- +CNMI: (0-2),(0-3),(0,2),(0,1),(0,1)
OK
2011-07-18 21:44:24,7, GSM_BENQ_MODEM: # New message indications, current settings:
2011-07-18 21:44:24,7, GSM_BENQ_MODEM: -> AT+CNMI?
2011-07-18 21:44:25,7, GSM_BENQ_MODEM: <- +CNMI: 0,0,0,1,0
OK
2011-07-18 21:44:25,7, GSM_BENQ_MODEM: # Preferred message storage, list of supported mem's:
2011-07-18 21:44:25,7, GSM_BENQ_MODEM: -> AT+CPMS=?
2011-07-18 21:44:25,7, GSM_BENQ_MODEM: <- +CPMS: ("ME","SM"),("ME","SM"),("ME","SM")
OK
2011-07-18 21:44:25,7, GSM_BENQ_MODEM: # Phonebook storage, available mem's:
2011-07-18 21:44:25,7, GSM_BENQ_MODEM: -> AT+CPBS=?
2011-07-18 21:44:26,7, GSM_BENQ_MODEM: <- +CPBS: ("EN","FD","DC","LD","RC","SM","MC","ON")
OK
2011-07-18 21:44:26,7, GSM_BENQ_MODEM: # List messages, list of supported stat's:
2011-07-18 21:44:26,7, GSM_BENQ_MODEM: -> AT+CMGL=?
2011-07-18 21:44:26,7, GSM_BENQ_MODEM: <- +CMGL: (0,1,2,3,4)
OK
2011-07-18 21:44:26,7, GSM_BENQ_MODEM: # Delete message, list of supported values:
2011-07-18 21:44:26,7, GSM_BENQ_MODEM: -> AT+CMGD=?
2011-07-18 21:44:27,7, GSM_BENQ_MODEM: <- OK
2011-07-18 21:44:27,7, GSM_BENQ_MODEM: # Phone activity status, list of supported stat's:
2011-07-18 21:44:27,7, GSM_BENQ_MODEM: -> AT+CPAS=?
2011-07-18 21:44:27,7, GSM_BENQ_MODEM: <- +CPAS: (0-5)
OK
2011-07-18 21:44:27,7, GSM_BENQ_MODEM: # TE character set, list of supported charset's:
2011-07-18 21:44:27,7, GSM_BENQ_MODEM: -> AT+CSCS=?
2011-07-18 21:44:28,7, GSM_BENQ_MODEM: <- +CSCS: "GSM","IRA","PCCP437","PCDN","8859-1","HEX","UCS2"
OK
2011-07-18 21:44:28,7, GSM_BENQ_MODEM: # TE character set, current setting:
2011-07-18 21:44:28,7, GSM_BENQ_MODEM: -> AT+CSCS?
2011-07-18 21:44:28,7, GSM_BENQ_MODEM: <- +CSCS: "IRA"
OK
2011-07-18 21:44:28,7, GSM_BENQ_MODEM: ## End of device details



Thanks
Marcel

Member
Registered:
Jul 2011
Location: Germany
Topic owner
Feedback:

The new modem from dealextreme.com (Manufacturer Prolific Technology, Inc.) for US$25.36 has arrived.

VoiceCall and SMS send and SMS receive works fine.

The only strange log output is
Unexpected input: +CREG: 1, 1E27, 45A5
(which I ignore)

Here are its details:
----------------------------
2011-07-25 14:34:49,7, GSM_PROLIFIC_MODEM: ## Start of device details
2011-07-25 14:34:49,7, GSM_PROLIFIC_MODEM: # Manufacturer identification:
2011-07-25 14:34:49,7, GSM_PROLIFIC_MODEM: -> AT+CGMI
2011-07-25 14:34:50,7, GSM_PROLIFIC_MODEM: <- BenQ
OK
2011-07-25 14:34:50,7, GSM_PROLIFIC_MODEM: # Model identification:
2011-07-25 14:34:50,7, GSM_PROLIFIC_MODEM: -> AT+CGMM
2011-07-25 14:34:50,7, GSM_PROLIFIC_MODEM: <- M32
OK
2011-07-25 14:34:50,7, GSM_PROLIFIC_MODEM: # Revision identification:
2011-07-25 14:34:50,7, GSM_PROLIFIC_MODEM: -> AT+CGMR
2011-07-25 14:34:51,7, GSM_PROLIFIC_MODEM: <- SW ver: 1.80
HW ver: 1.00
FS ver: 1.00
Build Date: 2004/6/25
Build Time: 18:40:37
OK
2011-07-25 14:34:51,7, GSM_PROLIFIC_MODEM: # New message indications, list of supported modes:
2011-07-25 14:34:51,7, GSM_PROLIFIC_MODEM: -> AT+CNMI=?
2011-07-25 14:34:51,7, GSM_PROLIFIC_MODEM: <- +CNMI: (0-2),(0-3),(0,2),(0,1),(0,1)
OK
2011-07-25 14:34:51,7, GSM_PROLIFIC_MODEM: # New message indications, current settings:
2011-07-25 14:34:51,7, GSM_PROLIFIC_MODEM: -> AT+CNMI?
2011-07-25 14:34:52,7, GSM_PROLIFIC_MODEM: <- +CNMI: 0,0,0,1,0
OK
2011-07-25 14:34:52,7, GSM_PROLIFIC_MODEM: # Preferred message storage, list of supported mem's:
2011-07-25 14:34:52,7, GSM_PROLIFIC_MODEM: -> AT+CPMS=?
2011-07-25 14:34:52,7, GSM_PROLIFIC_MODEM: <- +CPMS: ("ME","SM"),("ME","SM"),("ME","SM")
OK
2011-07-25 14:34:52,7, GSM_PROLIFIC_MODEM: # Phonebook storage, available mem's:
2011-07-25 14:34:52,7, GSM_PROLIFIC_MODEM: -> AT+CPBS=?
2011-07-25 14:34:53,7, GSM_PROLIFIC_MODEM: <- +CPBS: ("EN","FD","DC","LD","RC","SM","MC","ON")
OK
2011-07-25 14:34:53,7, GSM_PROLIFIC_MODEM: # List messages, list of supported stat's:
2011-07-25 14:34:53,7, GSM_PROLIFIC_MODEM: -> AT+CMGL=?
2011-07-25 14:34:53,7, GSM_PROLIFIC_MODEM: <- +CMGL: (0,1,2,3,4)
OK
2011-07-25 14:34:53,7, GSM_PROLIFIC_MODEM: # Delete message, list of supported values:
2011-07-25 14:34:53,7, GSM_PROLIFIC_MODEM: -> AT+CMGD=?
2011-07-25 14:34:54,7, GSM_PROLIFIC_MODEM: <- OK
2011-07-25 14:34:54,7, GSM_PROLIFIC_MODEM: # Phone activity status, list of supported stat's:
2011-07-25 14:34:54,7, GSM_PROLIFIC_MODEM: -> AT+CPAS=?
2011-07-25 14:34:54,7, GSM_PROLIFIC_MODEM: <- +CPAS: (0-5)
OK
2011-07-25 14:34:54,7, GSM_PROLIFIC_MODEM: # TE character set, list of supported charset's:
2011-07-25 14:34:54,7, GSM_PROLIFIC_MODEM: -> AT+CSCS=?
2011-07-25 14:34:55,7, GSM_PROLIFIC_MODEM: <- +CSCS: "GSM","IRA","PCCP437","PCDN","8859-1","HEX","UCS2"
OK
2011-07-25 14:34:55,7, GSM_PROLIFIC_MODEM: # TE character set, current setting:
2011-07-25 14:34:55,7, GSM_PROLIFIC_MODEM: -> AT+CSCS?
2011-07-25 14:34:55,7, GSM_PROLIFIC_MODEM: <- +CSCS: "IRA"
OK
2011-07-25 14:34:55,7, GSM_PROLIFIC_MODEM: ## End of device details
---------------

regards
Marcel

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

marcel wrote
The only strange log output is
Unexpected input: +CREG: 1, 1E27, 45A5
(which I ignore)

You could try a modem setting loglevel_lac_ci = 8, and reset the modem.

Member
Registered:
Jul 2011
Location: Germany
Topic owner
With the new Prolific BenQ M32 I get then and again (on Ubuntu 11.4 smstools3-3.1.14 with SE voicecall patch)



What could be the reason for this?

Thanks again
Marcel

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Do you mean that usually modem is working well, but sometimes it gives that response? The code means that modem is not registered to the GSM network, and it's searching for a new operator to register to. If this happens only sometimes, it probably has something to do with antenna, or it's location. When a modem is working well, write down the signal quality. If it's very poor, the location of modem likely is bad.

Not an important thing, but this modem is not manufactured by Prolific. Inside it is just USB interface chip PL-2303 from Prolific, but the actual modem is from BenQ Corporation. Many USB to RS-232 adapters also use that chip, it is very common.

Member
Registered:
Jul 2011
Location: Germany
Topic owner
Thank you!
The position of the modem is indeed bad, I have to search a new location.

regards
Marcel

  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.