If you attempt to change the timezone from "Date&time" panel before the network is properly setted up, the system will be unable to download from our server the right localtime file and erases the default one. The system boots up and works, but date and mktime functions of PHP called in the procedures will fail, so the system appears unusable. Bug is fixed and doesn't happens on new appliances. To solve it simply adjust network settings using Winscp or a common SSH client to connect to FoxBox with usual credentials. Then, from the shell, launch: wget -O /etc/localtime http://www.kdev.it/worldtime/Europe/Rome or simply download the file: http://www.kdev.it/worldtime/Europe/Rome and copy it into FoxBox at /etc/localtime. | | | How to logon into SMS FoxBox system using FTP or SSH | | | | The deault IP ADDRESS of SMS FoxBox is 192.168.0.98. By deafult SMS FoxBox accept connections over FTP and SSH using username: root and password: foxboxg20 and by HTTP using username: admin and password: admin
If you want to use SMS FoxBox on the WEB with a public IP address, it is really recommended that you change the logon details of the system access. To change the password to log into SMS FoxBox using SSH with your preferred terminal (as, for example, putty for windows), from the command prompt type: passwd Enter the new password and confirmation when required. From now you need to provide this new password for FTP and SSH login. | | | BUG description: Errore interpretazione XML: entità non definita
Indirizzo: http://192.168.0.98/source/read_sms.php
Linea numero 62, colonna 49: <td class="txt" colspan="6">à é è # ' * £ $ </td>
When a SMS message received contains ò à è é ì ù £ € ! " $ % & / ( ) = ? [ ] + * @ ° - symbols. This bug is caused by a wrong interpretation of symbols from the browser XSL engine, to solve this issue you have to upgrade the charset from UTF-8 to ISO-8859. Follow this steps:
Download the patch from here and unzip it. Then: 1- Log into the FoxBox using FTP with username: root and password: pass; 2- replace the file parser.php in /etc/sms/scripts/parser.php with the new one; 3- replace the file main.php in /mnt/flash/root/media/languages/main.php with the new one; 4- delete the last message from table GSMIN, using the internal SQL editor available in the bottom right of "System & Profile". | | The REBOOT command doesn't free the serial ttyS2 used by the modem. If you need to reboot the SMS FoxBox by software you need to use the script reset.sh that you can download here .
To install the script simply put it using FTP on /mnt/flash folder in your SMSfoxbox username: root password: pass. | | Customer question: When I create a new user using the webapp i can't seem to use it to map a networkdrive. When I change the password of admin it only works for the webapp. If I need to map it in, for instance, Windows, i still need the old password. How can I create new webdav users?
Answer: To access the FoxBox with SSH use root user. Users in the interface are useful only to access the web GUI, to change the user of webdav you need to edit the file .htpasswd on the /mnt/flash/root/spool of the FoxBox using Apache htpasswd command:
htpasswd <username> .htpasswd password: | | | SMS FoxBox provides you a gateway from email to SMS. There are a lot of mailservers and it is really difficult to adapt our scripts to all products, but we try!!! Probably with some little adjustment it can work with EVERY mailserver POP3/IMAP compliant. We have discovered, thanks to some user experience, that some mail clients and servers appends white spaces to the end of the message (LOTUS NOTES is one of this). To solve this problem you have to edit the file /etc/procmailrc. Locate the line:
| /bin/cat > $OUTFILE and modify it to look like this | /bin/cat |grep -v ^$ | sed '/To:/G' >> $OUTFILE
To learn more about how to customize EMAIL to SMS gateway look at: http://www.smsfoxbox.it/the_news/latest_news/email_to_sms_custom_scripts.html | | | Name Server configuration lost after reboot There is a fix on the configuration page so that the DNS is saved after reboot. To apply this fix please download the patch from here and follow these steps: 1- Unpack the zip file; 2- using FTP or SSH (with username: root and password: pass) log into the FoxBox; 3- copy and replace the existing file with the patched one, the file is placed in /mnt/flash/root/source/; 4- point your web browser to network config edit, and save the DNS configuration (nameserver).From now the bug should be fixed. | | | If your box SMS to EMAIL function is corrupted, you can repair it unpacking this patch and uploading the whole "mailsend" folder in your SMS foxbox inside /etc/. To perform this upgrade follow these steps: 1- Download the patch from here and unpack it; 2- Upload it on /etc/ folder using ftp username: root password: pass; 3- Configure the SMS to EMAIL from eventhandler.
| | | NTP unable to use network time | | | | | I decided to redesign the date & time function using rdate, so I ported the command to CRIS and designed a system that is able to fetch the local time for your country from my server (the full list is 6MB!!! Too much to fit into the fox ;-) ) and calculate the offset using the most accurate system. I have also inserted 5 time server so that the system can retry on a different one if there is no answer. The new interface will look like this:
 To upgrade your appliance you have to follow this steps:
1- Download and unzip the patch; 2- using FTP or SCP copy the whole folder “zoneinfo” into /mnt/flash/ (username: root password: pass); 3- copy the file “timezone_select.js” into /mnt/flash/root/source/; 4- replace the file “syncdate.php” in /mnt/flash/root/source/ with this one.
| | | 1) Is the PHP code obfuscated on the SMS FoxBox? NO, SMS FoxBox is open for customization, so you can freely edit all the code of the GUI to fit your needs.
2) How can I write SMS FoxBox "plugin" for my work? You can use BASH scripting, C or PHP. If you need, you can look at the tutorial section.
3) How about costs and performance of sending and receiving? If you send a few SMS each hour, the SMS FoxBox is the best solution for you to build a very stable SMS Gateway. But if you send thousands of SMS each hour you have to consider to use a SMSC large account that is supported by the FoxBox. When you send a message with SMS FoxBox, you have to pay exactly the same price as when you send it with your mobile. Most Phone Network Providers take a fixed price per SMS, and also offer tariff options to lower the price. You can save a lot of money by selecting the right tariff for your SIM cards. SMS FoxBox works with a classic SIM, so the carrier availability/traffic can obviously affect performances. I can give you peak measures:
INCOMING MESSAGES: more than 30/min OUTGOING MESSAGES: 20/min
The system does not work as KANNEL (famous open source SMS gateway that uses AT+CNMI indicator for the incoming notification), SMS FoxBox use in first place the carrier, then the SIM memory as buffer, so it can retrieve lot of parallel messages!!! | |
|