Tag Archives: digium

Skype for Asterisk with Elastix

I was about to write a blog post about setting up Skype for Asterisk on Elastix but after searching round on the web I found this great blog post by ‘Bob’ on the Elastix website.

It gives a good walkthrough and screenshots for getting Skype for Asterisk from Digium up and running.

If you do want to install this on your Sysadminman Elastix VPS just open a support ticket first asking for an ├ęth0’device to be setup as you’ll need this for the Digium registration process

Skype for Asterisk testing with FreePBX

THIS TEST SERVER HAS NOW BEEN TAKEN OFF-LINE

I downloaded the Skype For Asterisk beta today from Digium. I think tomorrow (7/8/09) is the last day to sign up for the beta but the license you receive is valid until 31/8/09.

So far I’ve just been testing inbound calls, that is calls from a Skype user in to an Asterisk system

Please, give it a go yourself – my Skype user ID is *** and the call goes to an IVR

It was pretty easy to install the software, there are detailed instructions that come with it.

If you use FreePBX and put the Skype calls through to the correct context you can create inbound routes based on the Skype user ID and route the calls as you would normally.

skype inbound route

Once the calls are fed into Asterisk they can be treated just as any other incoming call.

My test system routes the calls through to a FreePBX IVR with 4 options –

  • Press 1 for the Skype For Asterisk test conference
  • Press 2 for music on hold
  • Press 3 for echo test
  • Press 4 for the speaking clock

You need to make the dial pad visible in Skype so the you can select the options –

dialling asterisk from skype

The first option is a conference room and the Skype for Asterisk beta license allows up to 10 concurrent calls so if you’ve got some friends on Skype please give it a go and let me know in the comments below how it works!

The Asterisk server is running on a VPS based in the UK so the quality may vary depending where you are calling from.

The music-on-hold are MP3’s and came from here – http://www.onhold2go.co.uk/

Installing Digium g.729 codec for Asterisk on an OpenVZ VPS

Installing Digium’s g.729 codec for Asterisk on an OpenVZ VPS requires an Asterisk friendly VPS provider. This is because the installation routine relies on there being an ‘eth0’ device on the server. This is not normally the case with OpenVZ where the network device is called venet0.

An ‘eth0’ device can be created on the VPS by running the following command (this is done on the OpenVZ server) –
(see here for more information – http://wiki.openvz.org/Asterisk_G729)

vzctl set $VEID --netif_add eth0 --save

Continue reading