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 Mar 14, 2025 10:57
SMSTools3 Community » Search Bottom

Page:  1

Keywords:
Mode: All keywords (AND)
simark1979: Thank you! That`s what I need. Sorry for disturbance
simark1979: Hello, There is the big problem with serial port modems. Because of only one program can occupy the serial port. For example, I need sms server running while my GUI need additional info about sim/net/operator/signal and other information. So there is no any decision eccept of running multiplexing (if kernel&modem allow this feature). I think will be good idea to add some tcp server inside of you smstools, wich can be used for comunication with modem. The other (maybe simple) way: add to your config at commands wich your smstool will send every X seconds and cache the replies. Atfer this, cached replies can be provided to any clients. Thank you!
simark1979: My idea is to make some global setting wich will restart modem process every X minutes In my case for some strange reason after some time modem still reply it's process, but incoming sms stops handling. So now I have cronjob wich restarts smsServer ones a day. This guarantee me that device will restore it's functionality if fail It really helps Or maybe you could offer another approach?
simark1979: Thank you too :) This is great feature in my case So will try in the evening Thank you again, Keke
simark1979: Operating system name and version: linux embdeded 3.10.17 Version of smsd: 3.1.20 Smsd installed from: sources Name and model of a modem / phone: modem bgs2 Interface: serial Hello, My question is: Sometime people insert sim card after device already started in this case modem process terminated by main process: 2017-04-29 17:07:36,2, bgs2r2: PIN handling: expected READY or OK, modem answered +CME ERROR: 10 (SIM not inserted), SIM not inserted 2017-04-29 17:07:36,2, bgs2r2: Modem handler 0 terminated abnormally. PID: 6246, was started 17-04-29 17:07:36, up 0 min. 2017-04-29 17:07:37,2, smsd: Modem handler 0 (bgs2r2) terminated while mainprocess is still running. Exited, status 1. And if card inserted on a fly, sms server doesn`t work So, is possible to make modem process waiting sim card while started? Now I use alarm_hundler to restart smsd after 30sec, but I dont like this approach (what if sim card never inserted....)
simark1979: It seems to me bug fixed If any news, will inform! Thank you!
simark1979: It still working buggy, but I can`t understand the difference.... Also it seems to that replies to uusd come back later.....but not sure..... So let me send to you the full log file and log DB table whith records Please send to my email letter, will include files in reply..... It`s to big to post here.....
simark1979: My version is 3.1.20 las one.... When 3.1.21 will be released? Thank you for quick reply)
simark1979: 2017-04-27 20:19:54,7, bgs2r2: -> AT+CUSD=1,"*100#" 2017-04-27 20:19:54,7, bgs2r2: Command is sent, waiting for the answer. (15) 2017-04-27 20:19:57,7, bgs2r2: <- OK +CUSD: 2,"04110430043B0430043D0441003A003100330036002C003900370440002C041B0438043C04380442003A00 2017-04-27 20:19:57,3, bgs2r2: Unexpected input: 30002C0030003104400020",72 2017-04-27 20:19:57,7, bgs2r2: -> AT+CSCS? 2017-04-27 20:19:57,7, bgs2r2: Command is sent, waiting for the answer. (5) 2017-04-27 20:19:57,7, bgs2r2: <- +CSCS: "GSM" OK 2017-04-27 20:19:57,7, bgs2r2: Running eventhandler: /usr/bin/smsd_ussdHandler USSD /tmp/smsd.6kOHm0 bgs2r2 GSM "AT+CUSD=1,\"*100#\"" 2017-04-27 20:19:57,7, bgs2r2: Done: eventhandler, execution time 0 sec., status: 0 (0) 2017-04-27 20:19:57,5, bgs2r2: CMD: AT+CUSD=1,"*100#": OK +CUSD: 2,"04110430043B0430043D0441003A003100330036002C003900370440002C041B0438043C04380442003A00 2017-04-27 20:19:57,6, bgs2r2: Checking device for incoming SMS 2017-04-27 20:19:57,6, bgs2r2: Checking if modem is ready 2017-04-27 20:19:57,7, bgs2r2: -> AT ........................................................ ........................................................
simark1979: This is result with ussd_convert = 1 Sometimes instead decoded tex I can see numeric tail..... /tmp/smsd.Hq905g: OK +CUSD: 2,"Баланс:76,37р,Лимит:0,01р " /tmp/smsd.eX5K1R: OK +CUSD: 2,"Баланс:76,37р,Лимит:0,01р " /tmp/smsd.nObNdC: OK +CUSD: 2,"Баланс:76,37р,Лимит:0,01р " /tmp/smsd.aj21Qo: OK +CUSD: 2,"Баланс:76,37р,Лимит:0,01р " /tmp/smsd.3h2pmh: OK +CUSD: 2,"Баланс:76,37р,Лимит:0,01р " /tmp/smsd.Jh8RYu: OK +CUSD: 2,"Баланс:76,37р,Лимит:0,01р " /tmp/smsd.Bk3yMr: OK +CUSD: 2,"0421043F0430044104380431043E0020043704300020043E04310440043004490435043D0438043500210020041C044B0020043D0430043F0440043004320438043C0020043E04420432043504420020043D04300020041204300448 /tmp/smsd.iWXdsE: OK +CUSD: 2,"0421043F0430044104380431043E0020043704300020043E04310440043004490435043D04380435002100 /tmp/smsd.uPs3uI: OK +CUSD: 2,"0421043F0430044104380431043E0020043704300020043E04310440043004490435043D0438043500210020041C044B0020043D0430043F0440043004320438043C0020043E04420432043504420020043D04300020041204300448 /tmp/smsd.1V9YNv: OK +CUSD: 2,"0421043F0430044104380431043E0020043704300020043E04310440043004490435043D04380435002100
simark1979: SOLVED To get replies from modem even no Network, cancel network check in smsd.conf file (use check_network=2 or check_network=0)
simark1979: Linux Embedded: Version of smsd: 3.1.14.: Smsd installed from: sources mc52i cinterion: Interface: serial Hello, I`m making GUI wich has "net operator name", "signal antenna", sim-card detection Does anybody what approach to use to get that info every second, for instance? I tryied to use "regular_run_cmdfile", but the problem that it work while modem registred in network. If modem not registered, no any reply to AT-commands appears, so I can`t exactly understand what`s happening.

Page:  1

SMSTools3 Community » Search Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.