Keywords: Mode: All keywords (AND) |
Thu Feb 22, 2018 10:31
|
marcolino7: Here is my work https://github.com/marcolino7/docker-sms3
|
Thu Feb 22, 2018 10:14
|
marcolino7: Hi Keke,
I'm working on a Docker Image/Container based on Ubuntu:16.04 and latest version of sms3.
I'll let you how works proceed.
Marco
|
Wed Feb 21, 2018 15:59
|
marcolino7: Hi Keke,
is just there available or have you in plan to support sms3 into a docker container?
Many Thanks
Marco
|
Fri Apr 14, 2017 12:03
|
marcolino7: Hi Keke,
carrier did lot of confuzion. Right Carrier is Vodafone, for this reason I cannot register on Wind.
Thanks for help
Regards
Marco
|
Thu Apr 13, 2017 13:37
|
marcolino7: Hi Keke,
I read arounf the forum and found about *COPS AT command.
I run this command on minicom and get list of the operator available:
AT+COPS=?
+COPS: (1,"Telecom Italia M","I TIM","22201",0),(1,"Wind Telecomunic","WIND","22288",2),(1,"vodafone IT","Voda IT","22210",0),(1,"Telecom Italia M","I TIM","22201",2),(1,"Wind Telecomunic","WIND","22288",0),(2,"vodafone IT","Voda IT")
I have Wind available, so I add to sms.config this line:
start = AT+COPS=1,2,"22288"
startsleeptime = 30
When SMS3 start I get in the log this:
2017-04-13 15:39:11,7, GSM1: <- ^RSSI:99 ^RSSI:25 +CME ERROR: 30 (no network service)
If I use Vodafone as carrier, modem register to network.
I asked to ForbesFone and they suggest me to use Wind that is preferred roaming partner in italy, but I don't know because it do not register.
Marco
|
Thu Apr 13, 2017 09:36
|
marcolino7: Hi,
another question, how can I check wich carrier is using use sms3 when connected in roaming?
Marco
|
Thu Apr 13, 2017 09:27
|
marcolino7: Operating system name and version: Debian 8.7
Version of smsd: 3-3.1.15
Smsd installed from: sources
Name and model of a modem / phone: huawei usb stick
Interface: USB
Hi Keke,
in my USB key i'm using a SIM provided by an International Carrier, ForbesFone.
By default this SIM automatically use in Roaming an Italian Carrier, Vodafone. I need to use another italian carrier, Wind.
Is there a way to force the Roaming Partner?
Many Thanks
marco
|
Wed Apr 12, 2017 14:15
|
marcolino7: Hi Keke,
it works like a charm. Many thanks for support.
Marco
|
Wed Apr 12, 2017 13:13
|
marcolino7: Hi Keke,
I found converter on your site.
If I am not wrong, *120# converted to GSM 7bit format is AA980C3602.
I followed your suggestion and using another of the modem created, and running command AT+CUSD=1,"AA980C3602",15
I got as result:
2017-04-12 15:08:56,5, GSM1: CMD: AT+CUSD=1,"AA980C3602",15: OK ^RSSI:17 ^BOOT:31338621,0,0,0,255 ^RSSI:17 +CUSD: 0,"C2303BEC1E9775A062550ACAB9703890F12D07B5DFF23228ED36BFE5ED303DFD7683DE6E50FE5D9783C2E3F1BBEEA6B3406F3988FE0651DF7050150ECABFEB72D0585E26A7E92CD03AED26B3F320F6FBDC4ABB41F43728FFAECB41C6B75C5C9E9BDFEE32283C1EBFEB6EBA0B",0
Is this correct? How can I convert to current balance?
Many thanks
|
Wed Apr 12, 2017 12:42
|
marcolino7: Hi keke,
i change my carrier, and this Carrier have the command *120#
Can you give me the command in GSM 7bit format?
Many Thanks
|
Fri Feb 10, 2017 16:45
|
marcolino7: Hi keke,
it reply OK at both command but without credit
Thanks for help.
Marco
|
Fri Feb 10, 2017 15:11
|
marcolino7: Hi keke,
in this way it is not raised an error but inside statfile, i have the log line and not the credit on my SIM:
2017-02-10 16:09:47,5, GSM1: CMD: AT+CUSD=1,"AA986C3602",15: OK
|
Fri Feb 10, 2017 09:31
|
marcolino7: Hi keke,
also last command you sent me raise an error. Only difference is that in this case GSM1.statfile was srote, but inside there is the same log line with error.
Marco
|
Thu Feb 09, 2017 15:11
|
marcolino7: I keke,
I grep logfile for AT+CUSD and for my 2 tries I got this
2017-02-09 14:30:39,7, GSM1: -> AT+CUSD=1,"*123#"
2017-02-09 14:30:39,5, GSM1: CMD: AT+CUSD=1,"*123#": ERROR
2017-02-09 15:00:41,7, GSM1: -> AT+CUSD=1,"*123#"
2017-02-09 15:00:42,5, GSM1: CMD: AT+CUSD=1,"*123#": ERROR
|
Thu Feb 09, 2017 14:24
|
marcolino7: Hi Keke,
thanks for quick answer.
I tried 1st method. I can see file GSM1.cmdfile removed after a while, but I cannot see file GSM1.statfile created. sms3 daemon run as root, and user is owner on the folder.
Is there something I can check in logs?
Many thanks
Marco
|
Wed Feb 08, 2017 22:04
|
marcolino7: Operating system name and version: Debian 8.7
Version of smsd: 3-3.1.15
Smsd installed from: sources
Name and model of a modem / phone: huawei usb stick
Interface: USB
Hi,
i have a request and I hope is possible to do this. My carrier is a low cost Italy carrier and do not have a web page to check money on my prepaid SIM.
Only way to check my credit is to make a voicecall to hear the credit or other way is to dial *123# and receive a Network fast message on Mobile Phone Display.
I tried to dial *123# with sms3 but nothing was received. My question is if its possible to receive this kind of messages eith sms3.
Many thanks
Marco
|
Tue Oct 27, 2015 14:57
|
marcolino7: Removing % it works.
I don't know where it broke the mechanism. In case i removed all % with openhab, before sending SMS. Now SMS is sent with Carriage Return.
Many Thanks for help
Marco
|
Tue Oct 27, 2015 14:49
|
marcolino7: Hi keke,
I just tried this but do not work form me. I don't why, but each reboot change one of 3 device assigned to Symlink.
I solved with this suggestion from RpI forum, using /dev/serial/by-id/
https://www.raspberrypi.org/forums/viewtopic.php?&t=39349
Thanks for your help
Marco
|
Tue Oct 27, 2015 10:34
|
marcolino7: Operating system name and version: Debian 7.7
Version of smsd: 3.1.15
Smsd installed from: sources
Name and model of a modem / phone: Huawei USB Stick
Interface: USB
Hi,
I have a Huawei USB Stick. My stick create e ttyUSB Port:
[ 5.461713] usb 1-4: GSM modem (1-port) converter now attached to ttyUSB1
[ 5.461775] usb 1-4: GSM modem (1-port) converter now attached to ttyUSB2
[ 5.461832] usb 1-4: GSM modem (1-port) converter now attached to ttyUSB3
This port change at every reboot, and only the 1st one working with SMS3. Do you have any suggestion on how automate a reboot in order to get SMS3 to working with the right port?
Many Thanks
Marco
|
Mon Oct 26, 2015 22:10
|
marcolino7: Hi keke and thanks for aswer.
I call the script from OpenHab, an home automation system.
This is the string I pass to SMS3:
Stato=Modula 70%\nFan/Cos=OPEN\nOHab=ON\nCld=ON\nMan=OFF\nT_Set=21\nS_Set=38\nT_Amb=21.62\nS_Pos=38\nCald=ON\nAsse=OFF
it stop sending message before % and i only receive Stato=Modula 70
Is there a way to send also the % sign? Removing it \n work
Thanks
|
Mon Oct 26, 2015 17:20
|
marcolino7: Hi,
any help on this? I need to add Linefeed on my SMS
Thanks a lot
|
Fri Jan 23, 2015 16:39
|
marcolino7: Operating system name and version: Debian 7.7
Version of smsd: 3.1.5
Smsd installed from: sources
Name and model of a modem / phone: Huawei USB Stick
Interface: USB
Hi,
with my carrier to retrieve my credit on the sim, I have to call 404 and then I'll receive an SMS with credit.
Calling 404, carrier drop the call immediatly, without answer and without hear free line tone.
In this case, SMS3 will not detect the disconnection, wait the timeout, but not delete the temp file in spool folder, so it will call indefinitely the 404.
For outbound i have setup only this paramenter:
voicecall_ignore_modem_response = yes
and in message I setup TIME:18
Let me know.
Marco
|
Fri Jan 23, 2015 11:11
|
marcolino7: Operating system name and version: Debian 7.7
Version of smsd: 3.1.15
Smsd installed from: sources
Name and model of a modem / phone: Huawei USB Stick
Interface: USB
Hi,
Im trying to send sms message from this shell script adding line feed:
#!/bin/sh
#$1 is the destination phone number
# $2 is the message text
# if you leave $2 or both empty, the script will ask you
DEST=$1
shift
TEXT=$@
if [ -z "$DEST" ]; then
printf "Destination: "
read DEST
fi
if [ -z "$TEXT" ]; then
printf "Text: "
read TEXT
fi
FILE=`mktemp /var/spool/sms/outgoing/send_XXXXXX`
echo "To: $DEST" >> $FILE
echo "" >> $FILE
echo -n "$TEXT" >> $FILE
I tried to execute this "/send_sms.sh 39123456789 First Line \r\n Second Line \r\n Third Line"
SMS is send and \r\n are removed from SMS, but I do not receive linefeed on my phone.
Thanks
for help.
Marco
|
Tue May 11, 2010 12:02
|
marcolino7: Operating system name and version: Debian - Voyage
Version of smsd: 3.1.8
Smsd installed from: sources
Name and model of a modem / phone: Nokia 6110
Interface: USB to Serial adapter
Hi all,
I'm looking a way to monitor smsd with Nagios.
Now I'm checking if smsd process is running, but I cannot check if phone is connected.
Is there a simple way to check if phone is connected and working? I do not need the real status and i need to run smsd as a daemon.
Any Ideas?
Thanks
|
Mon May 18, 2009 22:39
|
marcolino7: Hi keke,
i googled but i can't get log rotate to work.
What i did is:
1) created a file /etc/logrotate.d/smsd
/var/log/smsd.log {
daily
missingok
rotate 7
compress
delaycompress
notifempty
postrotate
/etc/init.d/sms3 reload > /dev/null
endscript
}
2) i checked that startup script is /etc/init.d/sms3
3) restarted smsd
No logrotate here. I have a doubt, I configured logfile = /var/log/smsd.log in /etc/smsd.conf. Is it correct this way?
No other thing to do?
Thanks
|