[Freeswitch-svn] [commit] r9142 - in freeswitch/trunk/src: . include
Freeswitch SVN
anthm at freeswitch.org
Wed Jul 23 10:19:54 EDT 2008
Author: anthm
Date: Wed Jul 23 10:19:53 2008
New Revision: 9142
Modified:
freeswitch/trunk/src/include/switch_types.h
freeswitch/trunk/src/switch_channel.c
Log:
make cause 1 less ambiguous
Modified: freeswitch/trunk/src/include/switch_types.h
==============================================================================
--- freeswitch/trunk/src/include/switch_types.h (original)
+++ freeswitch/trunk/src/include/switch_types.h Wed Jul 23 10:19:53 2008
@@ -1123,7 +1123,7 @@
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,
Modified: freeswitch/trunk/src/switch_channel.c
==============================================================================
--- freeswitch/trunk/src/switch_channel.c (original)
+++ freeswitch/trunk/src/switch_channel.c Wed Jul 23 10:19:53 2008
@@ -41,7 +41,7 @@
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},
More information about the Freeswitch-svn
mailing list