If you have Windows machines and would like to send people messages when a call is coming in for them, you can use the following macro:
[macro-stdexten]
;
; Standard extension macro:
; ${ARG1} - Mailbox
; ${ARG2} - Device(s) to ring
; ${ARG3} - Who the call is for
; ${ARG4} - The smb address to send a winpop message to
;
; **THE FOLLOWING LINE IS SUPPOSED TO BE ONE LINE**
exten => s,1,System(/bin/echo -e 'Incoming Call From: ${CALLERIDNUM} To:${ARG3} Received: ${DATETIME:0:2}/${DATETIME:3:2}/${DATETIME:4:4} at ${DATETIME:9}'|/usr/bin/smbclient -M ${ARG4})
exten => s,2,Dial(${ARG2},40,m)
exten => s,3,Voicemail(u${ARG1})
exten => s,4,Goto(default,s,1)
exten => s,103,Voicemail(b${ARG1})
An example of it's use would be
exten => 277906,1,macro(stdexten|4|ZAP/3r2|FWD - 277906|Zx81_windesk)
That means:
when 277906 is dialed, run the stdexten macro, pass 4 as the mailbox, Zap/3r2 as the channel to ring, FWD - 277906 as the destination (i.e. someone dialed that to get here) and Zx81_windesk as the SMB hostname.
The SMB hostname is the computer name of your computer under windows networking.
You will also need to run winpopup on the console.
The idea was originally proposed by Thomas Hutton on the Asterisk-users list.
Current Rating: 0/10 (0 votes) Similar Articles (Based on Title)CVS Update: Huge Callerid Rework - October 2, 2004 Many files have been changed for a rework of the callerid system in Asterisk.
Nerd Vittles: Asterisk CallerID on Steroids - February 9, 2006 Ward Mundy has posted details of how you can use outbound CallerID spoofing for good.
Asterisk CallerID Lookup Script - September 4, 2009 Konstantin Laufer has updated a script to look up callerid name from various sources.
*-Dev: Show incoming number via jabber - March 14, 2005 -mat- filid brandy has posted his PHP script for Jabber/Asterisk integration
*-Dev: AGI via Asterisk Manager API - March 18, 2005 David Pollak has posted details of a method to run AGI commands through the manager interface.
Subscribe to RSS Feed Via Email - August 29, 2006 With the help of feedburner we have added the ability to receive updates on the Daily Asterisk News via email. We also have a new URL for the RSS feed.
chan_celliax, for managing cellphones via Asterisk - October 25, 2006 Giovanni Maruzzelli has posted details of the first release of chan_celliax.
New Tutorial: Asterisk on EPIA VIA C3 - March 31, 2008 Lenz has posted details of a new tutorial he has written.
Support for distributing device state and MWI via XMPP PubSub - October 12, 2009 Leif Madsen has posted a note asking for testers of his PubSub branch.
Astricon and Asterisk Gets Slashdotted - September 24, 2004 Slashdot has posted an article on the release of version 1.0 of Asterisk
Fedora Core 1 and 2 RPMs - September 28, 2004 Joshua M. Thompson has release RPM versions of Asterisk 1.0 for Fedora Core 1 and 2.
Asterisk-Dev: Axra and French Say TTS - October 6, 2004 Eric Bart posted detail of the axra framework.
Original Content (C) 2004-2010
Matt Riddell

Icons by: FastIcon.com
|
AstriDevCon: October 29th, Washington DC August 23, 2010 Average Vote: 10
John Todd has posted a note about the AstriDevCon conference which occurs within the Astricon conference.
Code Review: SRTP support for Asterisk March 12, 2009 Average Vote: 10
Terry Wilson has moved his SRTP branch onto the Digium review board.
The Everything Asterisk Video Collection August 5, 2010 Average Vote: 10
Steven Sokol has posted a blog entry on Asterisk Video Resources.
Voip-Forum: Lots of new articles March 12, 2005 Average Vote: 10
Oej's Voip-Forum.com site has posted lots of new news articles while I've been away. Hopefully you found them via the asterisk-docs site. If not I've bookmarked them for you.
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 and Kamailio (openser) realtime integration August 5, 2010 Average Vote: 9.8
Daniel-Constantin Mierla posted a writeup on combining Asterisk and Kamailio.
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:
Back to life July 21, 2010 Average Vote: 9.8
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.
Announcing Adhearsion 0.8.5 August 25, 2010 Average Vote: 9.8
Ben Klang has posted a note about the latest release of Adhearsion - a framework for developing Asterisk based solutions using Ruby.
app_swift v2.0 released July 21, 2010 Average Vote: 9.8
Like a few of these news stories that I will be posting over the next couple of days this is a little old - hope it is not something you have already seen. This one is for a new version of the app_swift text-to-speech module for Asterisk 1.2, 1.4, and 1.6.
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.
GUI changes from Trixbox, FreePBX, 2600hz, BlueBox September 1, 2010 Average Vote: 9.7
Ok, bear with me on this one. If you understand all the ramifications, FreePBX has split to a new project called BlueBox contained within the 2600hz project. This obviously has implications for Trixbox that uses FreePBX to provide quite a bit of functionality.
Nerd Vittles: Finally... Installing Asterisk at Home on Your Windows PC February 9, 2006 Average Vote: 9.7
Ward Mundy has posted details of a how to for installing Asterisk at Home on a windows machine without removing windows.
libpri 1.4.11.4 Now Available September 3, 2010 The Asterisk Development Team has announced the release of libpri 1.4.11.4.
New CDR Stats Package September 1, 2010 This one has been a long time coming. A new CDR stats package from Star2Billing to replace the 7 year old stalwart for viewing Asterisk call detail records.
GUI changes from Trixbox, FreePBX, 2600hz, BlueBox September 1, 2010 Ok, bear with me on this one. If you understand all the ramifications, FreePBX has split to a new project called BlueBox contained within the 2600hz project. This obviously has implications for Trixbox that uses FreePBX to provide quite a bit of functionality.
RazorQuotePBP Asterisk Payment Module August 31, 2010 RazorQuote has sent us a press release about the launch of RazorQuotePBP, a native Asterisk module that allows any Asterisk connected device to accept credit card payments.
CloudVox: Install an open source Asterisk phone app and get 250 dollars August 30, 2010 CloudVox is running a competition for people to receive 250 dollars for writing up some documentation for Open Source applications on CloudVox - first in first served.
AstriCon approaches August 25, 2010 John Todd has posted a note about the upcoming AstriCon conference in Washington, DC, and the innovation awards.
Announcing Adhearsion 0.8.5 August 25, 2010 Ben Klang has posted a note about the latest release of Adhearsion - a framework for developing Asterisk based solutions using Ruby.
Asterisk 1.8.0-beta4 Now Available August 25, 2010 The Asterisk Development Team has announced the release of Asterisk 1.8.0-beta4.
AstriDevCon: October 29th, Washington DC August 23, 2010 John Todd has posted a note about the AstriDevCon conference which occurs within the Astricon conference.
The XV Commandments of IVR August 17, 2010 An update on the 15 tips for creating effective IVR systems by Allison Smith - the Voice of Asterisk.
|