|
How to join SMS to your server environment |
|
|
|
|
There are no translations available
The integration could be performed in several ways: - Use Email to SMS gateway function
- "POST" data to an URL
- Write directly on OUTGOING queue
- POST DATA WITH METHOD WITH PHP
Case 1: Use Email to SMS gateway function The Email to SMS gateway feature requires only four configuration parameters. You reach them from the web browser interface of the FoxBox, clicking on the left menu the "System profile" entry. Here there are three sections, and we are interested in the last one, titled "Incoming mails configuration for message forward MAIL to SMS". As an example, we will configure the email retrieval of
Aceasta adresa e-mail este protejata impotriva spamului, JavaScript trebuie activat pentru a putea vizualiza pagina.
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it This e-mail address is being protected from spam bots, you need JavaScript enabled to view it In the first field you have to put the server that hosts the email account designed for SMS operations (ex. mail.kdev.it). In the second field you can specify which protocol to use for mail retrieval between POP3 and IMAP (default is POP3). In the third field you have to type the login name for access the email account (ex. gsm). In the fourth field you have to put the password for access the mailbox. After these assignments, click on "Save configuration" to apply changes and proceed enabling the Gateway Engine on the "Control Panel" entry of the menu.
Now that the gateway engine is started, if you send a message to
Aceasta adresa e-mail este protejata impotriva spamului, JavaScript trebuie activat pentru a putea vizualiza pagina.
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it , using the following Synatx: Subject: TOsms From: To: 39349000111222
Text of your SM message
The e-mail messages will be automatically diverted to the phone number 39349000111222.
Case 2: "POST" data to an URL Another simple way to integrate the SMS FoxBox in your ICT structure is the capability of sending SMS launching a simple URL. All you have to do is launch an URL according to URL enconding format, passing the following informations as arguments: username: The user registered inside you SMS FoxBox pwd: the password of the username specified from: A identification for the message sender (the default is the username) nphone: The phone number testo: The text of your SM message An example will be as follow: http://URL TO YOUR SMS FoxBox/source/send_sms.php?username=Admin&pwd=password& from=Davide&nphone=393483512789&testo=SMS%20%text SMS FoxBox will process your request and send the message as you specified. Case 3: Write directly on OUTGOING queue There are several ways to access the outgoing message queue. SMS FoxBox is equipped with both FTP and SSH servers. To access outgoing queue you can simply upload using FTP or copy using SCP a file according to SMS file format in the path /mnt/flash/spool/outgoing/.
|