Huge thanks to Joshua Colp for mirroring services

Playing with Jabber and Jingle

Share on Twitter Digg this story Click to view a printable version Sat, 5 Aug 2006 12:53:50 -0300

I have been using the Jabber and Jingle additions in the SVN Trunk version of Asterisk and have come up with a couple of cool ideas.

Basically, you can call your Asterisk server from GoogleTalk, and it can send you the status of a few of your other servers.

All you have to do is set up an account in jingle.conf, i.e.:

[voipproducts]
username=voipproducts@gmail.com
disallow=all
allow=ulaw
context=checkStatus
connection=asterisk

Where voipproducts@gmail.com is my googleTalk address (the one I will be calling from).

Then set up a few simple accounts in iax.conf, i.e.:

[fv2fv1]
type=friend
host=freevoip.gedameurope.com
secret=mysecret
qualify=yes

where freevoip.gedameurope.com is the host I want to monitor.

Then add a bit of extensions.conf:

[checkStatus]
exten => s,1,NoOp(Incoming Call from VoIPProducts@gmail.com)
exten => s,2,JABBERSend(asterisk,voipproducts@gmail.com,freevoip.gedameurope.com status is ${IAXPEER(fv2fv1:status)})

Then reload.

Assuming you have set up Asterisk to appear as a google talk contact, all you then have to do is call Asterisk (in my case using my VoIPProducts@gmail.com address), it will send the call to checkStatus and then reply with the IAX2 ping time in a message!

Cool yeah?


You haven't voted yet! Vote:
Current Rating: 0/10 (0 votes)

Comments (Click to post)

Comments
Name:
Subject:
Website:
Message: 

Similar Articles (Based on Title)

Jabber About Jingle In Chicago - June 2, 2006
Anthm has posted details of the inclusion of a discussion on Jingle at ClueCon.

Asterisk and XMPP Jingle - testers needed - December 3, 2009
Philippe Sultan has posted a request for testers for using Jabber as a softphone.

Perx starts new Asterisk Blog, Reports on playing native file formats for Music On Hold - November 12, 2004
Perx posted a note to the wiki today about his blog entry for getting music on hold to use native file formats. This is also a new blog, so worth checking out!

Playing PodCasts using Asterisk - July 28, 2006
I have uploaded my PodCast hack to the wiki. It works for me, it may need a bit of work for your environment.

*-Dev: Show incoming number via jabber - March 14, 2005
-mat- filid brandy has posted his PHP script for Jabber/Asterisk integration

Manager events on Jabber Messages - August 6, 2006
I have just submitted a two line patch to allow applications which talk with the manager to be notified on JabberMessages via a new event, JabberEvent.

My Jabber patches have been accepted to SVN Trunk - August 8, 2006
I wrote a couple of small patches to add manager usage of Jabber to mogormans code.

Google Talk XMPP and Jabber Integration - January 13, 2008
Olle has written a new article about Asterisk 1.4s Jabber integration.

Interview With Flash Operator Panel Developer - September 19, 2004
Interview with Nicolas Gudino, the author of the Flash Operator Panel for Asterisk.

Interview With FreeBSD Developer - September 21, 2004
Interview With Dr Rich Murphy of FreeBSD and Asterisk FreeBSD fame

Link: Article with Asterisk running home server - October 2, 2004
Running a Wireless network in your neighbourhood with Asterisk terminating VOIP calls.

Asterisk-Users: Request for IAX debug session transcript with IAXy - October 11, 2004
Held needed getting IAXy debug's for phone manufacturer's implementation of IAX


Original Content (C) 2004-2010 Matt Riddell
Back 5  Feed Add
to
Google Subscribe with Bloglines
Go to today

Icons by: FastIcon.com


Back to life
July 21, 2010 Average Vote: 10
Hey all - I am back online after some pretty big projects which have taken all my time. Will be updating the Asterisk news over the next few days.

Nerd Vittles: Building a Bluetooth Proximity Detection System with Asterisk
December 12, 2005 Average Vote: 10
The Nerd Vittles site has an article on proximity detection using Asterisk and a TomTom GPS

