From: Anthony Minessale Date: Wed, 23 Jul 2008 14:19:53 +0000 (+0000) Subject: make cause 1 less ambiguous X-Git-Tag: v1.0.1~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9be176b4b437226c23b772d2af7527fa52ecd39;p=thirdparty%2Ffreeswitch.git make cause 1 less ambiguous git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9142 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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},