[Home]

Summary:ASTERISK-02977: [patch] Send Q.931 cause codes
Reporter:Tilghman Lesher (tilghman)Labels:
Date Opened:2004-12-13 10:58:55.000-0600Date Closed:2008-01-15 15:18:16.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 20041210__iax2_causecodes__2.diff.txt
( 1) 20041221__iax2_causecodes.diff.txt
Description:IAX cause codes are currently all strings, which is useful for verbose messages, but not so useful if you want to pass back a numeric cause code from a remote PRI, whose codes do not strictly correspond to the IAX string causes.  This patch attempts to remedy this issue, also making a numeric cause code match up with the string cause codes, for possible further processing with the builtin variable HANGUPCAUSE.

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

Disclaimer on file.
Comments:By: Olle Johansson (oej) 2004-12-19 03:58:52.000-0600

Markster, any comments on this?

By: Mark Spencer (markster) 2004-12-19 18:51:53.000-0600

Shouldn't this be an unsigned char to be compatible with the Q.931 codes?

By: Tilghman Lesher (tilghman) 2004-12-21 11:15:13.000-0600

Causecodes as bytes uploaded as a new patch.

By: Mark Spencer (markster) 2004-12-26 17:35:48.000-0600

Added to CVS, thanks!

By: Russell Bryant (russell) 2004-12-26 19:10:36.000-0600

not in 1.0

By: Digium Subversion (svnbot) 2008-01-15 15:18:16.000-0600

Repository: asterisk
Revision: 4558

U   trunk/channels/chan_iax2.c
U   trunk/channels/iax2-parser.c
U   trunk/channels/iax2-parser.h
U   trunk/channels/iax2.h

------------------------------------------------------------------------
r4558 | markster | 2008-01-15 15:18:15 -0600 (Tue, 15 Jan 2008) | 2 lines

Merge Tilghman's cause codes patch (bug ASTERISK-2977)

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

http://svn.digium.com/view/asterisk?view=rev&revision=4558