[asterisk-bugs] [Asterisk 0017374]: Poor man's find-me/follow-me dialplan implementation
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue May 25 22:06:41 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: feedback
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 22:06 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})
======================================================================
----------------------------------------------------------------------
(0122461) pprindeville (reporter) - 2010-05-25 22:06
https://issues.asterisk.org/view.php?id=17374#c122461
----------------------------------------------------------------------
Well, the problem with "blog posts" is they quickly get out of phase with
the current release. If you go on voip-info.org for instance, the SLA
examples are for Asterisk 1.2.
This is exactly what I'm trying to avoid.
What about creating a subdirectory configs/extensions/ and then
extensions.conf.sample could include fragmentized examples from there?
As for "showing functionality", that's exactly what I was trying to show:
how to use the Local/ channel. I figured the example might as well do
something useful.
Issue History
Date Modified Username Field Change
======================================================================
2010-05-25 22:06 pprindeville Note Added: 0122461
======================================================================
More information about the asterisk-bugs
mailing list