From a9be176b4b437226c23b772d2af7527fa52ecd39 Mon Sep 17 00:00:00 2001 From: Anthony Minessale <anthony.minessale@gmail.com> Date: Wed, 23 Jul 2008 14:19:53 +0000 Subject: [PATCH] make cause 1 less ambiguous git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9142 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/include/switch_types.h | 2 +- src/switch_channel.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/switch_types.h b/src/include/switch_types.h index 2f94359430..2eb117e468 100644 --- a/src/include/switch_types.h +++ b/src/include/switch_types.h @@ -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, diff --git a/src/switch_channel.c b/src/switch_channel.c index 34e85f5e2b..ebb466c710 100644 --- a/src/switch_channel.c +++ b/src/switch_channel.c @@ -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},