Sorry for double email on the list because error on my reply system on
the first email. Just want to make thread neat.
Thanks Nikos, that do the trick! On my wireshark, I got "Delivery
Receipt: No SMSC delivery receipt requested (0x00)".
I am new on C programming. I just edit gateway/gw/smsc/smpp_pdu.c and
gateway/gw/smsc/smpp_pdu.h to make easier text in my dlr to parsing.
But, in log level 4 (panic), the error like "2010-11-20 23:36:49 [4092]
[6] ERROR: SMPP[testop]: SMSC returned error code 0x00000408 (408 -
1032) in response to submit_sm." still appeared. Well, I think there
will be 500k lines of code in my bb log everyday :D
So, are there any guide how to change the behaviour of those error code
from my vendor in order not to show in my bearerbox log? Because I have
a plan to build log parsing system if there are any error on my kannel,
but not from error code supplied by my vendor. For now, I just include
the error code (like 0x00000408) on smpp_error_to_string function
thanks for the help
On 11/19/2010 6:25 PM, Nikos Balkanas wrote:
Hi,
You can get some info with respect to whether SMS was accepted or
rejected by the SMSc, using dlr-mask 24. But you can never know if the
SMS was actually delivered to the destination without DLRs. If your SMSc
"prohibits" DLRs you better change SMSc.
BR,
Nikos
----- Original Message ----- From: "I Gede Wijaya" <[email protected]>
To: <[email protected]>
Sent: Friday, November 19, 2010 11:05 AM
Subject: DLR request is "prohibited" so...?
Halo again list,
How could I get the sent sms status, if SMSC "prohibited" in using DLR
request? Like my thread before, the SMSC will send many error code based
on their spec. And those error will appear on bb log. And I only just
play around with gw/smsc/smpp_pdu.c and gw/smsc/smpp_pdu.h to make the
message more meaningful for me.
For now, I'm using php to send the sms to /cgi-bin/sendsms, but I still
don't know how to capture the sent status in script without using DLR
request (success or custom error code)
Thanks in advanced