NegativeReponseException: 0x0000000A

948 views
Skip to first unread message

Oon Arfiandwi

unread,
Apr 3, 2009, 4:30:11 AM4/3/09
to js...@googlegroups.com

Hi guys,

I create new application to submit message to SMSC using jsmpp.
the application successfully receive message from SMSC. 

to submit the message i use this parameter:

systemType = "cp";
serviceType=null// DEFAULT/null
addrTon = TypeOfNumber.UNKNOWN// 0
addrNpi = NumberingPlanIndicator.ISDN// 1
sourceAddrTon = TypeOfNumber.UNKNOWN// 0
sourceAddrNpi = NumberingPlanIndicator.ISDN// 1
sourceAddr = "6789";
destAddrTon = TypeOfNumber.UNKNOWN// 0
destAddrNpi = NumberingPlanIndicator.ISDN// 1
destinationAddr = "6281812345678";

but i got NegativeResponseException: 0x0000000A
(Invalid Source Address).

I don't know the reason why the SMSC response invalid
source address. but the application success receive
message for that address.

the sourceAddr parameter (TON & NPI) already follow
the setting from SMSC admin.

anyone have idea about the problem?

thank you.

--
best regards,
Oon Arfiandwi

Ashwin Moily

unread,
Apr 3, 2009, 4:44:55 AM4/3/09
to js...@googlegroups.com
sourceAddrTon = TypeOfNumber.UNKNOWN// 0
use TON.National
--
Thanks & Regards
Ashwin Moily
Tel: +91 (22) 25639261
Mob: +91 9619181096


Oon Arfiandwi

unread,
Apr 3, 2009, 4:54:01 AM4/3/09
to js...@googlegroups.com

the problem still exist.

Receive negative response: 10
org.jsmpp.extra.NegativeResponseException: Negative response 0000000a found
        at org.jsmpp.session.AbstractSession.validateResponse(AbstractSession.java:215)
        at org.jsmpp.session.AbstractSession.executeSendCommand(AbstractSession.java:271)
        at org.jsmpp.session.SMPPSession.submitShortMessage(SMPPSession.java:318)
        at SubmitTest.main(SubmitTest.java:108)

already change it to UNKNOWN, INTERNATIONAL, NATIONAL.
but the problem still exist.

thanks anyway.

Oon Arfiandwi

unread,
Apr 3, 2009, 12:06:01 PM4/3/09
to js...@googlegroups.com

Guys,
the problem solved.
thank you for your attention.

the problem on the SMSC configuration,
they use different number for incoming and outgoing message.
6789 for incoming, 67890 & 67891 for outgoing.

TIA.

Sateesh Pandey

unread,
Feb 6, 2016, 3:45:01 AM2/6/16
to jsmpp
Reply all
Reply to author
Forward
0 new messages