UR Gateways - FAQ: Difference between revisions

From Ultiroam User Docs
Jump to navigation Jump to search
(Created page with "==== How can you specify a port for sending SMS? ==== When you need to specify a port for sending SMS, you can set port parameter in the SMS sending request. If you don’t need to send SMS through a specific port, port parameter is not necessary. ==== How to match an SMS sending result with an SMS sending request? ==== It is advised to use user_id in the SMS sending request. You can use different user id when SMS is sent to a different telephone number, and then SMS se...")
Tag: 2017 source edit
 
No edit summary
Tag: 2017 source edit
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
==== How can you specify a port for sending SMS? ====
==== What is the default IP address of a UR Gateway, and the default user/password? ====
When you need to specify a port for sending SMS, you can set port parameter in the SMS sending request. If you don’t need to send SMS through a specific port, port parameter is not necessary.
The Default IP address is a fixed address dans is the following: 192.168.11.1. Also the default user/password are : admin/admin.


==== How to match an SMS sending result with an SMS sending request? ====
==== What is the default IP address of a UR SIM Bank, and the default user/password? ====
It is advised to use user_id in the SMS sending request. You can use different user id when SMS is sent to a different telephone number, and then SMS sending result will also carry this user id. Each user id needs to be unique, and generally it is changed in an increasing order.
This are the same settings as for the UR Gateway above.


==== How fast can a SMS be sent? ====
=== How to configure UR Gateways and SIM Banks products===
It takes about 5 to 8 seconds to send a SMS message on a GSM gateway, and about 2 to 4 seconds on a LTE gateway. The time depends on the GSM network quality. When the GSM network is in a bad condition, it may take about 1 minute.
Both products can be managed through a web based GUI or interface.


==== How can you get SMS delivery status? ====
Just launch a browser and enter the IP address of the products: http://<IPAddress>
Generally, it is not necessary to query delivery status, as delivery status is included in SMS sending Result. But if you want to control the SMS delivery, please see the following:


SMS delivery status is received by gateway in unspecific time.   It is connected with an SMS sending result by a ref_id. And it is better to query delivery status after SENT_OK is returned. For a long SMS message which will be divided into 3 smaller SMS segments, if the first ref_id in SMS sending result is 0 and those of other two SMS segments are 1 and 2 respectively, at least 3 delivery statuses will be received, carrying ref_id 0, 1 and 2 respectively.
=== What is the server configuration required for the SIMCloud Server?===
The following configuration is required:
* Ubuntu server 16.04 (See https://releases.ubuntu.com/16.04/)
* With an open SSH server and its credentials so that we can set it up
Required TCP/IP ports to open:


'''How can you disable SMS delivery status?'''
* For SIM Cloud: UDP: 13478, 18478, 2000 to 2030, 3030, 3306
* For Syslog (If used) UDP: 514
* For Web Interface: TCP: 80, 8080, 2020, 2030
* and for SSH TCP: 22, 23.


Set the value of ‘request_status_report’parameter into ‘false’ in the SMS sending request.
=== What SMS Application can be used to send/receive SMS ===
See [[SMS Application List]].


==== How to send HTTP(s) request in the program? ====
Several applications are available on the market to send/receive SMS on top of our gateways.
C/C++ and PHP can use libcurl for sending HTTP(s) request. The parameter in libcurl is almost the same in curl utility.


{| class="wikitable"
They can use either the HTTP API or the SMPP Interface.
|curl
|libcurl
|-
|<nowiki>-k</nowiki>
|CURLOPT_SSL_VERIFYPEER,


CURLOPT_SSL_VERIFYHOST,
=== How to update the firmware of a Gateway ===
|-
See [[UR - Firmware Update|Gateway update page]]
|<nowiki>-u</nowiki>
|CURLOPT_USERPWD
|-
|<nowiki>--anyauth</nowiki>
|CURLOPT_HTTPAUTH
|-
|<nowiki>-H</nowiki>
|CURLOPT_HTTPHEADER
|-
|<nowiki>-d</nowiki>
|CURLOPT_POSTFIELDSCURLOPT_POSTFIELDS
|}


PHP example:
=== Getting Telnet traces from a Gateway ===
 
See [[UR - Gateway Telnet Traces|Telnet Gateway Traces]]
''$curl = curl_init($url);''
__FORCETOC__
 
''curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY ) ; curl_setopt($curl, CURLOPT_HEADER, true); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);''
 
''curl_setopt($curl, CURLOPT_HTTPHEADER, array("Content-type: application/json;"));''
 
''curl_setopt($curl, CURLOPT_USERPWD, "admin:admin"); curl_setopt($curl, CURLOPT_POST, true); curl_setopt($curl, CURLOPT_POSTFIELDS, $content); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);''
 
''curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0);''
 
''curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0);'' 
 
C#, JAVA, PYTHON and other programming language have their own lib for sending http request, please check the programming manual for help.

Latest revision as of 08:48, 19 August 2024

What is the default IP address of a UR Gateway, and the default user/password?

The Default IP address is a fixed address dans is the following: 192.168.11.1. Also the default user/password are : admin/admin.

What is the default IP address of a UR SIM Bank, and the default user/password?

This are the same settings as for the UR Gateway above.

How to configure UR Gateways and SIM Banks products

Both products can be managed through a web based GUI or interface.

Just launch a browser and enter the IP address of the products: http://<IPAddress>

What is the server configuration required for the SIMCloud Server?

The following configuration is required:

Required TCP/IP ports to open:

  • For SIM Cloud: UDP: 13478, 18478, 2000 to 2030, 3030, 3306
  • For Syslog (If used) UDP: 514
  • For Web Interface: TCP: 80, 8080, 2020, 2030
  • and for SSH TCP: 22, 23.

What SMS Application can be used to send/receive SMS

See SMS Application List.

Several applications are available on the market to send/receive SMS on top of our gateways.

They can use either the HTTP API or the SMPP Interface.

How to update the firmware of a Gateway

See Gateway update page

Getting Telnet traces from a Gateway

See Telnet Gateway Traces