[Home]

Summary:ASTERISK-10662: Make the EXCEPTION() application use 'reason' instead of 'type' to get the error reason
Reporter:Leif Madsen (lmadsen)Labels:
Date Opened:2007-10-31 18:09:46Date Closed:2007-10-31 19:03:00
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/PBX
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) exception_patch.txt
Description:Syntax for RaiseException() is RaiseException(<reason>), and to make it less confusing when using the EXCEPTION() application, which now uses ${EXCEPTION(reason)} instead of ${EXCEPTION(type)} to get the reason. Also updated the docs in the file to make more sense.

I think this is my first C patch that isn't just documentation changes... heh :)

(That means check it)

****** ADDITIONAL INFORMATION ******

(No seriously... check it :))
Comments:By: Digium Subversion (svnbot) 2007-10-31 19:03:00

Repository: asterisk
Revision: 87953

U   trunk/main/pbx.c

------------------------------------------------------------------------
r87953 | file | 2007-10-31 19:02:59 -0500 (Wed, 31 Oct 2007) | 6 lines

Drop any more references to type in the Exception dialplan function.
(closes issue ASTERISK-10662)
Reported by: blitzrage
Patches:
     exception_patch.txt uploaded by blitzrage (license 10)

------------------------------------------------------------------------