Comments (6)
Hello!
Could you please inspect the resulting submit_sm_resp
from smppex.
Hi @savonarola
iex(7)> submit_sm_resp
%SMPPEX.Pdu{command_id: 2147483652, command_status: 0,
mandatory: %{message_id: "2003D740DC2"}, optional: %{},
ref: #Reference<0.3390881824.734789634.102914>, sequence_number: 2}
from smppex.
The returned message_id=2003D740DC2
indicates that the sms was successfully accepted by the SMSC. So you should contact your SMSC support to know out why the sms wasn't delivered.
Btw, if you send messages from an alphanumeric number("EDTEST"), you probably should use ton=5
& npi=0
, i.e. {"EDTEST", 5, 0}
address.
from smppex.
Yes, the issue was about the alphanumeric number and ton=5
. Now it works. Thank you.
from smppex.
Hello!
I have also added in 514db9d simplified factory methods for submit_sm
which calculate npi/ton automatically for some general cases.
iex(4)> submit_sm = SMPPEX.Pdu.Factory.submit_sm("EDTEST", "79685555555", "hello!")
%SMPPEX.Pdu{
command_id: 4,
command_status: 0,
mandatory: %{
data_coding: 0,
dest_addr_npi: 1, <---------
dest_addr_ton: 1, <---------
destination_addr: "79685555555",
registered_delivery: 0,
short_message: "hello!",
source_addr: "EDTEST",
source_addr_npi: 0, <---------
source_addr_ton: 5 <---------
},
optional: %{},
ref: #Reference<0.2053855058.94633992.78237>,
sequence_number: 0
}
from smppex.
@savonarola cool
from smppex.
Related Issues (20)
- Support semantic versioning of dependencies
- `deliver_sm_resp` Factory incomplete HOT 2
- Process name for SMPPEX.ESME.start_link HOT 2
- Generic nack - recognized as pdu - not as pdu response HOT 2
- SMPPEX.MC doesn't send enquire_link automatically HOT 4
- Why is the IF Version not sended? HOT 2
- Receive SMS HOT 2
- Set default_call_timeout to SMPPEX.Session.Defaults or config HOT 4
- Q: Any recommendations on how to process submit_sm asynchronously? HOT 3
- Q: Why are the body paramters in submit_multi_resp mandatory?
- Q: Is there any ready to use SMPP server? HOT 2
- Upgrade to Ranch >= 2 HOT 1
- Question: Wrong use of handle_socket_error? HOT 1
- Usage of functions that require session/pid HOT 4
- Why is poison a dependency? HOT 2
- Sending multipart message HOT 9
- External sequence number generation and pdu storage HOT 1
- log noise due to timeouts HOT 2
- support starting MC in the client app supervision tree HOT 1
- Receiving multipart SMS HOT 2
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 smppex.