Professional Documents
Culture Documents
BSTPL VB - Integaration Dcoument V2.0
BSTPL VB - Integaration Dcoument V2.0
BSTPL VB - Integaration Dcoument V2.0
Ex: 11 A2 04 00 11 11 11 11 00 00 00 00 00 00 00 00 00 01 00 1F 22
1. If Authentication Enabled:
VB will validate the incoming number with authenticated numbers list. If incoming number is listed in the list, device
will answer the call and an intimation is sent to VTD. Command sequence is as followed.
If the incoming number received is not from the list, VB will reject the incoming call and an intimation is sent to VTD.
Command sequence is as followed.
2. If Authentication Disabled:
VB will answer the call without any validation and an intimation is sent to VTD. Command sequence is as followed.
Note: For SOS request Re-attempt flag will set to “1” by default.
BS Technotronics Private Limited
Voice Box Integration Document
Version No VBI-2.0, 29-09-2023
On receipt of outgoing call request, VB will give below acknowledgement and start attempt to dial out the numbers
from the list.
$SHOW_CALL:+919876543210,A,B,C,D\r\n
Where, A Can be 0 = Call Success; 1 = Call Failed;2=Call End;3=Call Processed.
Where, B Can be 0=No Network,1=Local,2=Roaming, 3=No SIM, 4=Monthly outgoing limit exceeded.
If Re-attempt flag is set to “0”, VB will attempt to dial only the first number stored in the list
If Re-attempt flag is set to “1”, VB will attempt to dial the numbers in list in a sequential order i.e. from 1 to 5 till a
successful outgoing call is established.
If Re-attempt flag is set to “2”, ongoing call will be disconnected
In both the flags i.e. Re-attempt flag is either “0” or “1”, Number/s in the list will be attempted only once. Thereafter
VB will return to normal functionality.
On success of outgoing call, VB will send following command to VTD including the number
$SHOW_CALL:+919876543210,A,B,C,D\r\n
On failure of outgoing call, VB will send following command to VTD including the number
$SHOW_CALL:+919876543210,A,B,C,D\r\n
Where “A” Can be 0 = Call Success; 1 = Call Failed;2=Call End;3=Call Processed.
Where” B” Can be 0=No Network,1=Local,2=Roaming, 3=No SIM,4=Monthly outgoing limit exceeded.
Where” C” is Call Duration in sec.
Where” D” is Total Duration in min.
After completion / disconnection of outgoing call, details of call duration in seconds along with incoming number is
sent to VTD. Command sequence is as followed.
Command from Voice Box Response from GPS Device
$SHOW_CALL:+919876543210,A,B,Duration in sec,
[EVENT]:CALDU_OK!}
Total Duration in min\r\n
Validation of response from VTS is not mandatory
And Call will be disconnected after Threshold value set.
Note: Total Duration in min Rounded off to per minute call rate.
VB CONFIGURATION COMMAND:
Note: Max timeout for Executed response is 25 sec.
Max timeout for Received response is 2 sec.
~SET#OUTN#N1#N2#N3#N4#N5!
N1,N2,N3,N4,N5=Mobile Nos without “91” max length is 15 Bytes
Example: =77729990985
Note: If number is not available then don’t send anything between two respective consecutive #
ACK FROM VB:
$OUTN:A\r\n
Where A=0 Received & A=1 Executed.
~SET#INCN#N1#N2#N3#N4#N5!
N1,N2,N3,N4,N5=Mobile Nos without “91” max length is 15 Bytes
Example: =77729990985
Note: If number is not available then don’t send anything between two respective consecutive #
ACK FROM VB:
$INCN:A\r\n
Where A=0 Received & A=1 Executed.
5. To Enable/Disable Authentication for incoming call
~SET#INCA#A!
Where A=0 Disable & A=1 Enable.
ACK FROM VB:$INCN:A\r\n
Where A=0 Received & A=1 Executed.
6. To Load Default Configuration Settings
~SET#LDDF!
ACK FROM VB:
$LDDF:A\r\n
Where A=0 Received & A=1 Executed.
Default parameters are as shown below:
7. To Restart “VB”
~SET#CRST!
ACK FROM VB:
$CRST:A\r\n
Where A=0 Received & A=1 Executed.
8. To configure Voice language
~SET#LAG1#A#B#C!
Where A=1st Lang, B=2nd Lang, C= 3rd Lang.
ACK FROM VB:
$LAG1:A\r\n
Where A=0 Received & A=1 Executed.
BS Technotronics Private Limited
Voice Box Integration Document
Version No VBI-2.0, 29-09-2023
~SET#IP#183.82.100.200#2003#!
ACK FROM VB:
$IP:A\r\n
Where A=0 Received & A=1 Executed.
~SET#APN#JIONET!
$RDSP:Flag,IMEI,CCID,Hardware VER,Firmware VER,Geofence data VER1, Geofence data VER2, Geofence data VER3,
Geofence data VER4, Geofence data VER5, Memory, Serial number, Reserved voice file Status,0,0\r\n
$RDDP:Flag,SIM Status, GSM Status,GSM ON Status,IN no1,IN no2,IN no3,IN no4,IN no5,IN Max Duartion ,Out no1,Out no2,Out
no3,Out no4,Out no5,Out max Duration, Date for resetting, Total Outgoing Units in Minutes, Total Outgoing Units in sec, Tampering
Staus,Lang1,Lang2,Lang3,Speaker volume, Incoming numbers Authentication Enable/Disable, Monthly allowed Max out going Call
Min,Reserved bit, Speaker access status bit\r\n
Without Voice
With Voice Calling Description
Calling
1 $RDDP: Header. Always $RDDP: $RDDP: Always 6 byte
Status 0=Auto Status 0=Auto Always 1 byte
2 0(or)1
1=Request 1=Request
3 1-SIM Inserted, 0-No SIM SIM Status 0 Always 1 byte
0=No Network,
4 GSM Status 0 Always 1 byte
1=Local,2=Roaming
5 0=OFF,1=ON GSM ON Status 0 Always 1 byte
6 7729990985 IN No1 0 Max 15 bytes
7 7729990985 IN No2 0 Max 15 bytes
8 7729990985 IN No3 0 Max 15 bytes
9 7729990985 IN No4 0 Max 15 bytes
10 7729990985 IN No5 0 Max 15 bytes
11 1 to 99 IN Max Duration (Config) 0 Max 2 bytes
12 7729990985 OUT No1 0 Max 15 bytes
13 7729990985 OUT No2 0 Max 15 bytes
14 7729990985 OUT No3 0 Max 15 bytes
15 7729990985 OUT No4 0 Max 15 bytes
16 7729990985 OUT No5 0 Max 15 bytes
17 1 to 99 (Min) OUT Max Duration (Config) 0 Max 2 bytes
18 1 to 31 Date for Resting OUT Units 0 Max 2 bytes
Total Outgoing Units in Min.
19 1-999 0 Max 3 Bytes
(Calculated)
1-99999 Total Outgoing Units in sec.
20 0 Max 5 Bytes
(For future use) (Calculated)
21 0=OK,1=Tampered Tampering Status 0=OK,1=Tampered Always 1 byte.
22 1-D Voice Language1 1-D Always 1 byte.
23 1-D Voice Language2 1-D Always 1 byte.
BS Technotronics Private Limited
Voice Box Integration Document
Version No VBI-2.0, 29-09-2023
24 1-D Voice Language3 1-D Always 1 byte.
25 0-99 Speaker Volume 0-99 Max 3 bytes
1=Enable
26 Incoming call Authentication 0 Always 1 byte.
0=disable
Monthly allowed Max out
27 0 0 Max 3 bytes
going Call Min.
28 0 Reserved 0 Always 1 byte.
29 0 Reserved 0 Always 1 byte.
30 \r\n END OF STRING Always 2 Bytes
13. Server or VTU initiated voice announcements: Following commands can be sent to Voice Box from server or Voice
Box UART for playing corresponding audio file
13.LED Indications:
Voice Box is provided with 5 LEDs for indicating various statuses / functionality.
LED FUNCTIONALITY
1. Continuously ON: Indicates device power status i.e. ON / OFF
RED
2. 1 Sec ON & 1 Sec OFF: During device firmware is upgrading