aboutsummaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-11-13 17:19:59 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-11-13 17:19:59 +0000
commit393351fa2ca92301c969a34e8affd750a443c529 (patch)
treeb3ca8f03e9d087f3d72e98b961f7f261d99ddb6e /configs
parent453e484c25fe19aa44d94182f8fb2feb8670f372 (diff)
Document a limitation in the AVAILSTATUS variable from ChanIsAvail and provide
a workaround for it that does not change existing behavior. (closes issue #14426) Reported by: macli git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@229965 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r--configs/extensions.conf.sample2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/extensions.conf.sample b/configs/extensions.conf.sample
index ece57e072..c9447cf6b 100644
--- a/configs/extensions.conf.sample
+++ b/configs/extensions.conf.sample
@@ -449,7 +449,7 @@ exten => a,1,VoicemailMain(${ARG1}) ; If they press *, send the user into Voice
; ${ARG1} - Device to page
exten => s,1,ChanIsAvail(${ARG1}|js) ; j is for Jump and s is for ANY call
-exten => s,n,GoToIf([${AVAILSTATUS} = "1"]?autoanswer:fail)
+exten => s,n,GoToIf([${AVAILORIGCHAN} = ""]?fail:autoanswer)
exten => s,n(autoanswer),Set(_ALERT_INFO="RA") ; This is for the PolyComs
exten => s,n,SIPAddHeader(Call-Info: Answer-After=0) ; This is for the Grandstream, Snoms, and Others
exten => s,n,NoOp() ; Add others here and Post on the Wiki!!!!