Page 1 of 1

AddressRange parameter

Posted: Thu May 24, 2007 6:35 am
by cuongtm
Hi,

How to config AddressRange parameter? Because the smsc site require AddressRange paramter.

Tks

Posted: Thu May 24, 2007 10:31 am
by alt
SmppClient.AddressRange has been added in the version 1.2.3.
Please download it from http://www.inetlab.ru/Products/ALT.SMS.SmppClient.aspx

Posted: Fri May 25, 2007 1:51 am
by cuongtm
Hi,

I download and try v1.2.3 with AddressRange parameter but it does not work. Could you give me some sample how to use/config AddressRange parameter?

Thank you for your supports

p/s: i don't see Query method in v1.2.3 could you check and update?

Posted: Fri May 25, 2007 9:23 am
by alt
Sorry, it was my fault. I have uploaded correct assembly. Please download it again.

In AddressRange property you can use regular expressions.
I'm posting some examples from specification.

^1234
The ‘^’ char is used to represent “beginning with”, therefore ^1234 is interpreted as
MSISDNs beginning with 1234. This allows an ESME specify a specific set of numbers
based on a a given prefix common to all.

5678$
The ‘$’ char is used to represent “ending with”, thus 5678$ will match any MSISDN
ending with 5678.

^123456$
A combination of ‘^’ and ‘$’ at the beginning and end of a regular expression, is used to
specify an absolute address, i.e the above expression will match MSISDNs beginning with
and ending with 123456. The only value ever matched to this will in fact be ‘123456’
itself.

[13579]$
values within [] denote a character class. The above expression will match MSISDNs
ending with any of 1, 3, 5, 7 or 9. So this expression will match MSISDNs ending in an
odd digit. If a ‘^’ character is placed inside the ‘[‘, then the match is based on any character
not in the specified class; e.g [^13579]$ will match MSISDNs not ending with any of the
specified digits.

Also you can read .NET Framework Regular Expressions

Posted: Mon May 28, 2007 1:57 am
by cuongtm
It's working now, thank you for your supports