UserConfig CR1
UserConfig CR1
userid: bobfinzhttp
password: 06b5935343fe7b5743b657d6be973719(Password is stored in MD5)
otp_validity_time: 120
template_text: Please use OTP <otp> to verify your application for Bank of Baroda credit card.
senderid: BOBFIN
otp_length: 6
is_unique_otp: 0
And after doing all entries we refresh the OTP User cache so the any new entry or changes will be
effective.
Refresh URL: https://localhost:8080/otp/RefreshCache
In this scenario our requirement is that we will have a panel from where CS/Support team can
configure/update these template and if any changes are done then the refresh URL will be called.
Point 2:
FTP/SFTP User configuration:
We receive requests from CS/Services teams to configure FTP Users for which have to run insert query
on 3 different tables for which sample entries are given below.
Table name: ftp_user_config(In this table FTP login and other configuration details are stored)
userid: demoravixml1
ftp_username: demoraviftp
ftp_password: XXXXXXXXXX(Password is in Plain Text format)
ftp_location: upload/
ftp_host: 10.0.70.126
ftp_port: 21
start_time: 12:45:07
end_time: 23:50:00
frequency: 5
alert_type: 1,3,4,6
file_type: .done
senderid: VFIRST
last_processed: 16:48:46
alert_frequency: 30
new_start_time: 16:48:46
ftp_allocated_space: 1000
space_alert_senddate: 2019-10-08
email: deepak.sharma@vfirst.com
mobileNumber: 8169196950
dlr_process_flag: 1
senderid_flag: 0
After FTP configuration we have to configure FTP alerts as well on mail and SMS.
ftp_sms_alert Table sample entry
userid: demoravixml1
blank: 8169196950
not_processed: 8169196950
corrupt: 8169196950
space: 8169196950
missing: 8169196950
processed_file: 8169196950
Point 3:
For Go Tiny URL configuration we have to run an update query on any already created User ID
update usermst set user_type = '2', shortUrl = "http://i9f.in/",
calling_url="http://myvaluefirst.com/smpp/getMtTinyDLR.jsp?guid=%5&to=%p&from=%P&vfreceiveddate=
%14&msgstatus=%d&smssplits=%17&reasoncode=%2&operator=%9&circle=%8&vfdelivereddate=
%3&text=$TEXT&tag=$TAG&clientparam1=$V1&clientparam2=$V2&clientparam3=$V3" where
userid='vishdemohttp' limit 1;
In the above query 3 fileds are updated ShortUrl, User_type and calling URL.
Point 4:
MO Alerts configuration:
We get requests from CS /Services teams to configure alerts for MO users on behalf of thresholds, one
sample entry is:
*************************** 1. row ***************************
id: 1
userid: NULL
moid: NULL
monumber: 5667703
clientname: Firstoption
minute_freq: 30
count_threshold: 1
mail_to: hrishikesh@vfirst.com,info@e-connect.in
mail_cc: sajin.samuel@vfirst.com
status: 0
created_on: 2015-03-15 07:18:58
instanceid: 3
Here we will require a panel from a Support team can configure/Update/Enable/Disable such alerts
from panel.
Low traffic alerts configuration:
We have to configure low traffic alerts for User IDs for which insert query is run on 2 tables(in Table
user_config for alerts from 9 AM to 9 PM and in table user_config_NIGHT for alerts from 9 PM to 9 AM):
user_config and user_config_NIGHT table sample entries:
sid: 67
userid: One97paytm11
service_id: SMPP_142
monitor_interval: 10
no_of_msgs: 100
recipients: cfn@vfirst.com,
status: 1
alert_interval: 10
last_alert_time: 2020-04-21 19:37:23
In this configuration is done on behalf of interval and threshold, if in X minutes, we will not get Y MT
done then alerts will be generated. Here we will require a panel from a Support team can
configure/Update/Enable/Disable such alerts from panel.
Point 5:
Client IP/Port telnet
We frequently get requests from Support team to check whether a client URL is connecting from DLR
servers/MO Servers for which we use below command:
timeout 5 telnet 10.0.70.14 8080 (Here 5 is the timeout value)
So we will require a panel on which support team will enter domain and port of client and telnet status
will be available to them on panel. For telnet we will configure a server on backend from which Telnet
response can be checked.
Point 6:
We also get requests from Support/Product team to deploy JSPs for client specific requirement on MO.
For this we request team to create a panel on which a JSP will be uploaded and then on the behalf on list
of MO Servers it will deploy the JSP on all MO Servers.
Point 7:
As verified SMS API has been implemented, we get requests from teams to configure keys for the User
IDs and then we have to manually copy those keys on all servers using a script. Sample Keys generation
URL:
http://localhost:8080/verifiedsms/createVerifiedAgentKeys.jsp?agentid=DemoAgent&userid=Demo
We request you to create a page on panel where above URL will be called when a User enters Agent ID
and User ID and the keys will be generated. After generation of keys same will be copied to rest of the
servers for which we can have a table where entries of all required servers will be made.
Post copying of Keys files to all servers, a refresh URL will also be called.
http://localhost:8080/verifiedsms/refreshAgentsInfoMap.jsp
Also we will request to create a panel from where a team member can also check the information of all
generated keys. For which there is a table agent_keys_info is there in which following details are stored
after successful keys generation.
Sample entry is:
userid: demoraviXML1
agent_id: valuefirst_agent
agent_private_key_path:
/usr/local/jboss_MT1/standalone/configuration/vsms_properties/vsms_env/valuefirst_agent/verified-
sms-valuefirst_agent-private-key-P-384-pkcs8.der
agent_public_key_path:
/usr/local/jboss_MT1/standalone/configuration/vsms_properties/vsms_env/valuefirst_agent/verified-
sms-valuefirst_agent-public-key-P-384.der
updated_on: 2020-06-09 16:50:45
expired_on: 2020-06-16 16:50:45
NOTE: Dump of schemas of all required Tables is also shared with mail.