[asterisk-bugs] [Asterisk 0015792]: [patch] Unable to carry over application map functions from 1.4.24 to 1.4.26
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Oct 12 15:29:11 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15792
======================================================================
Reported By: ronb
Assigned To: mnicholson
======================================================================
Project: Asterisk
Issue ID: 15792
Category: Resources/res_features
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
Target Version: 1.4.28
Asterisk Version: SVN
JIRA: SWP-223
Regression: Yes
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-08-28 11:44 CDT
Last Modified: 2009-10-12 15:29 CDT
======================================================================
Summary: [patch] Unable to carry over application map
functions from 1.4.24 to 1.4.26
Description:
I am having a problem with applicationmaps/features in 1.4.26 that I wasn't
having in 1.4.24.1 Possibly something changed, or there is a configuration
problem but if that's the case, I haven't been able to see it.
Below I will document the relevant parts of the dialplan, as well as log
output from the two versions of asterisk.
What works in 1.4.24:
applicationmap function *75
automon (*8)
blindxfer (#)
What doesn't appear to work in 1.4.26:
all of the above.
extensions.conf:
[macro-stdexten]
exten = s,1,Set(__DYNAMIC_FEATURES=apps#automon)
exten = s,2,Set(DYNAMIC_FEATURES=apps#automon)
exten = s,3,Set(_DYNAMIC_FEATURES=apps#automon)
exten = s,4,GotoIf($["${FOLLOWME_${ARG1}}" = "1"]?7:5)
exten = s,5,Dial(${ARG2},${RINGTIME},${DIALOPTIONS})
exten = s,6,Goto(s-${DIALSTATUS},1)
exten = s,7,Macro(stdexten-followme,${ARG1},${ARG2})
exten = s-NOANSWER,1,Voicemail(${ARG1},u)
exten = s-NOANSWER,2,Goto(default,s,1)
exten = s-BUSY,1,Voicemail(${ARG1},b)
exten = s-BUSY,2,Goto(default,s,1)
exten = _s-.,1,Goto(s-NOANSWER,1)
exten = a,1,VoicemailMain(${ARG1})
[macro-apprecord]
exten => s,1,GotoIf($["${XAD}" = "0" | "${XAD}" = ""]?startrec:stoprec)
exten => s,n(startrec),Set(XAD=1)
exten => s,n,Set(FILENAME=/tmp/MON-${CALLERID(number)})
exten => s,n,NoOp(Filename is ${FILENAME})
exten => s,n,Monitor(wav,${FILENAME},m)
exten => s,n,MacroExit
exten => s,n(stoprec),StopMonitor
exten => s,n,Set(XAD=0)
exten => s,n,MacroExit
========================================
features.conf:
featuredigittimeout = 2000 ; Max time (ms) between digits for
[featuremap]
automon => *78
blindxfer => #
atxfer => *2
[applicationmap]
apps = *75,caller,Macro,apprecord
======================================================================
----------------------------------------------------------------------
(0112221) ronb (reporter) - 2009-10-12 15:29
https://issues.asterisk.org/view.php?id=15792#c112221
----------------------------------------------------------------------
I attached a log file with the additional logging... but it's a formality.
It works now, and with a little digging I've found my own problem.
Recent version upgrades have neglected to update res_features (at least..
I will look for more victims next). The upgrade to 1.4.26 neglected to
update res_features, which stay pre-1.4.26. So, while I thought I was
isolating it to a version problem, I wasn't.
===========================
sh-3.2# strings res_features.so | grep Revision
$Revision: 211596 $
sh-3.2# strings res_features.so.save | grep Revision
$Revision: 179840 $
sh-3.2#
===========================
I should have seen this sooner. Many thanks for your help and patience,
and my apologies.
Ron
Issue History
Date Modified Username Field Change
======================================================================
2009-10-12 15:29 ronb Note Added: 0112221
======================================================================
More information about the asterisk-bugs
mailing list