Page 1 of 1

ESME_RX_R_APPN Error

Posted: Tue Oct 09, 2012 7:20 am
by DerSkythe
Hello,
I am using your demo application with my SMPP provider. When I am sending message the program receiving ESME_RX_R_APPN error.
I asked my SMPP Provider, and he say: "We are rejecting the message due to a policy decision or message filter From: (empty)".
Of course I filling Source_addr in demo app.
My dump of message is 00000046000000040000000012b46511000001383134350000012b39393435303333313233383000000000003132313031313132313635353030302b00010000000454657374

And this code doesn't decoding in any online PDU decoder. What's wrong with app?

Re: ESME_RX_R_APPN Error

Posted: Thu Oct 11, 2012 8:01 am
by alt
Hello DerSkythe,

Source Address is not empty in your dump of message.

SourceAddrTon = 0x00,
SourceAddrNpi = 0x01,
SourceAddr = "8145",
DestAddrTon = 0x00,
DestAddrNpi = 0x01,
DestAddr = "+994503312380"

Possible you need to use SourceAddrTon = 0x03, SourceAddrNpi = 0x00, DestAddr without "+"

Please ask SMPP Provider what address formats you need to use.