Nokia WAP and SMS gateway manual Appendix E. Log files, Bearerbox Access Log, Log rotation

Models: WAP and SMS gateway

1 116
Download 116 pages 31.95 Kb
Page 113
Image 113

Appendix E. Log files

This appendix describes the log file format.

Bearerbox Access Log

2001-01-01 12:00:00 Sent SMS [SMSC:smsc] [SVC:sms] [from:12345]

[to:67890] [flags:0:1:0:0:0] [msg:11:Hello World] [udh:0]

Variable

Value

Description

Date

2001-01-01 12:00:00

Date

 

 

Result: Send, failed, DLR

Result

Sent SMS

(deliver report), Received, etc.

 

 

Smsc id (smsc-id) defined in

SMSC

smsc

configuration group smsc

 

 

Service name (name) defined in

 

 

configuration group

SVC

sms

sendsms-user

from

12345

Sender

to

67890

Recipient

 

 

Flags: MClass, Coding, MWI,

Flags

0:1:0:0:0

Compress, DLRMask

 

 

Size of message and message

 

 

dump (in text or hex if it’s

Message Text

11:Hello World

binary)

 

 

Size of UDH and UDH Hex

User Data Header

0:

dump

Log rotation

If Kannel is configured so that the bearerbox, wapbox and/or smsbox log to file each of these log files will continue to grow unless administered in some way (this is especially true if access logs are created and/or the log level is set to debug).

A typical way of administering log files is to ’rotate’ the logs on a regular basis using a tool such as logrotate. A sample logrotate script (to be added to /etc/logrotate.d) is shown below. In this example the Kannel log files found in /var/log/kannel are rotated and compressed daily over 365 days. See the documentation for logrotate for more details. Of particular note however is the postrotate command, this killall -HUP issues a HUP command to each kannel box running. The HUP signal has the effect of reopening the log file, without this command Kannel will continue to write to the rotated log file.

/var/log/kannel/*.log {

106

Page 113
Image 113
Nokia WAP and SMS gateway manual Appendix E. Log files, Bearerbox Access Log, Log rotation

WAP and SMS gateway specifications

Nokia has long been a pivotal player in the telecommunications industry, and its contributions to mobile communication technology are numerous. Among these contributions, the Nokia WAP and SMS Gateway stand out as essential elements in enabling mobile internet access and messaging services in the early days of wireless communication.

The Nokia WAP (Wireless Application Protocol) gateway was introduced to facilitate mobile access to the internet and to allow users to interact with web services through their mobile devices. Built on a client-server architecture, the WAP gateway acted as a bridge between the mobile network and the internet, translating traditional web content into a format that mobile devices could effectively render. This conversion was crucial, given the limitations of early mobile devices regarding screen size, processing power, and network bandwidth.

One of the main features of the Nokia WAP gateway was its ability to provide users with real-time access to information such as weather updates, news, and stock prices. By using a lightweight markup language called WML (Wireless Markup Language), the gateway allowed developers to create mobile-friendly websites that could be accessed via WAP-enabled devices. This marked a significant step toward the mobile internet we know today, creating a new realm of possibilities for developers and users alike.

Another critical aspect of Nokia's offering was the SMS (Short Message Service) gateway. The SMS gateway provided a robust platform for sending and receiving text messages across various mobile networks. It enabled seamless communication between devices, regardless of the underlying technology. This feature made SMS a popular choice for both personal communication and business applications, such as marketing campaigns and customer service notifications.

The Nokia SMS gateway utilized established protocols, such as SMPP (Short Message Peer-to-Peer), to ensure reliable message delivery and efficient interaction between SMS applications and mobile networks. Its characteristics included scalability, allowing service providers to handle large volumes of messages, and flexibility to integrate with existing applications and systems.

In summary, the Nokia WAP and SMS gateway played a vital role in the evolution of mobile communication. With features that enabled mobile internet access and streamlined messaging capabilities, these technologies laid the groundwork for the mobile-centric world we live in today. Their legacy continues to influence mobile application development and the broader telecommunications landscape. As the industry progresses, the innovations introduced by Nokia serve as a reminder of the foundational technologies that paved the way for modern mobile experiences.