How to add your own phone company.
To understand this tutorial you must have basic HTML and XML knowledge.
You can add your own company using a web service. You must search the web for a site where you can send messages to your company. If you have one you can do as follow:
- Start Eclipse.
- Go to menu Window -> Show View -> Other
- Go to "SMS Category" and select "SMS View"
- Now you can see the SMS view. If you can't seeit or get an error please start Eclipse with "-clean" command line parameter.
- In the top of companies list, you see three buttons.
Click on "Export" button to export the companies list into a XML file.
If all is ok, you must see a message window
- Now you must edit the XML file where you exported the companies. Each company is defined by a xml tag, As an example, I show you a screenshot from US company. To send messages to a US company we use the free web service provided by www.vazu.com
Very confusing, but I will try to explain every part of it. Please follow the numbers below:

First we have the TAG named "company". This tag explains itself, so I will explain the attributes.
1 - type="url" : means that we will use a web service.
2 - name="US phone numbers! (testing)" : this is the name of the company. It's just the description we see in the companies list.
3 - method="1" : set the method of the site. The site you use to send message works with a form, and this attribute set the method of the form. Use 1 to POST, other value to GET.
4 - url="https://www.vazu.com/library/homepagesend.php" : This is the absolute path to send the form data. You can see this path in the "action" attribute of the form.
5 - txtok=" " : use this to set a control text. When you send a message using the website you can see a message telling you that it's ok or you have success sending the message. Well, you can put in this attribute a portion of text of the message to control that was sended ok.
6 - webservice="www.vazu.com" : this is just the description we show below the companies list. It's important to show the website we are using to send the message.
Every web form has fields (<input type="text" >, etc. ) where we can write what we need. Well, we must see the sourcecode of the site to set all the fields here. We must use the param tag to set the exact name of the field and the value. We must put here all the items of the form (text, textarea, button, imgbutton, etc)
7 - name="send_to" : In the sourcecode we can see a text field to write the destination number. In the page source we see that this field have a name, and the name is "send_to"
8 - value="{number}" : because the value of this field is the destination number we put here "{number}".
You can use too the values {sign} for the sender's signature and {msg} for the body of the messsage. If the field has a static value you just write it, ex. <param name="Submit" value="Send" />
- Once you finished you save the xml file and using the import button of the plugin you can start to send messages. In the debug window you will get the HTML of the result page, please use it to control if it's all ok.
- If you have questions please write me to itcrespo@yahoo.com.ar
