Go to http://blog.philippheckel.com/2013/07/07/send-whatsapp-messages-via-php-script-using-whatsapi/
Login to "wkhtmltopdf TRIAL" amazon server
as root
cd /var/whatsapp/WhatsAPI
change the whatsapp_whatsapi_config.php
Monday, September 1, 2014
How to get whatapps encryption keys
uninstall whatsapp
install whatsapp with new sim details
use titanium backup to backup the whatsapp
uninstall whatsapp again
install with the cracked one - storage/download/folder bla bla/.apk
restore only DATA from titanimum backup
start the whatsapp
check catlog
search for WhatsPwd
Use the http://tomeko.net/online_tools/hex_to_base64.php?lang=en to convert the password
That is !!
install whatsapp with new sim details
use titanium backup to backup the whatsapp
uninstall whatsapp again
install with the cracked one - storage/download/folder bla bla/.apk
restore only DATA from titanimum backup
start the whatsapp
check catlog
search for WhatsPwd
Use the http://tomeko.net/online_tools/hex_to_base64.php?lang=en to convert the password
That is !!
Saturday, August 16, 2014
Migrating tuitionads from iwebhosting to ipserverone
Due to slow and security concern, I have decided to migrate the tuitionads to ipserverone.
Firstly, I need to get the migration code from iwebhosting - easy, there is a way from their menu itself
then, I share with ipserverone support and they trigger the migration process
Within 3-5 days, the domain is migrated but I need to move the wordpress over
backup the entire public_html directory and ftp to the ipserverone
backup the database and restore onto the new ipserverone xxxxwp5
but there are few more changes required... wp_config,
change the domain from tuitionads.com www.tuitionads.com
change all the pages with db connection - to using new databse, user and password.
surprisingly, ip serverone doesn't allow to change the db name or even create new user
Firstly, I need to get the migration code from iwebhosting - easy, there is a way from their menu itself
then, I share with ipserverone support and they trigger the migration process
Within 3-5 days, the domain is migrated but I need to move the wordpress over
backup the entire public_html directory and ftp to the ipserverone
backup the database and restore onto the new ipserverone xxxxwp5
but there are few more changes required... wp_config,
change the domain from tuitionads.com www.tuitionads.com
change all the pages with db connection - to using new databse, user and password.
surprisingly, ip serverone doesn't allow to change the db name or even create new user
Friday, August 8, 2014
How to identify the AMI (for the instance) and also the creation date
As we creating more and more instances, it's important to know that the instance was created based on which AMI. First, there is a relationship between the snapshots and AMI in the snapshot's description. based on that, you shall be able to tell the creation date of those AMI.
E.g
The jinercel instance was created based on the ami-6cce9c3e
Refer to snapshot this ami is created on the May 14 2014
So in order to determine the earlier AMI which was without the A2Billing,
It shall be the AMI created for the alwaysblue instance (ami-b096dce2)
which was created on Oct 14 2013
E.g
The jinercel instance was created based on the ami-6cce9c3e
Refer to snapshot this ami is created on the May 14 2014
So in order to determine the earlier AMI which was without the A2Billing,
It shall be the AMI created for the alwaysblue instance (ami-b096dce2)
which was created on Oct 14 2013
Tuesday, July 29, 2014
Table involved for the recording tracking
mysql> describe recording_track;
+-------------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------+--------------+------+-----+---------+----------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| primary_ext | varchar(20) | YES | | NULL | |
| httplink | varchar(100) | YES | | NULL | |
| filesize | int(20) | YES | | NULL | |
+-------------+--------------+------+-----+---------+----------------+
4 rows in set (0.00 sec)
mysql> insert into recording_track values ("","3101","https://drive.google.com/folderview?id=0Bzw96Nl15-yLQlZYR0h2V1dxWmc&usp=sharing&invite=CKjF-ssJ",1250,"201406TnL");
Query OK, 1 row affected, 1 warning (0.00 sec)
mysql> select * from recording_track;
+----+-------------+--------------------------------------------------------------------------------------------------+----------+-----------+
| id | primary_ext | httplink | filesize | name |
+----+-------------+--------------------------------------------------------------------------------------------------+----------+-----------+
| 1 | 2801 |
https://drive.google.com/folderview?id=0Bzw96Nl15-yLbnJFd2Q1UkhtY1k&usp=sharing&invite=CPWiouII | 948 | 201406LS |
| 2 | 2801 | https://drive.google.com/folderview?id=0Bzw96Nl15-yLbmh5THoxa1RNU0k&usp=sharing&invite=CImO6sYN | 225 | 201405LS |
| 3 | 3101 | https://drive.google.com/folderview?id=0Bzw96Nl15-yLQlZYR0h2V1dxWmc&usp=sharing&invite=CKjF-ssJ | 1250 | 201406TnL |
+----+-------------+--------------------------------------------------------------------------------------------------+----------+-----------+
+-------------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------+--------------+------+-----+---------+----------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| primary_ext | varchar(20) | YES | | NULL | |
| httplink | varchar(100) | YES | | NULL | |
| filesize | int(20) | YES | | NULL | |
+-------------+--------------+------+-----+---------+----------------+
4 rows in set (0.00 sec)
mysql> insert into recording_track values ("","3101","https://drive.google.com/folderview?id=0Bzw96Nl15-yLQlZYR0h2V1dxWmc&usp=sharing&invite=CKjF-ssJ",1250,"201406TnL");
Query OK, 1 row affected, 1 warning (0.00 sec)
mysql> select * from recording_track;
+----+-------------+--------------------------------------------------------------------------------------------------+----------+-----------+
| id | primary_ext | httplink | filesize | name |
+----+-------------+--------------------------------------------------------------------------------------------------+----------+-----------+
| 1 | 2801 |
https://drive.google.com/folderview?id=0Bzw96Nl15-yLbnJFd2Q1UkhtY1k&usp=sharing&invite=CPWiouII | 948 | 201406LS |
| 2 | 2801 | https://drive.google.com/folderview?id=0Bzw96Nl15-yLbmh5THoxa1RNU0k&usp=sharing&invite=CImO6sYN | 225 | 201405LS |
| 3 | 3101 | https://drive.google.com/folderview?id=0Bzw96Nl15-yLQlZYR0h2V1dxWmc&usp=sharing&invite=CKjF-ssJ | 1250 | 201406TnL |
+----+-------------+--------------------------------------------------------------------------------------------------+----------+-----------+
Monday, July 28, 2014
Activities on the early of the month
Besides generating bill for all customer by early of the month, the other important activity is to backup the recording .wav files, compress them and transfer them to the google drive. Set the http link for customer to access and also develop a GUI interface to access those download links.
cd /var/www/html
Modify the content of keeplogger.php and change the start - end date/time and master ext for the customer
Run the following command
php keeplogger.php > /mnt/ebs002/keeplogger/TnLJune2014/TnLJune2014.csv
cd /mnt/ebs002/keeplogger/TnLJune2014/
cat TnLJune2014.csv| awk -F'|' '{ print $7 }' > move
vi move
Copy all the .wav belong to this specific customer to the ebs002 directory
:1,$s/^/mv \/mnt\/ebs001\/asterisk\/monitor\//
:1,$s/$/ \./
sh move
tar cvf LSMay14.tar *.wav
gzip LSMay14.tar
scp the .tar.gz to the local PC directory
and then copy to the google drive directory.
Create the link and set to the GUI
cd /var/www/html
Modify the content of keeplogger.php and change the start - end date/time and master ext for the customer
Run the following command
php keeplogger.php > /mnt/ebs002/keeplogger/TnLJune2014/TnLJune2014.csv
cd /mnt/ebs002/keeplogger/TnLJune2014/
cat TnLJune2014.csv| awk -F'|' '{ print $7 }' > move
vi move
Copy all the .wav belong to this specific customer to the ebs002 directory
:1,$s/^/mv \/mnt\/ebs001\/asterisk\/monitor\//
:1,$s/$/ \./
sh move
tar cvf LSMay14.tar *.wav
gzip LSMay14.tar
scp the .tar.gz to the local PC directory
and then copy to the google drive directory.
Create the link and set to the GUI
Struggling with registration issue
This was the major issue that the client SIP Phone unable to register with the server intermittently. This is particular sensitive to the unifi original DIR-615 modem. From the server's messages log, you can see that the registration attempt was replied with "ChallengeSent" but some how, the client was not receiving this reply.
Trying out many methods including replacing the router with Asus 12HP and the latter seems to make the reoccurring lesser but still didn't fully resolve the problem. Even replacing the Asus router for TMS at Kota Damansara but still out of 6 ip phones (GXP1405), it's always one or two of them unable to register. It seems that the router was blocking the ip phone MAC addresses for some reasons.
The workaround is to replace those problematic ip phone and for Asus 12HP router, once it's connected, there is no issue so far for GSS amd TMS. But it is a hassle to replace the router as most customers prefer to retain the existing unifi router.
The worth to try possible solution was to set the outbound proxy server to the SIP server domain or IP address. So far, I have set this setting onto both TnL and LoanStreet (except the CS 2807 or 2804). Those ip phones still under close monitoring. If still not working, will have to figure out alternate solution
8.8.2014 - based on the last status, the registration fail doesn't happen to those phones with outbound proxy IP set. still under close monitoring
Trying out many methods including replacing the router with Asus 12HP and the latter seems to make the reoccurring lesser but still didn't fully resolve the problem. Even replacing the Asus router for TMS at Kota Damansara but still out of 6 ip phones (GXP1405), it's always one or two of them unable to register. It seems that the router was blocking the ip phone MAC addresses for some reasons.
The workaround is to replace those problematic ip phone and for Asus 12HP router, once it's connected, there is no issue so far for GSS amd TMS. But it is a hassle to replace the router as most customers prefer to retain the existing unifi router.
The worth to try possible solution was to set the outbound proxy server to the SIP server domain or IP address. So far, I have set this setting onto both TnL and LoanStreet (except the CS 2807 or 2804). Those ip phones still under close monitoring. If still not working, will have to figure out alternate solution
8.8.2014 - based on the last status, the registration fail doesn't happen to those phones with outbound proxy IP set. still under close monitoring
Subscribe to:
Posts (Atom)