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},