]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Do not define a cause that doesn't actually exist
authorKinsey Moore <kmoore@digium.com>
Wed, 8 Aug 2012 20:28:40 +0000 (20:28 +0000)
committerKinsey Moore <kmoore@digium.com>
Wed, 8 Aug 2012 20:28:40 +0000 (20:28 +0000)
AST_CAUSE_NOTDEFINED is a placeholder for usage when there is no cause
information. As such, it should not be defined and translatable as a
cause.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@370923 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index 80246a6b4dc6b0ac6aa1145b87f4178c3143cfa1..2a8634bf6476b7ea877122f0c6e7a877bbe62b57 100644 (file)
@@ -203,7 +203,6 @@ static const struct {
        const char *name;
        const char *desc;
 } causes[] = {
-       { AST_CAUSE_NOTDEFINED, "NOTDEFINED", "Cause not defined" },
        { AST_CAUSE_UNALLOCATED, "UNALLOCATED", "Unallocated (unassigned) number" },
        { AST_CAUSE_NO_ROUTE_TRANSIT_NET, "NO_ROUTE_TRANSIT_NET", "No route to specified transmit network" },
        { AST_CAUSE_NO_ROUTE_DESTINATION, "NO_ROUTE_DESTINATION", "No route to destination" },