New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeliveryReports #403

Open
Leeches opened this Issue May 9, 2018 · 3 comments

Comments

Projects
None yet
1 participant
@Leeches

Leeches commented May 9, 2018

Hi,

Recently i have issues with delivery reports on gammu 1.38.6.

> DATE                sms Sent                   Delivery reported
> 27.04.2018          833                        529         
> 28.04.2018          161                        26           
> 29.04.2018          40                          40           
> 30.04.2018          1183                      561         
> 01.05.2018          255                        0             
> 02.05.2018          1180                      121         
> 03.05.2018          1400                      228         
> 04.05.2018          1033                      161         
> 05.05.2018          109                        53           
> 06.05.2018          78                          38           
> 07.05.2018          1142                      373         
> 08.05.2018          271                        103         
> 09.05.2018          1020                      97 

my /etc/gammu-smsdrc1 / 2 (my device is dual modem) files looks like this:

### Configuration file for Gammu SMS Daemon                                                                                                                                                                          
# Gammu library configuration, see gammurc(5)                                                                                                                                                                      
[gammu]                                                                                                                                                                                                            
# Please configure this!                                                                                                                                                                                           
port = /dev/ttyACM0                                                                                                                                                                                                
connection = at230400                                                                                                                                                                                              
# Debugging                                                                                                                                                                                                        
#logformat = textall                                                                                                                                                                                               
# SMSD configuration, see gammu-smsdrc(5)                                                                                                                                                                          
[smsd]                                                                                                                                                                                                             
PIN =                                                                                                                                                                                                              
service = sql                                                                                                                                                                                                      
logfile = /var/log/gammu/smsd1.log                                                                                                                                                                                 
debuglevel = 1                                                                                                                                                                                                     
runonreceive = /mnt/ramdisk/www/scripts/daemon.sh                                                                                                                                                                                                                                                                                                                             
hangupcalls = 1                                                                                                                                                                                                    
# Communication frequency settings                                                                                                                                                                                 
commtimeout = 10                                                                                                                                                                                                   
sendtimeout = 30                                                                                                                                                                                                   
maxretries = 0                                                                                                                                                                                                     
#receivefrequency = 0                                                                                                                                                                                              
statusfrequency = 180                                                                                                                                                                                              
#                                                                                                                                                                                                                  
#                                                                                                                                                                                                                  
# Database backends configuration                                                                                                                                                                                  
driver = native_pgsql                                                                                                                                                                                              
user = smseagleuser                                                                                                                                                                                                
password = postgreeagle                                                                                                                                                                                            
host = 127.0.0.1                                                                                                                                                                                                   
database = smseagle                                                                                                                                                                                                
skipsmscnumber = yes                                                                                                                                                                                               
# Other                                                                                                                                                                                                            
checkbattery = 0                                                                                                                                                                                                   
phoneid = smseagle1                                                                                                                                                                                                
deliveryreport = sms                                                                                                                                                                                                                                                                                                                                                                                        
skipsmscnumber = +420603052000                                                                                                                                                                                     
[sql]                                                                                                                                                                                                              
delete_outbox=DELETE FROM outbox WHERE "ID"=%1;INSERT INTO user_sentitems (id_sentitems, id_user) (SELECT id_outbox, id_user FROM user_outbox WHERE id_outbox = %1);DELETE FROM user_outbox WHERE id_outbox = %1;  
update_retries = UPDATE outbox SET "SendingTimeOut" = now() + interval '30 seconds', "Retries" = %2 WHERE "ID" = %1; 

Here is log from gammu.

Mon 2018/04/30 08:20:14 gammu-smsd[30515]: Configuring Gammu SMSD...
Mon 2018/04/30 08:20:14 gammu-smsd[30515]: SHM token: 0x1028c04 (16944132)
Mon 2018/04/30 08:20:14 gammu-smsd[30515]: Warning: No PIN code in /etc/gammu-smsdrc1 file
Mon 2018/04/30 08:20:14 gammu-smsd[30515]: CommTimeout=10, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0
Mon 2018/04/30 08:20:14 gammu-smsd[30515]: checks: CheckSecurity=1, CheckBattery=0, CheckSignal=1, CheckNetwork=1
Mon 2018/04/30 08:20:14 gammu-smsd[30515]: mode: Send=1, Receive=1
Mon 2018/04/30 08:20:14 gammu-smsd[30515]: deliveryreport = sms
Mon 2018/04/30 08:20:14 gammu-smsd[30515]: phoneid = smseagle1
Mon 2018/04/30 08:20:14 gammu-smsd[30516]: Connected to database: smseagle on 127.0.0.1. Server version: 90412 Protocol: 3
Mon 2018/04/30 08:20:14 gammu-smsd[30516]: Database structures version: 17, SMSD current version: 17
Mon 2018/04/30 08:20:14 gammu-smsd[30516]: Connected to Database native_pgsql: smseagle on 127.0.0.1
Mon 2018/04/30 08:20:14 gammu-smsd[30516]: Created POSIX RW shared memory at 0x76f1e000
Mon 2018/04/30 08:20:14 gammu-smsd[30516]: Starting phone communication...
Mon 2018/04/30 08:20:20 gammu-smsd[30516]: Inserting phone info



Wed 2018/05/02 13:59:30 gammu-smsd[30516]: Message: TTT123 Dovetek
Wed 2018/05/02 13:59:30 gammu-smsd[30516]: New message to send: 4279
Wed 2018/05/02 13:59:30 gammu-smsd[30516]: Message without SMSC, assuming you want to use the one from phone
Wed 2018/05/02 13:59:33 gammu-smsd[30516]: SMS sent on device: "/dev/ttyACM6" status=0, reference=16
Wed 2018/05/02 13:59:33 gammu-smsd[30516]: Transmitted 4279 (total: 1) to +420603706133
Wed 2018/05/02 13:59:39 gammu-smsd[30516]: Received message from: +420603706133
Wed 2018/05/02 13:59:39 gammu-smsd[30516]: Read 1 messages
Wed 2018/05/02 13:59:39 gammu-smsd[30516]: Delivery report: Delivered to +420603706133
Wed 2018/05/02 13:59:39 gammu-smsd[30516]: Failed to find SMS for TPMR=12, Number=
Wed 2018/05/02 13:59:39 gammu-smsd[14008]: Starting run on receive: /mnt/ramdisk/www/scripts/daemon.sh
Wed 2018/05/02 13:59:39 gammu-smsd[30516]: Process finished successfully

Do you have any ideas why something like this happening? These sms are sent one by one the same, just on the different number with Country dial code +420 (it wasn't working without the prefix)

I thank you in advance...

@Leeches

This comment has been minimized.

Leeches commented May 9, 2018

Just now i sent about 200 sms. I got delivery report on almost the every single one except the last two sms what came..

eaglereport

These report are actually nonsence because i got that right after i sent that...

Any ideas?

@Leeches

This comment has been minimized.

Leeches commented May 17, 2018

Anyone?

@Leeches Leeches closed this May 17, 2018

@Leeches Leeches reopened this May 17, 2018

@Leeches

This comment has been minimized.

Leeches commented May 30, 2018

Up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment