Revision
15315
Author
gmaruzz
Date
2009-11-02 04:22:49 -0600 (Mon, 02 Nov 2009)

Log Message

gsmopen: when you try to call using an interface that's in a call,correctly return the value: [NORMAL_CIRCUIT_CONGESTION], like openzap

Modified Paths

Diff

Modified: freeswitch/branches/gmaruzz/mod_gsmopen/mod_gsmopen.cpp (15314 => 15315)


--- freeswitch/branches/gmaruzz/mod_gsmopen/mod_gsmopen.cpp	2009-11-02 10:10:22 UTC (rev 15314)
+++ freeswitch/branches/gmaruzz/mod_gsmopen/mod_gsmopen.cpp	2009-11-02 10:22:49 UTC (rev 15315)
@@ -1020,7 +1020,7 @@
 						DEBUGA_GSMOPEN("1 SESSION_DESTROY %s\n", GSMOPEN_P_LOG, switch_core_session_get_uuid(*new_session));
 						switch_core_session_destroy(new_session);
 						switch_mutex_unlock(globals.mutex);
-						return SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER;
+						return SWITCH_CAUSE_NORMAL_CIRCUIT_CONGESTION;
 					}
 
 					DEBUGA_GSMOPEN("globals.GSMOPEN_INTERFACES[%d].name=|||%s|||?\n", GSMOPEN_P_LOG, i, globals.GSMOPEN_INTERFACES[i].name);