Asterisk as a video soft phone

Asterisk trunk recently got a pretty cool new feature. You can now use Asterisk as a highly configurable video soft phone. The commit to trunk is here.

The way it works is pretty neat. Asterisk already had a couple of console channel drivers: chan_oss and chan_alsa. These channel drivers allow you to use a local OSS or ALSA sound device as an endpoint for a call. These interfaces are commonly used to interface with overhead paging systems. They are also commonly used by people to use Asterisk as an extremely powerful soft phone.

Now, Asterisk as a softphone just got a lot cooler.

The OSS console channel driver, chan_oss, now has video support. This means that you can make video calls from the Asterisk CLI. For the video source, you currently have a couple of options. The first is to use a webcam. The second, which I find quite interesting, is you can use an X11 screen grabber. That means you can have a section of your local display that gets captured and sent along as the video stream.

There is also a “skinnable” dialpad for use as a graphical softphone interface for dialing.

The code uses libavcodec from ffmpeg for video transcoding. As the commit message states, it currently supports h261, h263, h263+, h264, and mpeg4.

Many thanks to Luigi Rizzo, Sergio Fadda, and Marta Carbone for the great new feature!

6 thoughts on “Asterisk as a video soft phone

  1. Pingback: myAsterisk.co.nz » Video Calling Over Asterisk

  2. Pingback: More Work on Asterisk as a Softphone … Inside Firefox?!

  3. Pingback: SIPFree - Las Comunicaciones del futuro » Blog Archive » Asterisk : Nuevas posibilidades de integracion de Sofphones directamente de Firefox

  4. Pingback: Múltiples fuentes de video para chan_oss at Mi Brain-Training Personal

  5. Can we run high resolution video over asterisk (800×600 and higher) using video phone or softphone with webcam or h264 cameras?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.