skot: It's looking better now. I am getting a couple of saved text notifications in the logs but I don't know if they are related to SMSC delivery reports.
|
skot: No, that was just from the copy-paste from mc.
All I want is this:
2016-08-15 06:33:37,5, GSM2: SMS received (report, Message_id: 84, Status: 0,Ok,short message received by the SME), From: 1404432xxxx
Not the rest of the stuff. My log level is 5
I don't want the reports stored, just logged as above so that playsms will mark the sms as received by the SMSC.
|
skot: Operating system name and version: Ubuntu 14.04
Version of smsd: 3.1.15
Smsd installed from: repo
Name and model of a modem / phone: Wavecom 4x modems in Q24plus box
Interface: USB
I had two bespoke modems on our sms server using smstools and playsms. I replaced the modems with a q24plus 4-gang.
I've gotten everything working fine, but where the old modems would simply post a single line for the delivery report like this:
2016-08-15 06:33:37,5, GSM2: SMS received (report, Message_id: 84, Status: 0,Ok,short message received by the SME), From: 1404432xxxx
now I get this:
2016-08-18 11:35:37,3, GSM3: Routed status report detected:
+CDS: 25
00063F0B918134153867F0618081113390696180811133906900
2016-08-18 11:35:37,3, GSM3: Saved routed status report for later handling. However, you MUST DISABLE status report routing with modem settings.
2016-08-18 11:47:15,5, GSM3: SMS received (report, Message_id: 113, Status: 0,Ok,short message received by the SME), From: 1505515XXXX
Here is a sample of my modems config (there are 4, all same config):
[GSM2]
init = AT+CNMI=2,1,0,1,0.
check_network=0
device = /dev/ttyUSB0
incoming = yes
queues = GSM1Q
hangup_incoming_call = yes
device_open_retries = 20
baudrate = 115200
check_memory_method = 3
I've tried all kinds of variations for the +CNMI settings
I need the delivery report for metrics in Playsms.
I still get the needed lines but I also get all the rest of that stuff I don't want clogging up my logs.
Any ideas?
|