PammyS / jsmpp

Automatically exported from code.google.com/p/jsmpp
Apache License 2.0
0 stars 0 forks source link

Address range parameter is not working #57

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Specify the address range like 1252 in the bind parameter for
connectAndBind method like the following:
session.connectAndBind("xx.xx.xxx.xx", 11000, new BindParameter
(BindType.BIND_RX, "XX", "XX", "cp", TypeOfNumber.UNKNOWN,
NumberingPlanIndicator.UNKNOWN, "1252")); 

2. send from another short code like 1253 (not 1252) and you will receive
the sms!

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
jsmpp 2.1.0 with windows xp pro and java 1.6

Please provide any additional information below.
see
http://groups.google.com/group/jsmpp/browse_thread/thread/7960ad08a5434911

Original issue reported on code.google.com by o...@hotmail.com on 24 Nov 2009 at 10:01

GoogleCodeExporter commented 8 years ago
No this is not a bug.
Address range is issued by ESME for SMSC.
SMSC will use this and knows that you can be identified by the address(es).
Address range can be single address or more than one address by using UNIX 
regular expression.
So this is depends on the SMSC. If the SMSC enable the policy, then you can 
only send message by using the 
address based on address range, but in your case SMSC might disabled the policy.
Ask the telecom provider about this.

Original comment by uuda...@gmail.com on 24 Nov 2009 at 3:04