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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 21 19:12:38 CDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
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-21 19:12 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})


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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-21 19:12 pprindeville   New Issue                                    
2010-05-21 19:12 pprindeville   Asterisk Version          => 1.6.2.7         
2010-05-21 19:12 pprindeville   Regression                => No              
2010-05-21 19:12 pprindeville   SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list