]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 370924 via svnmerge from
authorAutomerge script <automerge@asterisk.org>
Wed, 8 Aug 2012 21:23:46 +0000 (21:23 +0000)
committerAutomerge script <automerge@asterisk.org>
Wed, 8 Aug 2012 21:23:46 +0000 (21:23 +0000)
file:///srv/subversion/repos/asterisk/branches/10

................
  r370924 | kmoore | 2012-08-08 15:29:16 -0500 (Wed, 08 Aug 2012) | 9 lines

  Do not define a cause that doesn't actually exist

  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.
  ........

  Merged revisions 370923 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

main/channel.c

index 40b25fb581e34844151b8d9399ec6d44177e70b3..11f135c676cedd5a45fb097fac707fb3394d245a 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" },