On Behalf Of Gilles
Unfortunately, it can only jump to "h", and ${REASON} is empty.
On Fri, 18 Mar 2011, Danny Nicholas wrote:
I believe you will achieve the desired result by replacing ${REASON}
with ${HANGUP_CAUSE}.
REASON is documented as being valid in the 'failed' extension. If it is
not working as you expect it to, maybe you could read through the source
(/usr/src/asterisk-x.x.x.x/main/pbx.c) to understand why.
You could always submit a patch...
HANGUP_CAUSE should be HANGUPCAUSE.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards [email protected] Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users