-
Notifications
You must be signed in to change notification settings - Fork 11
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
How to query_sm #2
Comments
Hi Chak, On Tue, Apr 5, 2011 at 10:51 AM, chakhedik
Thanks! ;)
Let me quickly check my code, it may be an error on my part. Your server is version 3.4 right?
|
Yes, my server is 3.4 |
On Tue, Apr 5, 2011 at 12:07 PM, chakhedik
Hmm... so far, things look good in the simulator. I'll test this against a live SMSC and get back to you later tonight.
|
{pdu,21,2147483651,103,6,{query_sm_resp,[],[],0,0}} RespComandId = 2147483651 See code snippet I'm using https://gist.github.com/904073 Let me know if you still have any issues and then send me a code snippet ;) |
Hi, {pdu,16,2147483648,3,9,{generic_nack}} I still receive the same response. I test it against live SMSC also, received sms on my phone but still failed to query_sm. I'll contact my SMSC regarding this matter and will let u know what's the problem. |
great. I'll still leave this issue open till I hear back from you. |
Hi, I've contacted them they ask me to send using version 3.3 parameters with the only difference is message_id vs original_message_id. I simply change the pdu record for query_sm. However, I still got the same reply. Maybe the command id is different for version 3.3. This is from v3.3 doc : generic_nack - Generic response to a command for which the message header is invalid. |
On Wed, Apr 6, 2011 at 10:09 AM, chakhedik
Ahhhh... so they have a 3.3 gateway. I will compare the version specs,
|
On Wed, Apr 6, 2011 at 11:37 AM, Essien Essien [email protected] wrote:
So I've checked the SMPP 3.3 codes at And they're the same with SMPP 3.4 codes, so this should work as it I'll do this later in the evening.
|
That would be great. Thank you :) |
Hi,
I tried your echo_esme and it's awesome, it really easy to understand for a beginner to smpp like me.
Can you help me with how to do query_sm?
I tried this,
But always received this,
{pdu,16,2147483648,3,87,{generic_nack}}
The command status = 3 which means Invalid Command ID...
Chak
The text was updated successfully, but these errors were encountered: