Specific SMS route for user

Specific SMS route for user SearchSearch
Author Message
Alexey
New member
Username: Korn3r

Post Number: 7
Registered: 04-2015
Posted on Tuesday, October 19, 2021 - 10:43 am:   

Hi.
I have couple regular gsm modems + one external SMPP connection to mobile operator SMS gateway.
Is it possible to allow only one specific user to use SMPP connection?
Meaning only user1 can use SMSCRouteName=mysmpp and at same time user1 cant use any other routes
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 6314
Registered: 08-2008
Posted on Thursday, October 28, 2021 - 07:05 pm:   

Hi,

In the Linux version of NowSMS, each SMSC connection has a configuration setting labeled “Allow only these users”. This setting supports a comma delimited list of user accounts that can be manually entered here. This will configure the connection so that it can only be used by a user account in this list. The connection will also become the default connection route for these users. (Note: I see a bug that NowSMS is case sensitive when checking if user accounts in this list are valid. This will be fixed in a future update.)

In the Windows version of NowSMS, there are configuration settings that can be applied by manually editing SMSGW.INI.

These settings are applied under the section header definition for the SMSC (e.g., [SMPP - server:port] or [Modem - name]).

AllowedUserOnly=
AllowedUser1=
AllowedUser2=
AllowedUser...=

These configuration settings are defined to limit particular outbound "SMSC" connections to use by selected "SMS Users" accounts.

AllowedUserOnly=Yes -- This setting specifies that the SMSC connection can only be used by users that are specifically authorised to use this SMSC. When routing messages from users that are not specifically authorised for this connection, NowSMS will not use this SMSC and route messages as if this SMSC definition did not exist.

AllowedUser1=username -- This setting can be repeated with sequentially assigned numbers (e.g., AllowedUser2=xxx; AllowedUser3=yyyy). This entry is used to specify specific "SMS Users" accounts that are allowed to use the SMSC connection when AllowedUserOnly=Yes.

Regards,

Des
NowSMS Support

Add Your Message Here, or click here to start a new topic.
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image
Options: Automatically activate URLs in message
Action: