[asterisk-bugs] [Asterisk 0000464]: [patch] Campon feature
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Oct 26 06:18:09 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=464
======================================================================
Reported By: pliew
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 464
Category: Applications/app_queue
Reproducibility: always
Severity: feature
Priority: normal
Status: closed
Asterisk Version: SVN
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: no change required
Fixed in Version:
======================================================================
Date Submitted: 2003-10-30 04:46 CST
Last Modified: 2010-10-26 06:18 CDT
======================================================================
Summary: [patch] Campon feature
Description:
Allows ability to camp-on a caller with MOH, when the extension is busy.
Caller can break out of camp-on by pressing 1 or 2. Drops back onto the
dialplan with different priority. I've put it here because I modified the
app_queue file to provide this functionality.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0000509 [patch] New application app_campon
======================================================================
----------------------------------------------------------------------
(0128399) alecdavis (manager) - 2010-10-26 06:18
https://issues.asterisk.org/view.php?id=464#c128399
----------------------------------------------------------------------
uploaded campon-1.6.2-diff2.txt
<u><b>queues.conf:</b></u>
[campon]
timeout = 15
ringinuse = no
periodic-announce-frequency = 15
periodic-announce = campon-repeat
context = campon-exit
<u><b>extensions.conf:</b>(edited for simplicity)</u>
....
[macro-dial]
exten => s,1, ...get {devices} {timeout} from database etc
exten => s,n,Set(EXTSTATE=${EXTENSION_STATE(${ARG1}@context)})
exten => s,n,GotoIf($["${EXTSTATE}"="NOT_INUSE"]?dialmult)
exten => s,n,GotoIf($["${EXTSTATE}"="UNKNOWN"]?dialmult)
exten => s,n,Set(EXTCAMPON=${ARG1})
exten => s,n,Campon(${devices})
exten => s,n,Set(EXTCAMPON=${ARG1})
exten => s,n,Campon(${devices})
exten => s,n(dialmult),Dial(${devices},${timeout},r)
[campon-exit]
exten => 0,1,NoOp(1 pressed)
exten => 0,n,Goto(phones,8000,1)
exten => 1,1,NoOp(1 pressed)
exten => 1,n,Voicemail(${EXTCAMPON},u)
exten => 1,n,Hangup()
Issue History
Date Modified Username Field Change
======================================================================
2010-10-26 06:18 alecdavis Note Added: 0128399
======================================================================
More information about the asterisk-bugs
mailing list