How to configure Plivo and a shared webhost

These are instructions on how to configure plivo on a shared webhost

1. Plivo account with a phone number
2. Shared webhost with SSH access

On your shared webhost:

  1. Log onto your remote webserver (mines is a shared webhost) via SSH. I used the software called Putty to SSH into my shared webhost.
  2.  Go to your root of your domain. Commands I used were CD
  3.  Now type ‘composer require plivo/plivo-php’

Copy the sample code from plivo. In this example we are going to edit the ‘Forward an Incoming SMS’. I copied the php code for this example.

    require 'vendor/autoload.php';
    use Plivo\Response;
    // Sender's phone numer
    $from_number = $_REQUEST["From"];
    // Receiver's phone number - Plivo number
    $to_number = $_REQUEST["To"];
    // The SMS text message which was received
    $text = $_REQUEST["Text"];
    // Output the text which was received, you could also store the text in a database.
    // echo("Message received - From $from_number, To: $to_number, Text: $text");
    // The phone number to which the SMS has to be forwarded
    $to_forward = '3333333333';
    $params = array(
        'src' => $to_number,
        'dst' => $to_forward
    $body = $text;
    // Generate a Message XML with the details of
    // the reply to be sent.
    $r = new Response();
    $r->addMessage($body, $params);
    Header('Content-type: text/xml');

In the above code, you’ll edit line 13 to the number you want the SMS message to be sent to.

Save it with the extension php. eg. forwardsms.php

Next, we want to forward incoming voice calls to another phone number.  Copy the sample code from plivo ‘Forward an Incoming Call’. Again, I copied the php code for this example

    require 'vendor/autoload.php';
    use Plivo\Response;
    // Fetch the from_number from the URL
    $from_number = $_REQUEST['From'];
    $r = new Response();
    // Add Dial tag
    $params = array(
        'callerId' => $from_number # Caller ID
    $d = $r->addDial($params);
    $number = "2222222222";
    Header('Content-type: text/xml');

In the above you’ll edit line 12 so that voice calls will be transferred to the number you entered.

Save it with the extension php. eg. forwardcalls.php

Now, upload the two files you created, in this example (forwardsms.php and forwardcalls.php) to your shared webhost.

Now configure plivo to read these two files.

Log onto your plivo account.

Click on ‘Applications’

Click ‘New Applications’

In ‘Application Name’ box, give your application a name. eg. hotlinebling

In ‘Message URL’ box put ‘’ Obviously, should be whatever your domain name is.

In ‘Answer URL’ box put ‘’

In ‘Hangup URL’ box put ‘’

Click ‘Create’ button


Next, configure the number to use this application.

Click on ‘Numbers’. Located at the top navigation in plivo

Select the phone that you want to use

In ‘Plivo App’ box, click on the down arrow and select the application that you created. In this example, hotlinebling will be listed.

In ‘Alias’ box, give it another name. Can be anything.

Click on ‘Update’ button


Newell Specs

Got to bottom to see pdf for specs

Newell 220-5
Newell 229-5
Newell 235-5
Newell 322-5
Newell 338-5
Newell 344-5
Newell 440-5
Newell 447-5
Newell 454-5
Newell 220-3.6
Newell 229-3.6
Newell 235-3.6
Newell 332-3.6
Newell 338-3.6
Newell 344-3.6
Newell 440-3.6
Newell 447-3.6
Newell 454-3.6
Newell 540-3.2
Newell 549-3.2
Newell 550-3.2
Newell 533-4.6
Newell 540-4.6
Newell 546-4.6
Newell 550-4.6
Newell 535-5.5
Newell 540-5.5
Newell 621-3
Newell 636-3
Newell 641-3
Newell 646-3
Newell 631-4.2
Newell 636-4.2
Newell 641-4.2
Newell 646-4.2


Raspberry pi + Tightvncserver

#! /bin/sh
# /etc/init.d/vncboot

# Provides: vncboot
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start VNC Server at boot time
# Description: Start VNC Server at boot time.


export USER HOME

case "$1" in
  echo "Starting VNC Server"
  #Insert your favoured settings for a VNC session
  su - $USER -c "/usr/bin/vncserver :1 -geometry 1280x800 -depth 16 -pixelformat rgb565"

  echo "Stopping VNC Server"
  /usr/bin/vncserver -kill :1

  echo "Usage: /etc/init.d/vncboot {start|stop}"
  exit 1

exit 0

How to fix clicking sounds made on the Shimano FX-4000FA

The following requires you download the documentation for this spinning reel.

1. Download documentation. Do a search on your favorite search engine for Shimano FX-4000FA.pdf
2. Unscrew the following items in the following order. Part # 1442, 1030, 4362 (two of these), 642 (two of these), 3676, 6850, 6851, 4360, 3655, 5794, 5605, 3677, 5599.
3. Look for Part #5600 and make sure its all the way on top of the shaft. See picture, labeled in red arrow. You may need to remove part#5601 to get to part#5600.




shimano-fx4000fa4. Put everything back together and your done.

How to connect your VOIP throughout your home

1. Locate the demarcation box on the side of your home.
2. Open demarcation box
3. Find Orange and White/Orange wire. In my picture, it is pointed out with the black arrows. The technician that connected this wire happened to place it in Voice 1 or Line 6 as seen in the picture.


4. Next, loosen the screws and pull out the wire. See picture. Pointed out with the blue arrows.

5. Find out if you get a dial tone by picking up the telephone handset. If there’s no dial then you’re good to close up the demarcation box.
6. Plug in phone splitter.

7. Connect your telephone and ATA adapter to the splitter.

Note: If you have DSL, you’ll probably need to connect a second line or run a separate cable to your DSL modem. Also, you’ll need to contact your DSL provider and inform them that it’s on the second line. It seems to be a hassle but once this is completed you’ll be saving money. What I’ve done is installed dual wall jacks (see picture) inside the house and connected the blue and white/blue wire for the DSL connection.

Mythbuntu 8.04.1 + Hauppauge WinTV 61381 Rev D423

So I was able to get Mythbuntu 8.04.1 and my old Hauppauge Wintv card working together, however I ran into a few problems. These are:

1) I wasn’t able to convert the nuv files to mpeg or avi so that my Xbox 360 can play them. However, when I press Transcode in Mythweb and download them to my other computer I was able to watch it in VLC.
2)When I press Transcode in Mythweb it doesn’t rename the file.

My setup:
AMD 2200+
Hauppauge WinTV 61381 Rev D423 (610000-08)

Can anyone help me on the above issue I would greatly appreciate it.
mythbuntu8041help |{|@|}|  gmail |{(.)}|  com