diff mncc/call_setup.c @ 167:2ebad02adbe5

themwi-mncc: route outbound calls to themwi-sip-out
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 12 Oct 2022 18:08:34 -0800
parents 660126bd5f59
children 59a166c50d0e
line wrap: on
line diff
--- a/mncc/call_setup.c	Wed Oct 12 17:07:49 2022 -0800
+++ b/mncc/call_setup.c	Wed Oct 12 18:08:34 2022 -0800
@@ -176,16 +176,10 @@
 		return;
 	}
 	/* actually route the call */
-	if (is_local) {
+	if (is_local)
 		internal_switch_mo_setup(call, msg);
-		return;
-	}
-	/* outbound calls remain to be implemented */
-	syslog(LOG_ERR, "rejecting MO call 0x%x: outbound not implemented",
-		msg->callref);
-	reject_mo_call(msg->callref, GSM48_CAUSE_LOC_PRN_S_LU,
-			GSM48_CC_CAUSE_NO_ROUTE);
-	call->gc_flag = 1;
+	else
+		outbound_mo_setup(call, msg);
 }
 
 static void