In another terrific example of open source development at its finest, Claudio Pizzillo has released the beta of his Hospitality Management System for PBX in a Flash systems. Features of the Asterisk® hotel management system include:

  • Rooms inventory management with bulk FreePBX extension import
  • Call management by prefix with per minute and fixed rates
  • Check-In and Check-Out with associated actions
  • Billing with search by dates and/or by rooms with call detail
  • Integrated with Hotel wake-up module with web interface
  • Removal of voicemails and wake-ups on room check-out

Prerequisites. If you're using a PBX in a Flash system, you have all the pieces you'll need to get the Hospitality Management System working. If not, you'll need a LAMP-based Asterisk system with Apache, FreePBX, MySQL, and PHP that's configured to match PBX in a Flash aggregation.

Installation. To install the beta, log into your server as root and issue the following commands:

cd /var/www/html
wget http://www.kefa.it/hotel.tar.gz
tar zxvf hotel.tar.gz
rm hotel.tar.gz
cd hotel
chmod 775 loadmysql.sh
./loadmysql.sh

Next, edit /etc/asterisk/extensions_custom.conf and add the following code at the top of the [from-internal-custom] context. NOTE: This code forces all outbound calls to be routed to the receptionist extension unless the room/extension number is occupied. Make two substitutions below. For MYPBX, replace it with the IP address of your Asterisk server. For RECEPTION, replace it with the extension number for your receptionist's phone.

exten => _X.,1,Set(result=${CURL(http://MYPBX/hotel/checkuser.php?Ext=${CALLERID(num)})})
exten => _X.,2,NoOp(Results: ${result})
exten => _X.,3,GotoIf($["${result}" = "OK"]?OK)
exten => _X.,4,GotoIf($["${result}" = "KO"]?KO)
exten => _X.,5(OK),Goto(outbound-allroutes,${DIAL},1)
exten => _X.,6,Hangup()
exten => _X.,7(KO),DIAL(SIP/RECEPTION)
exten => _X.,8,Hangup()

Remove the line-wrap between the first and second lines. Then save your changes to the file and reload your dialplan: asterisk -rx "dialplan reload"

Using the Hotel Management System. To use the application, use a web browser pointed to the actual IP address of your server: http://serverIP/hotel/. The web interface is self-explanatory. If you need additional assistance, post your questions and suggestions on the PBX in a Flash Forum. Enjoy!


Twitter Deals of the Week. The nation's premier provider of free directory assistance service, 1-800-FREE-411, now is offering free 5-minute phone calls to most destinations around the world. Just listen to two quick commercials and enjoy your free call. Thanks, @MichiganTelephone. And now you can send free SMS messages worldwide from your iPhone. Thanks, @TruVoIP.



Need help with Asterisk? Visit the PBX in a Flash Forum.
Or Try the New, Free PBX in a Flash Conference Bridge.


whos.amung.us If you're wondering what your fellow man is reading on Nerd Vittles these days, wonder no more. Visit our new whos.amung.us statistical web site and check out what's happening. It's a terrific resource both for us and for you.


 

Special Thanks to Our Generous Sponsors

FULL DISCLOSURE: RentPBX, Amazon, Skyetel, Vitelity, DigitalOcean, Vultr, Digium, Sangoma, 3CX, TelecomsXchange and others have provided financial support to Nerd Vittles and our open source projects through advertising, referral revenue, and/or merchandise. We’ve chosen these providers not the other way around. Our decisions are based upon their corporate reputation and the quality of their offerings and pricing. Our recommendations regarding technology are reached without regard to financial compensation except in situations in which comparable products at comparable pricing are available from multiple sources. In this limited case, we support our sponsors because our sponsors support us.

Skyetel $50 Free Trial: Enjoy state-of-the-art VoIP service with a $50 free trial and free number porting when you sign up for a Skyetel account. No restrictions on number of simultaneous calls, and triple data center redundancy assures that you never experience a failed call. Tutorial and sign up details available here.

Special Thanks to Vitelity. Vitelity is now Voyant Communications and has halted new registrations for the time being. Our special thanks to Vitelity for their unwavering financial support over many years and to the many Nerd Vittles readers who continue to enjoy the benefits of their service offerings. We will keep everyone posted on further developments.
 


Some Recent Nerd Vittles Articles of Interest...

Print Friendly, PDF & Email

Be Sociable, Share!

Tags: