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 17:26
SMSTools3 Community » Search Bottom

Page:  1

Keywords:
Mode: All keywords (AND)
pcgeo: Hello, After some testing, my conclusions are: 1. Vodafone network - when sending at an invalid number or at a number that is not in use you get an error from smsc that smstool3 can't manage. Therefore you get error 500. 2. Orange network - when sending at an invalid number or at a number that is not in use you get a notification like: SMS received (report, Message_id: 92, Status: 48,Temporary error, SC specific, unknown), From: 40723228343 When testing with valid mobile numbers, i don't get that error! Regards, George
pcgeo: Hello, My conf file is below: # Global configuration devices = modem1, modem2 loglevel = 5 stats = /var/log/sms/stats logfile = /var/log/sms/smsd.log outgoing = /var/spool/sms/outgoing checked = /var/spool/sms/checked failed = /var/spool/sms/failed incoming = /var/spool/sms/incoming sent = /var/spool/sms/sent #checkhandler = /usr/local/bin/load_balancing.sh smart_logging = yes delaytime = 1 errorsleeptime = 2 blocktime = 60 autosplit = 3 receive_before_send = yes max_continuous_sending=30 [queues] Q1 = /var/spool/sms/out_Q1 Q2 = /var/spool/sms/out_Q2 [providers] Q1 = 4073, 4072 Q2 = 4075, 4074, 4077, 4078, 4076 #Q1=40 #Q2=40 # Modem configuration [modem1] queues = Q1 device=/dev/SMSM2 init = ATZ init = AT+CNMI=1,0,0,2,0 init = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 init2 = AT+CPMS="SM","ME","ME" incoming = high mode = new baudrate = 19200 report = yes check_memory_method = 31 memory_start=0 primary_memory = SM secondary_memory = ME hangup_incoming_call = yes check_network = 0 #modem_disabled=yes [modem2] queues = Q2 device=/dev/SMSM3 init = ATZ init = AT+CNMI=1,0,0,2,0 init = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 init2 = AT+CPMS="SM","ME","ME" incoming = high mode = new baudrate = 19200 report = yes check_memory_method = 31 memory_start=0 primary_memory = SM secondary_memory = ME hangup_incoming_call = yes check_network = 0 #modem_disabled=yes With other mobile operators i don't get this error. I'be tested with Orange and Telekom. i think this is a problem with Vodafone network. Regards, George
pcgeo: Hello, I've made some modification to the LoadBalancing Script to suit my needs. Bellow is the sample script for 2 GSM Modems and 2 Queues. #!/bin/bash # Settings for this script: STATSDIR=/var/spool/sms/stats MODEMS=( modem1 modem2 ) QUEUES=( Q1 Q2 ) # --------------------------------------------------------------------------------------- NUMBER_OF_MODEMS=${#MODEMS[@]} NUMBER_OF_QUEUES=${#QUEUES[@]} if [ $NUMBER_OF_MODEMS -ne $NUMBER_OF_QUEUES ]; then echo "ERROR: Number of queues does not match number of modems." exit 1 # Message is rejected. fi read_counter() { local RESULT=0 local FILE=$STATSDIR/$1.counter local COUNTER=0 if [[ -e $FILE ]] then COUNTER=`formail -zx $1: < $FILE` if [ "$COUNTER" != "" ]; then RESULT=$COUNTER fi fi return $RESULT } # If there is Queue (or Provider) defined, load balancing is ignored: QUEUE=`formail -zx Queue: < $1` if [ -z "$QUEUE" ]; then QUEUE=`formail -zx Provider: < $1` if [ -z "$QUEUE" ]; then FILEID="$1" MSG_ID=${FILEID##*.} rem=$(( $MSG_ID % 2 )) if [ $rem -eq 0 ] then # echo "Sending through Q2" QUEUE='Q2' else # echo "Sending through Q1" QUEUE='Q1' fi TMPFILE=`mktemp /tmp/smsd_XXXXXX` cp $1 $TMPFILE formail -f -I "Queue: $QUEUE" < $TMPFILE > $1 unlink $TMPFILE fi fi exit 0 Basically it reads the name of the file created by playsms and if the number is odd/even and it selects the proper Queue. Example: 1. Playsms saves the file : /var/spool/sms/outgoing/out.0.1.4435 2. The script reads la last part: 4435 3. Selects the proper Queue for delivery This is better, for me, because loadbalancing is done before actually sending one single sms. This is useful when you want to send sms messages from file or to large GROUP. You can modify the script for more than 2 Queues. Any feedback is appreciated. :) Best regards, George
pcgeo: Hello, I have this problem also. When i send a lot of SMS messages, after about 10-15 run, I get error 500. I think the problem has to do with the SM memory of the USB modem. I'll post here, if a manage to solve it.

Page:  1

SMSTools3 Community » Search Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.