Why am I getting error: A 'From' phone number is required
===

Using Twilio Rest API to send sms from my twilio number to my cell.

I have two files:
1. jsp file with a form and a method call
2. java class with Twilio API that receives the method call from item 1 and does the sending sms part 
 (see the files below)

**Why am I getting exception A "From" phone number is required?**

The program works, delivers correctly, tried many times. It's just that exception that puzzles me. I have purchased twilio number so I don't have a trial number.

There is a stack trace associated with it, but can post it later.

In smsParams.put("From", from) I tried replacing from directly with a cell number like this (used a valid No):
smsParams.put("From", "1231231234");
and then I get exception that goes to the next line (smsParams.put("To", from);) and says A "To" number is required. When I replace variable with a number it skips to the next line and give exception for the message body.

??

Thanks