SipML5 WebRTC based SIP Integratin into HTML 5

The prospect of simply coding a SIP “Click To Call” type interface into your web site or App and having it just work on any advice is definitely still a dream presently. But if WebRTC and SipML5 continue to progress down their current paths, we may not be too far off.

sip ML 5 architecture

According to SipML5 

This is the world’s first open source HTML5 SIP client (May 12, 2012) entirely written in javascript for integration in social networks (FaceBook, Twitter, Google+), online games, e-commerce sites… No extension, plugin or gateway is needed. The media stack rely on WebRTC.

The technology however is still in its infancy and deploying it in the wild would require users to be using some bleeding edge browsers. There is some differences in the data from the projects, with SipML5 stating that you need to be running firefox nightlies, while WebRTC says the stable versions are ready. Also if you want to use it with say, Asterisk, get ready to set up a testing VM to recompile.

Screen shot 2013-12-17 at 8.54.22 AM

Go Ahead and experiment, develop a cool click to call code snippet or widget for WordPress and I’d love to use it. For now I’m still looking for a good FOSS solution for this application.

Using Dell OpenManage on Centos

 

I’m sure that Dell DVD that comes with the OS – Free server you bought from dell works great if you are using RHEL but if you want to use some sort of Centos distro like Elastix and want to monitor your server you are SOL until you do a little SSH.

The Barebones Dell I got has a hardware RAID controller, but for real, like there is not eve a light or a beep or anything that goes down when a drive fails unless you are running their Openmanage software.

Step 1, blindly trust dell by piping a remote script into bash and potentially backdooring your system with whatever they want

http://linux.dell.com/wiki/index.php/Repository/hardware

from bash as root

 

wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash

This is ugly as hell, but will install the Dell Repo and let you execute:

 

# yum install srvadmin-all

# /opt/dell/srvadmin/sbin/srvadmin-services.sh start

 

Now, preemptively make a little script in your /usr/local/bin/ directory called

om_alert.sh

#!/bin/sh
HOST="descriptive server name"
EMAIL="you@you.com"
echo "Dell OpenManage ALERT detected on $HOST. Login Now at Port 1311" | mail $EMAIL -s "OM Alert $HOST"

 

then

 

chmod +x om_alert.sh

 

Now send all openmange alerts to your email: thanks to Gavin Burris

# for I in `omconfig system alertaction | sed 's/ *(.*)//; s/>.*//; s/.*[:<] *// ; s/|/ /g;'`; do 
echo $I; 
omconfig system alertaction event=$I alert=true broadcast=true execappath="/usr/local/bin/om-alert.sh"
done

 

Now you can login from any computer using your root login/pswd at:

 

https://serverip:1311

 

Please note, and this took a bit of figuring. If your root password has special characters (mine had an ampersand) it may not work in openmanage. I had to change it and then could log in fine. I reported this bug to dell and will hold breath until fixed.