[asterisk-bugs] [Asterisk 0017374]: Poor man's find-me/follow-me dialplan implementation

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 25 13:07:32 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17374 
====================================================================== 
Reported By:                pprindeville
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17374
Category:                   Documentation
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.7 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-05-21 19:12 CDT
Last Modified:              2010-05-25 13:07 CDT
====================================================================== 
Summary:                    Poor man's find-me/follow-me dialplan implementation
Description: 
Yes, you can use the app_followme, but sometimes you want to be able to
have finer levels of control over things yourself via the dialplan.

Here's an example of a simple FM/FM using the Local/ channel:

TRUNK=SIP/sip_proxy-out
...
CELL=${TRUNK}/2085551212
FM_CELL=Local/${CUT($CELL,/,3)}@follow-me
FM_DELAY=8
...
; list of extensions to dial for Philip
PHILIP=SIP/office_2&SIP/kitchen_1&${FM_CELL}
...
[redfish-extens]
...
exten => 111,1,NoOp(Exten: ${EXTEN})
same => n,Gosub(${EXTEN},stdexten(${PHILIP},redfish))
same => n,Goto(s,exten)
...
[follow-me]
exten => _NXXXXXXXXX,1,NoOp(Follow-me: ${EXTEN} From: ${CALLERID(num)})
same => n,Wait(${GLOBAL(FM_DELAY)})
same => n,Dial(${GLOBAL(TRUNK)}/${EXTEN})


====================================================================== 

---------------------------------------------------------------------- 
 (0122417) lmadsen (administrator) - 2010-05-25 13:07
 https://issues.asterisk.org/view.php?id=17374#c122417 
---------------------------------------------------------------------- 
This really feels like something better implemented as a blog post or
perhaps a recipe here: 
http://etel.wiki.oreilly.com/wiki/index.php/Main_Page

I don't want to see the extensions.conf file getting made into a "how to
do everything you could do in dialplan" file. Examples should be showing
functionality of how to use a specific feature or application, but not how
to build prototypes of functionality.

If you want to do that, then you could build a TeX document that gets used
by the PDF and text file generation from doc/tex/ 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-25 13:07 lmadsen        Note Added: 0122417                          
======================================================================




More information about the asterisk-bugs mailing list