Tag Archives: asterisk

Success on the BGAN from Masaya Volcano…

Screensnap image of Paul on video and audio

Paul live from the volcano on VoIP phone and streaming video (video capture from screen)

Yesterday we successfully connected to Paul at the volcano using the BGAN satellite link. The following set of (five) posts will try to cover the tests we carried out, these include:

These findings made the whole trip worth while. We now know that we can connect across the world and transfer live photo, video and VoIP data to give anyone on the Internet remote access to field locations.

Getting audio contact

Screensnap image of Twinkle VoIP client connecting SIP call to Nicaragua.

The Twinkle VoIP client connecting a SIP call from the OU to Paul in Nicaragua (7.5MB Video - click to view). (video capture from screen)

The attached video shows the point at which we got our first audio contact at the Volcano. At this point the video was running at a quarter PAL resoluction (160 x 120 pixels) at five frames per second and a contstant bit rate of 200 Kbps.

Having done our usual set of ping and iperf tests on the BGAN connection at the Volcano, we tried accessing the webserver and downloading a photo (see post on ‘Photo downloads with and without audio’). All was going well so next we looked at accessing the live video stream. We started with the lowest frame size and frame rate and explored a range of settings (see post on ‘Video resolution configurations’). Part way through these we started a VoIP call (which ran for the reminder of the tests – 27 minutes).

Video and audio synchronisation

A screensnap image of Paul counting on his fingers.

A video of Paul counting down from five to one on his fingers - the audio and video are quite well synchronised (1.5MB Video).(video capture from screen)

To test how the audio and video streams are performing we do a simple five-finger test. This involves counting down from five to one using your fingers. The idea behind it is simple – the audio and video streams are being run but different processes so they can lag or get out of sync – in fact we might expect this to happen as different encoding algorithms are being used to process the audio and video data. However, as you can see from the attached video they seem to be in sync, this makes conversation a lot easier. Paul’s video camera is running at half PAL (320 x 240 pixels) and 5 frames per second, with a constant bit rate of 200Kbps.

Video resolution configurations

Screensnap image showing this blog page post of video streams at varying resolutions and frame rates.

Live video streams at varying resolutions and frame rates. (video capture from screen)

We’ve used quite a few different video resolutions and a couple of frame rates. In all cases we’ve kept a constant bit rate of 200Kbps – Richard at callmonitor.com recommended this setting and it has served us well. Higher bit rates are probably possible, but we’re using a ‘Standard’ BGAN data link configuration (rather than one of the Streaming configurations) so we don’t really want to push our luck. The following two sets of clips show the performance we had for video at different camera settings. The first set show Paul in front of the camera with a flag, the second set show the points where we made the video link after changing the camera settings. In both cases the smoothness of the video relates to the camera’s frame rate and the clarify of the image relates to the camera’s resolution.

Continue reading

Photos and some Skype over the BGAN from Masaya Volcano

Video screen clip of photos downloading over the BGAn link

Photo download video clip (5.4MB) - showing the time taken to download a new thumbnail page and a new photo.

On Saturday Paul went back up to Masaya volcano for a couple of hours in the morning. Again we used the BGAN terminal to connect to the Internet. As before, we used Skype text chat throughout as our back channel for communication. The Ricoh WiFi camera worked well for taking pictures and sending them over the local WiFi network to the Asus server, where I could then access them from the UK. This time I managed to get a video of the process to show the performance of the service (see clip). The thumbnail images came down in about 11 seconds and a full picture took about 23 seconds. This is certainly usable for getting live photos from the field.

Continue reading

Asterisk running peer to user

IAX Dual Server web page image

IAx Dual Server - Peer to User configuration for registering an Asterisk server with a dynamic IP with a static IP Asterisk server.

We’ve been developing VoIP support for ERA in the Portable VoWLAN Project (funded by JISC). JANET, through their Portable WLAN Programme, are helping us to investigate backhaul links so that our field students could access resources over the internet.

We’ve recently been using IAX2 to connect two Asterisk servers. Initially, the two Asterisk machines were on fixed IP addresses and all was working well. However, we wanted to arrange things so that one of the servers could be running on a netbook and connecting to the internet with a dynamic IP address (either through ADSL, a 3G mobile broadband connection, or a satellite link).

After a little hunting we came across the Asterisk – dual servers page on the voip-info.org wiki. Following their guidelines for users and peers we now have a (dynamic IP) field site Asterisk server that can connect and register with our (fixed IP) base server. Now anyone in the field can talk to anyone on the OU network.

Continue reading