ESME_RX_R_APPN Error

.NET library for SMPP protocol
Locked
DerSkythe
Posts: 11
Joined: Tue Oct 09, 2012 7:12 am

ESME_RX_R_APPN Error

Post by DerSkythe » Tue Oct 09, 2012 7:20 am

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?
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: ESME_RX_R_APPN Error

Post by alt » Thu Oct 11, 2012 8:01 am

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.
Locked