UPGRADE FIRMWARE QUINTUM TENOR DX


UPGRADE FIRMWARE QUINTUM

put C:\DX-P108-09-21\dspcode.bin
put C:\DX-P108-09-21\DXDSPB.bin
put C:\DX-P108-09-21\tnrboot.bin
put C:\DX-P108-09-21\tnrsys.bin
put C:\DX-P108-09-21\tnrdx.jbc
put C:\DX-P108-09-21\ProgressToneCountry.xml
put C:\DX-P108-09-21\cli_error_msg.txt
put C:\DX-P108-09-21\cli_help_msg.txt
put C:\DX-P108-09-21\cli_obj_msglist.txt

Protected: VIRTUAL USER FTP CENTOS 6.4


This content is password protected. To view it please enter your password below:

Protected: QUINTUM TENOR DX USING PROTOCOLS H323 + DIGIUM CARD WITH ASTERISK 1.8


This content is password protected. To view it please enter your password below:

Protected: ROUTE INCOMING CALL BY DID ON QUINTUM TENOR DX TO DIFFERENT SIP SERVER


This content is password protected. To view it please enter your password below:

RHEL / CENTOS 6.0 GAMMU SMS SERVER


#!/bin/bash
/bin/tar -zxvf /usr/post/installer/gammu/cmake-2.8.7.tar.gz -C /usr/src/
cd /usr/src/cmake-2.8.7/
./configure
/usr/bin/gmake
/bin/ln -sf /usr/src/cmake-2.8.7/bin/cmake /usr/bin/cmake
/bin/tar -zxvf /usr/post/installer/gammu/gammu-1.31.0.tar.gz -C /usr/src/
cd /usr/src/gammu-1.31.0/
./configure
make install
ln -s /usr/local/lib64/libGammu.so /usr/lib64/libGammu.so.7
ln -s /usr/local/lib64/libgsmsd.so /usr/lib64/libgsmsd.so.7

mkdir /var/log/sms

touch /var/log/sms/modem{0,1,2,3,4}

vim /root/.gammurc

[gammu0]
port = /dev/ttyUSB0
model = at
connection = at115200
synchronizetime = yes
logfile = /var/log/sms/modem0.log
logformat = textalldate
use_locking =
gammuloc =
[gammu1]
port = /dev/ttyUSB1
model = at
connection = at115200
synchronizetime = yes
logfile = /var/log/sms/modem1.log
logformat = textalldate
use_locking =
gammuloc =

[gammu2]
port = /dev/ttyUSB2
model = at
connection = at115200
synchronizetime = yes
logfile = /var/log/sms/modem2.log
logformat = textalldate
use_locking =
gammuloc =
[gammu3]
port = /dev/ttyUSB3
model = at
connection = at115200
synchronizetime = yes
logfile = /var/log/sms/modem3.log
logformat = textalldate
use_locking =
gammuloc =

[gammu4]
port = /dev/ttyUSB4
model = at
connection = at115200
synchronizetime = yes
logfile = /var/log/sms/modem4.log
logformat = textalldate
use_locking =
gammuloc =

 

Check modem status

gammu 1 identify
gammu 2 identify
gammu 3 identify
gammu 4 identify

 

Check Pulsa SMS (XL)

[root@sms ~]# gammu getussd *123#

EXAMPLE PHP TELNEL QUINTUM


<?php
set_time_limit(0);
require_once “PHPTelnet.php”;

$telnet = new PHPTelnet();
$result = $telnet->Connect(‘192.168.0.220′,’username’,’password’);

if ($result == 0) {
$varin = ‘st ds1 clear';
$telnet->DoCommand($varin, $result);
sleep(2);
$telnet->Disconnect();
}
?>

OPERATOR A VS B – 2:1- ASTERISK DIALPLAN + MYSQL


PERBANDINGAN CALL OPERATOR_A && OPERATOR_B

[ecentrix-agents]
exten => _08[125][123]X.,1,NoOp(TELKOMSEL)
exten => _08[125][123]X.,n,MYSQL(Connect connid localhost dbuser dbpassword operator_counter)
exten => _08[125][123]X.,n,MYSQL(Query resultid ${connid} update t_counter set counter = counter + 1 where id=’0′)
exten => _08[125][123]X.,n,MYSQL(Query resultid ${connid} select IF(MOD(counter,3)=0,’OPERATOR_A’,’commsol’) as curr_operator from t_counter)
exten => _08[125][123]X.,n,MYSQL(Fetch foundrow ${resultid} curr_operator)
exten => _08[125][123]X.,n,MYSQL(Disconnect ${connid})
exten => _08[125][123]X.,n,NoOp(CURR_OPERATOR: ${curr_operator})
exten => _08[125][123]X.,n,GotoIf($[ "${curr_operator}" = "OPERATOR_A" ]?dlpn-OPERATOR_A,${EXTEN},1:dlpn-OPEARTOR_B,${EXTEN},1)

 

[dlpn-OPERATOR_B]
exten => _XXXXXXX.,1,NoOp(OPERATOR_A)
exten => _XXXXXXX.,n,Set(GROUP()=OPERATOR_A)
exten => _XXXXXXX.,n,NoOp(COUNT OPERATOR_A = ${GROUP_COUNT(OPERATOR_A)})
exten => _XXXXXXX.,n,Set(A_NUMBER=62${FILTER(0-9,${EXTEN:1})})
exten => _XXXXXXX.,n,Dial(SIP/73626${A_NUMBER}@OPERATOR_A,,tT)
exten => _XXXXXXX.,n,NoOp(HANGUPCAUSE OPERATOR_A=${HANGUPCAUSE} DAN DIALSTATUS OPERATOR_A =${DIALSTATUS})
exten => _XXXXXXX.,n,Hangup()

[dlpn-OPERATOR_A]
exten => _XXXXXXX.,1,NoOp(OPERATOR_A)
exten => _XXXXXXX.,n,Set(GROUP()=OPERATOR_A)
exten => _XXXXXXX.,n,NoOp(COUNT OPERATOR_A = ${GROUP_COUNT(OPERATOR_A)})
exten => _XXXXXXX.,n,Set(CALLERID(all)=8899 <8899>)
exten => _XXXXXXX.,n,Dial(SIP/${FILTER(0-9,${EXTEN})}@192.168.0.1,,tT)
exten => _XXXXXXX.,n,NoOp(HANGUPCAUSE OPERATOR_A=${HANGUPCAUSE} DAN DIALSTATUS OPERATOR_A =${DIALSTATUS})
exten => _XXXXXXX.,n,Hangup()
db operator_counter

t_counter CREATE TABLE `t_counter` (
`id` int(1) NOT NULL,
`counter` int(11) DEFAULT ‘1’,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1

shisdew

Listens until think alike

co.id.intelix

POWER CAN NOT BE GIVEN IT HAS TO BE TAKEN

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: