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. Tue Jul 01, 2025 03:42
SMSTools3 Community » Search Bottom

Page:  1

Keywords:
Mode: All keywords (AND)
Carlos: Hello. I tried with another modem (different vender/model) and works fine. Can It be a miss configuration of the modem? The modem that is not working is a Huawei H220, and the smsd.conf is: [MODEM1] outgoing = yes incoming = yes pin = 1111 memory_start = 0 check_memory_method = 2 signal_quality_ber_ignore = yes pre_init = yes init = AT^CURC=0 init2 = AT^BOOT=0,0 detect_unexpected_input = yes device = /dev/serial/by-id/usb-HUAWEI_Technologies_HUAWEI_Mobile-if00-port0 Any clue? Carlos
Carlos: Hello. Still no answer from "saldo request". I don't know if it is related or not, but I'm also unable do receive sms reports (receive confirmations). Is that a clue for what is happening? Carlos
Carlos: Hello. This is a suggestion. What do you think about create a page with the configuration for each modem/operator. Example: Huawei 220: init2 = AT^BOOT=0,0 What do you think? Carlos
Carlos: Hello. Well... not a big development... Communicating with MODEM1. ( Press Ctrl-C to abort. ) ( If you need to send Ctrl-Z, change the suspend character first, like stty susp \^N ) Default device is /dev/serial/by-id/usb-HUAWEI_Technologies_HUAWEI_Mobile-if00-port0 Press Enter to start or type an another device name. Opening device /dev/serial/by-id/usb-HUAWEI_Technologies_HUAWEI_Mobile-if00-port0 Ready. +CPIN: READY OK OK Any other suggestion? Carlos
Carlos: Hello. Yes, it remember it worked back then. But I never tried any more. I already saw the script, but in order to "parse" it I need to know the result from the operator. I'm not sure, but can it be because now the regular_run_cmdfile expects a particular returned value (http://smstools3.kekekasvi.com/index.php?p=configure#m_regular_run_cmdfile)? Best regards, Carlos
Carlos: Operating system name and version: Fedora14 Version of smsd: 3.1.14 Smsd installed from: sources Name and model of a modem / phone: Huawei E220 Interface: USB Hello support. I don't know why, but I'm unable to get the saldo. Here is the conf: regular_run_loglevel = debug regular_run_interval = 5 regular_run_cmdfile = /var/spool/sms/command/MODEM1c regular_run_post_run = /var/spool/sms/command/MODEM1pr regular_run_statfile = /var/spool/sms/MODEM1s Here is the MODEM1c: [(OK)|(OK +CUSD)|(ERROR)|(.*)]AT+CUSD=1,"*102#" Here is the MODEMs: 2011-04-15 12:14:58,5, MODEM1: CMD: [(OK)|(OK +CUSD)|(ERROR)|(.*)]AT+CUSD=1,"*102#": OK Here is the log: 2011-04-15 12:14:58,7, MODEM1: -> AT+CUSD=1,"*102#" 2011-04-15 12:14:58,7, MODEM1: Command is sent, waiting for the answer 2011-04-15 12:14:58,7, MODEM1: <- OK 2011-04-15 12:14:58,7, MODEM1: CMD: [(OK)|(OK +CUSD)|(ERROR)|(.*)]AT+CUSD=1,"*102#": OK From my phone, I'm able to get the answer I was expecting. Can you tell me why the OK and not the whole answer? Best regards, Carlos
Carlos: Hum.. ok... But what I was expecting has *only* the regular_run_cmdfile to be deleted... well.. I have to find "another" workaround :) Carlos
Carlos: Hello Keke. I just configured regular_run* for "querying saldo. However, after the command is issue, both the result file as the command file are deleted (same problem has been reported on this forum but I have found the solution...) Here goes my smsd.conf file: ... [MODEM1] ... regular_run_interval = 2 regular_run_cmdfile = /var/spool/sms/command/MODEM1c regular_run_statfile = /var/spool/sms/MODEM1 ... On /var/log/smsd.log, I see the command being issued, and if I'm quick enough I see the file /var/spool/sms/MODEM1 being created, but then is deleted. Best regards, Carlos
Carlos: Hello Keke. I found a "workaround". Goal: Send sms via all modems except when forcing to a specific one. On smsd.conf: -------------------------- ... [queues] default = /var/spool/sms/defaultq GSM1 = /var/spool/sms/GSM1q GSM2 = /var/spool/sms/GSM2q [providers] default = 0,1,2,3,4,5,6,7,8,9,s GSM1 = 0 GSM2 = 0 ... [GSM1] ... queues = default,modemname [GSM2] ... queues = default,modemname --------------- This way, all messages will go to "default" provider/queue and both modems will read this directory. When the sms header has a line name "Queue:" then, the sms will be redirected that provider/queue => modem. Best regards, Carlos
Carlos: Hello Keke. Currently I'm using the regular_run* settings. However, I think it could be interesting to run not on a regular basis interval, but on demand. Best regards, Carlos
Carlos: Hello. Instead of sending a command to the modem in a specific time interval, allow commands (like AT+CUSD=1,"*102#") to be sent whenever necessary/intended (example via smsd). Regards, Carlos
Carlos: Hello. Instead of configure queues and providers, configure a tag (exe. "Modem:") on the sms header to force an sms to be sent via a specific Modem. Carlos
Carlos: Hello. In my configuration I have 2 modems (GSM1 and GSM2). If I don't configure queues/providers, when I send a large number of messages, both modems are used to send those messages (if sending is enable on both). If I configure queues how do I do that? I saw a script that does some king of load balance. However it does not check if the modem is enable... Best regards, Carlos
Carlos: Hello. I created an SMS message with the line: Modem: GSM2 I was expecting that this message be sent via modem GSM2. However, it is sent via modem GSM1 and the message I receive is "encrypted". GSM2 is configured on smsd.conf but the modem is offline (on purpose). Is it a bug, or am I doing anything wrong? Best regards, Carlos

Page:  1

SMSTools3 Community » Search Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.