Add wildcard in "sender address" field

Add wildcard in "sender address" field SearchSearch
Author Message
russell
New member
Username: Flosed

Post Number: 5
Registered: 05-2005
Posted on Tuesday, September 13, 2005 - 11:38 am:   

hi:

I find the declaration below :
"When NowSMS routes a message, it first looks to see if a sender address has been specified for the message submission (normally there is not a sender address specified, unless you submitted the message via HTTP and specified a "Sender=" parameter, or a forced sender address is associated with a particular "SMS Users" account). If a sender address was specified, then NowSMS checks to see if the sender address matches the "Default Sender Address" that is configured for any of the SMSC links (or the "Phone Number" associated with a GSM modem). If NowSMS finds a match, then it will route the message only via an SMSC connection with a matching sender address.
"

can nowsms add wildcard in sender address . I need to limit a vasp to numbers with fixed prefix such as 123401,123400,123489 etc. but when I set sender address to 1234* in the smsc setting,it seem does not work because message with prefix 1234 may be routed to other smsc randomly.
russell
New member
Username: Flosed

Post Number: 6
Registered: 05-2005
Posted on Wednesday, September 14, 2005 - 04:43 am:   

and I find more ,

The rount does not work sometimes even when the sender address attached with the vasp name match the sender address of smsc.

my smsgw.ini is :

[SMSGW]
WebAuth=No
WebMenu=Yes
WebPort=8088
ReceiveSMS=Yes
ReceiveMMS=Yes
Debug=Yes
SMPPPort=8001
Modem1=SMPP - 211.*.20:8001
Modem2=COM1:
[SMPP - 211.*.20:8001]
SMPPVersion=v3.4
UserName=pavel
Password=wpsd
SenderAddress=13993
Receive=No
ReceiveMMS=No
UseSSL=No
SenderAddressOverride=Yes
[Modem - COM1:]
PhoneNumber=1398
ReceiveSMS=Yes
ReceiveMMS=Yes


I think there may be bug about the route rule of choosing smsc.


(by the way : I can not set the SenderAddressOverride = false in the smpp smsc,why?)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4963
Registered: 10-2002
Posted on Monday, September 19, 2005 - 11:16 pm:   

Hi Russell,

I'm confused.

When you say "VASP", are you referring to an account defined in our "SMS Users" dialog?

If so, then NO, you cannot put a wildcard into the "Forced Sender Address" field there, because it will try to put that address (including wildcard) in as the message sender.

However, you can put a comma delimited list of potential sender addresses there. If the user submits a message with a sender that is not in this list, the message will be accepted but will go out with the first address in the list as the sender address. (This requires v5.51b or later, which you can find download information about in our "What's New" section.)

I'm sorry, but I don't understand the rest of your question. It would help if you give me an exact example of what you are trying which does not work as expected.

Regarding the "SenderAddressOverride" parameter not being able to be set to False/No. You are correct, that is a bug. I will provide a status update when that bug is resolved.

-bn
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5011
Registered: 10-2002
Posted on Thursday, September 22, 2005 - 08:47 pm:   

An update for NowSMS v5.51 (any subversion) has been uploaded to address the issue discussed in this thread.

The update patch is available at http://www.nowsms.com/download/latestpatch.zip.

To install this update, unzip the attached files into the NowSMS program directory, and use them to replace the existing files of the same name.

This update is for the v5.51 release of the Now SMS/MMS Gateway product only. Applying these updates to other versions may cause unpredictable results.

Remember to stop the NowSMS services before attempting to install these updates.

Specific details regarding the issue discussed in this thread:


* SMS Gateway: Fix for "Sender Address Override" field not being saved as unchecked when defining an SMPP, UCP/EMI or CIMD2 connection. This field would always default to being checked.
russell
New member
Username: Flosed

Post Number: 8
Registered: 05-2005
Posted on Friday, October 21, 2005 - 09:07 am:   

sorry for reply so late first.I have a vocation recently.

Thank you Bryce.

Let's explain :
take the example before.

I send mms use use a vasp which have a property "sender address" = 1398 . the sender address match the configuration .
[Modem - COM1:]
PhoneNumber=1398

but the message route through the com1 and smpp modem randomly .

I don't know why? could you tell me what should I do?