6872 SMS Gateway - Client software, Command line client

                

Search the manual:

Overview Quick start Download Manual How to buy FAQ Contact Us
OZEKI NG SMS Gateway - Product Guide

Excel SMS client Contents | SearchExcel SMS client II.

Home > Product Manual > User Guide > Client software > Command line client

SMS Gateway SMS Gateway Home

  Product Manual
  Introduction
  SMS technology
  Installation Guide
  User Guide
  Quick Start Guide
  User Interface
  Configuration
  Client software
  Outlook Client
  Ozeki SMS client
  Excel SMS client
  Command line client
  Excel SMS client II.
  Administrator's guide
  Developers Guide
  Examples and Solutions
  Appendix
  FAQ
  Feature list
  Commercial Information
  Search
 



Contact Us!
If you wish to get further information, do not hesitate to contact us!

E-mail: info@ozekisms.com

If you have a technical question, please submit a support request on-line.


Callcenter developers
If you are working on telephone solutions, please check out the Ozeki VoIP SIP SDK.
It can be used to create:

Webphone solutions:
- Adobe Flash video phone
- Silverlight video phone
- Web to web calls
- Web to VoIP calls

Custom SIP clients:
- Silverlight SIP VoIP client
- Flash SIP VoIP client
- C# .net SIP VoIP client
- ASP .net SIP VoIP client
- Web based SIP VoIP client

Custom VoIP solutions:
- VoIP SIP softphones
- VoIP call center clients
- VoIP IVR systems
- VoIP predictive dialer systems
- VoIP auto dialer systems
- VoIP call assistant
- VoIP call recording systems
- VoIP intercom solutions

Ozeki NG SMS Gateway - Command line tool


Download (SendSMS.exe file):SendSMS_v1.2.zip (97 Kb)
Source code (Borland Delphi):CommandLineSMSClient_v1.2_Source_Delphi.zip (459 Kb)


The Ozeki NG command line tool (SendSMS.exe) makes it possible to send SMS messages from the command line. To send an SMS message all you have to do is execute the SendSMS.exe command with the appropriate parameters.

Enable the built-in SMPP server

First click on Server preferences under the Edit menu (Figure 1).


Figure 1 - Click on Server preferences

Click on the Client connectivity tab and enable the built-in SMPP server. Please note that the port number of the SMPP server is 9500. You will need to use this port number instead of 9501 (Figure 2).


Figure 2 - Enable the built-in SMPP server

Once you have enabled the the built-in SMPP server, you need to restart the service of Ozeki NG - SMS Gateway. Click on the service tool and select Restart service (Figure 3).


Figure 3 - Restart Ozeki NG service

Using the Command line client

Start a command line interface and navigate to the Ozeki NG - SMS Gateway installation folder. The Ozeki NG - SMS Gateway Command line client is located in this folder. The name of this application is SendSMS.exe. If you start this application without parameters, you can see the help of Ozeki NG SMS Gateway Command line client (Figure 4).

Help of Ozeki NG SMS Gateway Command line client:

Ozeki NG SMS Gateway Command Line Tool; Version: v1.2.0

Syntax:
SendSMS.exe  -h hostname:port -u username -p password -r recipient -m message
[optional parameters]

Parameters:
-h  Hostname and port of Ozeki NG SMS Gateway (Mandator)
-u  Username
-p  Password
-r  Recipient address
-m  Message text
-s  Sender address
-t  Message type
-l  Log communication, possible values: on/off
-c  stop condition, possible values: accepted/sent

Example:
SendSMS.exe -h 127.0.0.1:9500 -u admin -p abc123 -r "+36201234567" -m "Hello world"

If you want to send the same message to multiple recipients you need to separate recipients with semicolons. Example:

In this example "Hello World" is sent to "+36201234567" and "+36201122334" phone numbers.

SendSMS.exe -h 127.0.0.1:9500 -u admin -p abc123 -r "+36201234567";"+36201122334" -m "Hello World"

On figure 4 you can see a test message sent from the Command line client.


Figure 4 - Using the Command line client

If the execution of the client is successful, you can see the message is successfully forwarded to Ozeki NG - SMS Gateway (Figure 5).


Figure 5 - Message accepted by Ozeki NG - SMS Gateway

Sent message in Ozeki NG - SMS Gateway

The command line client can only connect to a standard user in Ozeki NG - SMS Gateway. In this example I have connected to the admin user. The connection and the message sending is visible at the events of the admin user with enabled low level logging (Figure 6).


Figure 6 - Message sending is visible at the events of the admin user

Also, you can see the sent message at the outbox of the admin user (Figure 7).


Figure 7 - Sent message

Dig deeper!
People who read this also read...


Copyright © 2000 - 2013 Ozeki Informatics Ltd.
All rights reserved

Software PBX for Windows | VoIP SDK   |   Legal information   |   Privacy policy   |   Terms of use
Please, address your inquiries to info@ozekisms.com


0