By Leif Madsen, Russell Bryant

Asterisk has a wealth of beneficial properties that can assist you customise your PBX to fill very particular enterprise wishes. This brief cookbook bargains recipes for tackling dialplan basics, making and controlling calls, and tracking channels on your PBX surroundings. every one recipe contains a easy code answer you could placed to paintings instantly, besides a close dialogue that gives perception into why and the way the recipe works.

This e-book makes a speciality of Asterisk 1.8, even if some of the conventions and data offered are version-agnostic. those recipes comprise ideas that will help you:
* Authenticate callers ahead of relocating on on your dialplan
* Redirect calls got by way of your auto-attendant
* Create an automated call-back carrier
* start up hot-desking to login to and settle for calls at any workplace gadget
* video display and interrupt reside calls to coach new staff at a decision middle
* list calls out of your Asterisk dialplan

Show description

Read or Download Asterisk Cookbook PDF

Best Data In The Enterprise books

Tubes: A Journey to the Center of the Internet

“Andrew Blum plunges into the unseen yet genuine ether of the net in a trip either compelling and profound…. you'll by no means open an e mail in rather an analogous manner back. ”—Tom Vanderbilt, manhattan occasions bestselling writer of TrafficIn Tubes, Andrew Blum, a correspondent at stressed journal, takes us on an interesting, totally attention-grabbing journey backstage of our daily lives and divulges the darkish beating center of the web itself.

OSI Reference Model for Telecommunications

The OSI (Open method Interconnection) reference version is the root of contemporary facts community layout, however it underlines the general public switched mobilephone community (PSTN) in addition. For voice engineers studying how you can ship providers over facts networks, and for net engineers studying tips to faucet into the PSTN, the OSI version is a perfect aspect of reference.

IP Location

Finished assurance of the leap forward expertise which may locate a person or Anything--AnywhereIn contemporary immense global of worldwide trade with clients which are extra nomadic than ever, the necessity for trustworthy, safe, and effective entry applied sciences is speedily expanding. IP situation offers you a guided journey of position choice, tackling this new know-how head on and addressing all facets of place administration, supply, and conveyance inside of IP networks.

Bluetooth Revealed: The Insider's Guide to an Open Specification for Global Wireless Communications (2nd Edition)

Written through key individuals to the specification, Bluetooth printed, moment variation bargains an in-depth, insider's view of the recent Bluetooth 1. 1 typical and protocols: an important details for enforcing Bluetooth strategies now. New, in-depth assurance contains: interoperability improvements, Bluetooth qualification, Bluetooth and 802.

Additional info for Asterisk Cookbook

Show sample text content

While the FollowMe() software executes, it will load the checklist of mobilephone numbers that have been configured in followme. conf and dial them within the order they have been certain. whilst one of many outbound calls is spoke back, a recommended might be performed soliciting for that the decision be stated through urgent a key. one of many major purposes for requiring acknowledgment is that it guarantees that if the decision is responded via voicemail that FollowMe() maintains and attempts different numbers. See additionally There are a few extra strategies to be had within the followme. conf dossier, yet they're hardly used. for additional info at the present set of accessible innovations, see configs/ 26 | bankruptcy 2: Call keep an eye on followme. conf. pattern within the Asterisk resource. For a few additional info concerning the syntax of FollowMe() within the dialplan, payment the documentation inbuilt to Asterisk: *CLI> center convey software FollowMe when you are attracted to construction related performance at once within the dialplan, see Recipe 2. 7. 2. 7 construction Find-Me-Follow-Me within the Dialplan challenge you need to enforce find-me-follow-me within the Asterisk dialplan. answer [public_extensions] ; ; locate Russell. ; exten => 7001,1,Progress() similar => n,Playback(followme/pls-hold-while-try,noanswer) similar => n,Dial(Local/7101@trusted,20,rU(ackcall^s^1)) similar => n,Dial(Local/12565551212@trusted,20,rU(ackcall^s^1)) related => n,Playback(followme/sorry,noanswer) related => n,Hangup() ; ; locate Leif. ; exten => 7002,1,Progress() similar => n,Playback(followme/pls-hold-while-try,noanswer) similar => n,Dial(Local/7102@trusted,20,rU(ackcall^s^1)) comparable => n,Dial(Local/12565559898@trusted,20,rU(ackcall^s^1)) related => n,Playback(followme/sorry,noanswer) comparable => n,Hangup() [trusted] exten => 7101,1,Dial(SIP/russell_desk) exten => 7102,1,Dial(SIP/leif_desk) exten => _1NXXNXXXXXX,1,Dial(SIP/${NUMBER}@outbound_provider) [ackcall] exten => s,1,Background(followme/no-recording&followme/options) related => n,WaitExten(5) related => n,Set(GOSUB_RESULT=BUSY) exten => 1,1,NoOp() 2. 7 development Find-Me-Follow-Me within the Dialplan | 27 exten => 2,1,Set(GOSUB_RESULT=BUSY) exten => i,1,Set(GOSUB_RESULT=BUSY) dialogue this instance implements an identical performance supplied by way of the FollowMe() program proven in Recipe 2. 6. an important distinction is if you need to tweak any of the habit, it truly is a lot more straightforward to take action within the Asterisk dialplan rather than enhancing the C code of the FollowMe() program. here's what occurs while anyone dials 7001 to arrive Russell: exten => 7001,1,Progress() The Progress() software is used for telephony signaling. we don't are looking to solution the decision but, yet we wish to commence taking part in audio. this can be known as early media in a telephone name. using Progress() within the dialplan maps to sending a 183 consultation development request in SIP: similar => n,Playback(followme/pls-hold-while-try,noanswer) Now that we have got informed the calling channel to count on early media, we'll play a recommended with out answering the decision. This instructed says “Please carry whereas i attempt to find the individual you're calling”: comparable => n,Dial(Local/7102@trusted,20,rU(ackcall^s^1)) there's a lot packed into this line.

Rated 4.98 of 5 – based on 43 votes