Automated Testing Update
July 30, 2010 Average Vote: 10
Russell Bryant has posted details of a new mailing list for automated testing of Asterisk and some information on the progress that has been made. There is no way to say how important I think this work is. It really makes a huge difference to Asterisk and the ability to use it in an enterprise environment. Really great work.

VoIP-Info: FFasterisk Video file converter
August 25, 2006 Average Vote: 10
The wiki has a link to a new piece of software for converting video to the format required for Asterisk.

Code Review: SRTP support for Asterisk
March 12, 2009 Average Vote: 10
Terry Wilson has moved his SRTP branch onto the Digium review board.

HumBug - Pre BETA Launch Registration
July 27, 2010 Average Vote: 10
Nir Simionovich has posted details of the beta of the new call analytics service.

Interview with BKW_
December 7, 2004 Average Vote: 10
We've finally completed our interview with BKW. Hope you like! :-)

SlashDot: GSM and Asterisk Integration
August 21, 2005 Average Vote: 10
There is a post up on SlashDot which talks about using cellphones with Asterisk.

Interview with Mark Spencer
November 26, 2004 Average Vote: 9.9
We have managed to get an interview with Mark Spencer AKA Markster. Mark Spencer is the creator of Asterisk and by far the most active developer.

Asterisk and Kamailio realtime integration tutorial
May 24, 2010 Average Vote: 9.9
Daniel-Constantin Mierla has posted a link to a tutorial on integrating Asterisk and Kamailio using realtime.

Asterisk IPv6 update
February 1, 2010 Average Vote: 9.8
Olle has posted an update on IPV6 in Asterisk and a link to a blog post of his.

Proposal for T.38 transparent gateway design in Asterisk
April 29, 2010 Average Vote: 9.8
Kevin Fleming has posted a proposed design for a transparent T.38 gateway for Asterisk:

Asterisk Monitoring with iPhone and iPod touch
February 12, 2010 Average Vote: 9.7
For the past couple of weeks I have been working on an app that allows you to monitor and restart Asterisk servers.

Monitoring Asterisk with Munin
January 7, 2010 Average Vote: 9.7
I had a few requests for these munin plugins after some discussion on one of the Asterisk lists and thought people might like them.

New Zealand Asterisk Voices
March 2, 2006 Average Vote: 9.7
Chris Hodgetts has posted details of recordings of Asterisk Sounds with a New Zealand accent.


Automated Testing Update
July 30, 2010
Russell Bryant has posted details of a new mailing list for automated testing of Asterisk and some information on the progress that has been made. There is no way to say how important I think this work is. It really makes a huge difference to Asterisk and the ability to use it in an enterprise environment. Really great work.

Asterisk 1.8.0-beta2 Now Available
July 28, 2010
The Asterisk Development Team has announced the release of Asterisk 1.8.0-beta2.

HumBug - Pre BETA Launch Registration
July 27, 2010
Nir Simionovich has posted details of the beta of the new call analytics service.

Branch Merging Changes
July 26, 2010
Russell Bryant has posted details of some changes to the way developers need to commit code to Asterisk because of the newly released 1.8 branch.

Asterisk 1.8.0-beta1 is Now Available
July 26, 2010
The Asterisk Development Team has announced the release of Asterisk 1.8.0-beta1. This release marks the beginning of the testing process for the eventual release of Asterisk 1.8.0.

Asterisk 1.6.2.10 Now Available
July 26, 2010
The Asterisk Development Team has announced the release of Asterisk 1.6.2.10.

Asterisk 1.4.34 Now Available
July 26, 2010
The Asterisk Development Team has announced the release of Asterisk 1.4.34.

AppleRaisin - AstDB over realtime
July 23, 2010
Olle has posted a note about his awesome AppleRaisin branch which provides the ability to store AstDB in realtime. This would make for a much simpler failover and clustering situation.

QueueMetrics 1.6.1 released
July 22, 2010
Lenz has posted a note to inform us that QueueMetrics version 1.6.1 has been released. This release offers a large number of bug fixes, misc improvements and new developements including hotdesking.

Asterisk 1.8 Branch Creation
July 22, 2010
Russell Bryant has posted a note to inform us of the creation of the 1.8 branch of Asterisk.