AddressRange parameter

Smpp v3.4 client

Moderator: alt

Locked
cuongtm
Posts: 6
Joined: Mon May 07, 2007 3:43 am

AddressRange parameter

Post by cuongtm » Thu May 24, 2007 6:35 am

Hi,

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

Tks
alt
Site Admin
Posts: 988
Joined: Tue Apr 25, 2006 9:45 am

Post by alt » Thu May 24, 2007 10:31 am

SmppClient.AddressRange has been added in the version 1.2.3.
Please download it from http://www.inetlab.ru/Products/ALT.SMS.SmppClient.aspx
cuongtm
Posts: 6
Joined: Mon May 07, 2007 3:43 am

Post by cuongtm » Fri May 25, 2007 1:51 am

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

Post by alt » Fri May 25, 2007 9:23 am

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
cuongtm
Posts: 6
Joined: Mon May 07, 2007 3:43 am

Post by cuongtm » Mon May 28, 2007 1:57 am

It's working now, thank you for your supports
Locked