Comments (15)
This is happening when more than 160 character is sending. because 160 character is considered as 1 credit. so more than one credit messages are coming as two messages. Why this is happening. Please help me to resolve this issue.
from ksmppd.
no logs or examples provided. please take time to create issues if you expect help with them
from ksmppd.
Hi,
Please find the logs below:
This is the log of actual message sent from the smpp user
2017-05-12 16:45:09 Sent SMS [SMSC:Mysmsc] [SVC:] [ACT:] [BINF:2] [FID:334dea13-0ef0-478b-b089-666f2cae6d50] [META:] [from:myid] [to:91xxxxxx] [flags:-1:0:-1:-1:19] [msg:181:hi this is a test message for showing the error of double entry at the smpp operator while sending more than 160 credit from the smpp users. please check this issue and rectify it. ] [udh:0:]
Log of the same message received at the smpp server
2017-05-12 16:43:48 Sent SMS [SMSC:Mysmsc] [SVC:smppusera] [ACT:] [BINF:2] [FID:1173492472] [META:?smpp?] [from:myid] [to:91xxxxx] [flags:-1:0:-1:0:19] [msg:153:hi this is a test message for showing the error of double entry at the smpp operator while sending more than 160 credit from the smpp users. please check] [udh:6:050003210201]
2017-05-12 16:43:48 Sent SMS [SMSC:Mysmsc] [SVC:smppusera] [ACT:] [BINF:2] [FID:] [META:?smpp?] [from:myid] [to:91xxxxxx] [flags:-1:0:-1:0:0] [msg:28: this issue and rectify it. ] [udh:6:050003210202]
From the above two logs you can see that one message came as two entries at the smpp server.
from ksmppd.
what is the problem? I can see a 181 character message being split correctly with udh
single submit_sm limit is 160 7 bit chars
from ksmppd.
from ksmppd.
it is not a single message. it is two messages combined into one
You can read about sms here https://en.wikipedia.org/wiki/SMS#Message_size
from ksmppd.
Yes it is being treated as single message with two credit. At the smpp user side it is treated as single message with udh =0
2017-05-12 16:45:09 Sent SMS [SMSC:Mysmsc] [SVC:] [ACT:] [BINF:2] [FID:334dea13-0ef0-478b-b089-666f2cae6d50] [META:] [from:myid] [to:91xxxxxx] [flags:-1:0:-1:-1:19] [msg:181:hi this is a test message for showing the error of double entry at the smpp operator while sending more than 160 credit from the smpp users. please check this issue and rectify it. ] [udh:0:] ...
but as soon as it reaches the smpp server it splits into two messages with two different udh. Is it not possible to treat the messsage as a single message as it is sent from the smpp user. ?
from ksmppd.
At present there is a message and credit mismatch at the server and user side due to this situation.
from ksmppd.
you need to tell your customer to calculate parts correctly
ksmppd does it properly, it correctly charges for 2 parts, your customer must fix their system
from ksmppd.
They are using kannel only. And they using the php code to send the message. In that they have given the multiples of 160 character to calculate the credit. You can see BINF : 2 . That shows It is of two credits.
from ksmppd.
so if your customer thinks its 2 parts, ksmppd thinks its 2 parts and kannel thinks its 2 parts, what is the problem?
from ksmppd.
See... at the smpp server it comes as two messages .. so total BINF = 4 .. So it is calculated as 4 credits instead of 2.
2017-05-12 16:43:48 Sent SMS [SMSC:Mysmsc] [SVC:smppusera] [ACT:] [BINF:2] [FID:1173492472] [META:?smpp?] [from:myid] [to:91xxxxx] [flags:-1:0:-1:0:19] [msg:153:hi this is a test message for showing the error of double entry at the smpp operator while sending more than 160 credit from the smpp users. please check] [udh:6:050003210201]
2017-05-12 16:43:48 Sent SMS [SMSC:Mysmsc] [SVC:smppusera] [ACT:] [BINF:2] [FID:] [META:?smpp?] [from:myid] [to:91xxxxxx] [flags:-1:0:-1:0:0] [msg:28: this issue and rectify it. ] [udh:6:050003210202]
from ksmppd.
BINF is never set by ksmppd or kannel anywhere, it is only propagated as supplied by an ESME
it is not calculated or considered by ksmppd or kannel, your client is setting this field
from ksmppd.
from ksmppd.
where is it getting doubled?
I see 2 messages being received in 1 packet, then 2 messages being sent with correct udh applied
I'm not sure i can make it any clearer. an SMS cannot be longer than 160 characters, if it is, it is more than one.
from ksmppd.
Related Issues (20)
- ksmppd upgrade dlr-proxy-err-long' directive HOT 2
- kampp upgrade HOT 1
- amqpbox HOT 2
- Delivery simulate HOT 1
- Sending messages back to esme HOT 2
- Responses from phones - question
- Long Message id problems
- PASSWORD() was removed in mysql 8 HOT 3
- KSMPPD Installation fails with error configure: error: Please install kannel gw-config before installing. HOT 7
- Make shtool a dependency, drop `sudo` in `boostrap.sh`
- Allow system package for `kannel-dev` HOT 1
- Feature Request: Link SMS/MMS to Internet Protocols
- Installation Issues on Ubuntu 20.04 HOT 6
- Problem sending back message from gateway to SMPP Client HOT 2
- Adding prepend code to MT message to phone number
- Adding additional mysql table for billing
- KSMPPd_Level queue in kannel HOT 1
- Error ./configure line 443
- Source_regex not working in table routing : Found matching outbound route for... but declined sender
- SMS MO / Encoding issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ksmppd.