Documente Academic
Documente Profesional
Documente Cultură
This
learning unit will teach you to configure and use SMS, Email and Secure Message
delivery carriers in T24
1) Message is generated in T24 as per the user requirements. Then the generated
message is passed to the Java SMS interface using a jBASE API called CALLJ, as
XML data.
2) The interface, using the data it received, constructs the XML requests based on a
predefined XML schema defined by the client and sends it to the client over the
HTTP/S.
3) The client SMS gateway contacts the addressed handset and delivers the message.
It comes back with the response and the response is passed back to T24 as
acknowledgement.
In the field SMS, the mobile number of the customer along with the country code needs
to be entered. As soon as the CUSTOMER is authorised, a record is automatically
created in DE.ADDRESS with ID as <Company.Code>.C-<Customer.ID>.SMS.1
In the field EMAIL, the email ID of the customer needs to be entered. As soon as the
CUSTOMER record is authorised, a record is automatically created in DE.ADDRESS
with ID as <Company.Code>.C-<Customer.ID>.EMAIL.1
Compare this functionality to DE.ADDRESS record being created for the PRINT.1
address of the CUSTOMER when the CUSTOMER record is authorised.
The Delivery Parameter setup file DE.PARM is updated with the new Delivery Carriers.
The record SYSTEM.STATUS has been appended with the three carriers namely SMS,
EMAIL and SECUREMSG
1. A new FORMAT.MODULE has been introduced called XML apart from the regular
PRINT and SWIFT earlier available. This is because SMS, EMAIL and
SECUREMSG are sent as a XML format to their respective carriers. A new
application called DE.FORMAT.XML has been introduced to format records in XML.
2. The advice, as stated earlier is sent through an interface. You are already aware
that if an interface should be used then the CARRIER.MODULE should be
GENERIC
3. The interface to be used is specified in the field INTERFACE which is nothing but
the ID of the record in DE.INTERFACE file. This file contains the actual definition of
the INTERFACE. A screen shot of DE.INTERFACE has also been shown for your
understanding.
4. Once the delivery advice has been formatted the routine specified in the field
OUT.IF.ROUTINE is invoked to carry on further processing of the delivery advice.
1. The field FORMAT.MODULE is set to “XML”, which means that the message will be
formatted using a record in the application DE.FORMAT.XML
2. The field CARRIER.MODULE is set to “Generic”, which means that an Interface will
be used to send the message to its carrier or final destination
3. The field INTERFACE contains the name of the Interface through which the
message will pass through. A data here, as you can see, is the ID of a record in the
application DE.INTERFACE.
4. Notice that the OUT.IF.ROUTINE field contains the name of the actual routine that is
responsible for the transportation of the message.
As you can see, this customer wants his Credit Advices to be sent through
EMAIL.,SECUREMSG,SMS
The record that you see here, is the corresponding record created in
DE.CUSTOMER.PREFERENCES.
1. The ID of a record in this application is the customer number
2. The field MESSAGE.GROUP contains the ID of a record in DE.MESSAGE.GROUP.
Delivery messages can be grouped by meaningful terms such as Statement, Advice,
Alert etc., through a new application DE.MESSAGE.GROUP. A record in this application
contains the message type that will eventually make up the ID of the record in
DE.PRODUCT.
For e.g.: 910 is the message type for Credit Advices. “910.ALL” signifies
that 910 type of messages generated from any application form a group. Based on
information entered in here, a record is created in the application DE.PRODUCT with id
GB0010001.C-100336.910.ALL.
3. The field CARRIER specifies how the delivery advice should be sent to the customer.
4. The ADDRESS field contains the address of the customer that the advice must be
sent to.
5. The FORMAT field contains the format record to be read for formatting the advice.
6. The LANGUAGE field contains the language in which the advice should be generated
in.
NOTE: When a user enters his/her preferences through the Internet Banking screen, the
data to be filled up in fields ADDRESS, FORMAT and LANGUAGE is populated as
AUTO.NEW.CONTENT from the version and is updated here.
Please go through the contents of this record. You will find that all the data from the
DE.CUSTOMER.PREFERENCES record has been updated to appropriate fields in this
record.
mbremote.cmd contains the above lines for including the jars in the CLASSPATH
1.Take a look at the XSD record created for the corresponding DE.FORMAT.XML
record that you saw in the previous slide. All the DATA.NAME fields have been listed as
XML tag elements. These tags will hold the values that were specified in the field TEXT
or a value from the HANDOFF record (by specifying the corresponding DE.MESSAGE
variable name)
2.Both email and SMS are sent through standard interfaces and should therefore follow
an uniform XML schema. The data content can vary from message to message but the
structure and the tags should be the same. Therefore there are two standard XSD
records available in F.DE.XML.SCHEMA namely T24Email.xsd and T24Sms.xsd, that
will come along with your T24 area.
NOTE: The screen shot that you see is not the entire XML schema definition but only a
snapshot of the record created for the DE.FORMAT.XML record 910.2.7.GB
The screen shot here shows the mapping done between the schema definition record
910_2_7_GB.xsd and the standard T24Email.xsd.
For e.g.: The record that is defined in DE.FORMAT.XML makes up the body of the email
and is mapped appropriately to the body element, using the CONCAT function in
ALOTVA.
Notice the “From address” in the email, you must be wondering where this information
came from?
It has been updated from the HEADER record. The HEADER gets the value from the
default company level record in DE.ADDRESS for EMAIL which is
<CompanyCode>.EMAIL.1
3. You can see in the DE.O.HEADER record that the Msg.Disposition has been
changed to Ack
The registration done on the Clickatell gateway is free, however to receive the actual
message is a paid service. A maximum of 10 SMS’s can be sent to the gateway to
receive such a reply. This means that the message has successfully reached Clickatell
gateway from T24, and if you pay for the Clickatell service, then the message will be
sent to the customer.
6.
EB.SECURE.MESSAGE,INT/I/PROCESS//0/,//GB0010001/////,,TO.CUSTOMER:1:1="1
00336",FROM.CUSTOMER:1:1="1",SUBJECT:1:1="Message to you",MESSAGE:1:1="|
trfr of USD3211.00|from Barclays||CR to 62723| ref FT13081VXZVD",
You might be wondering where did the delivery subsystem get the other values to fill in
the field, as what you did in the DE.FORMAT.XML record was only the SUBJECT and
the MESSAGE part of the Secure Message.
Sometimes, you might have to create a CUSTOMER record for the customer specified
in FROM.CUSTOMER field, else the EB.SECURE.MESSAGE record will not be
created. The OFS.STRING will fail out and return a response of -1, signifying that the
processing was not successful.