Hi,
How to config AddressRange parameter? Because the smsc site require AddressRange paramter.
Tks
AddressRange parameter
Moderator: 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
Please download it from http://www.inetlab.ru/Products/ALT.SMS.SmppClient.aspx
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
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