]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
make cause 1 less ambiguous
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 23 Jul 2008 14:19:53 +0000 (14:19 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 23 Jul 2008 14:19:53 +0000 (14:19 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9142 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/include/switch_types.h
src/switch_channel.c

index 2f94359430e21dd700b9d7d0777bffae31ac6fa3..2eb117e468cd2a5a2ff492a857ae1c1714c40451 100644 (file)
@@ -1123,7 +1123,7 @@ typedef enum {
 
 typedef enum {
        SWITCH_CAUSE_NONE = 0,
-       SWITCH_CAUSE_UNALLOCATED = 1,
+       SWITCH_CAUSE_UNALLOCATED_NUMBER = 1,
        SWITCH_CAUSE_NO_ROUTE_TRANSIT_NET = 2,
        SWITCH_CAUSE_NO_ROUTE_DESTINATION = 3,
        SWITCH_CAUSE_CHANNEL_UNACCEPTABLE = 6,
index 34e85f5e2be73a06b92f53fbfad556370ab0bf96..ebb466c710c2e8ee6a1b38ae29967fa35b6090cb 100644 (file)
@@ -41,7 +41,7 @@ struct switch_cause_table {
 
 static struct switch_cause_table CAUSE_CHART[] = {
        {"NONE", SWITCH_CAUSE_NONE},
-       {"UNALLOCATED", SWITCH_CAUSE_UNALLOCATED},
+       {"UNALLOCATED_NUMBER", SWITCH_CAUSE_UNALLOCATED_NUMBER},
        {"NO_ROUTE_TRANSIT_NET", SWITCH_CAUSE_NO_ROUTE_TRANSIT_NET},
        {"NO_ROUTE_DESTINATION", SWITCH_CAUSE_NO_ROUTE_DESTINATION},
        {"CHANNEL_UNACCEPTABLE", SWITCH_CAUSE_CHANNEL_UNACCEPTABLE},