Change in osmo-sip-connector[master]: Allow GSM340_PLAN_UNKNOWN on MNCC originated leg.

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Keith Whyte gerrit-no-reply at lists.osmocom.org
Sat Nov 10 22:52:58 UTC 2018


Keith Whyte has uploaded this change for review. ( https://gerrit.osmocom.org/11716


Change subject: Allow GSM340_PLAN_UNKNOWN on MNCC originated leg.
......................................................................

Allow GSM340_PLAN_UNKNOWN on MNCC originated leg.

Allows dialing of numbers with GSM340_PLAN_UNKNOWN,
for example a number beginning with '*'

Change-Id: I8d71cac5b169e3b19675b9b9626e6993f3acd979
---
M src/mncc.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sip-connector refs/changes/16/11716/1

diff --git a/src/mncc.c b/src/mncc.c
index 976a671..174dda6 100644
--- a/src/mncc.c
+++ b/src/mncc.c
@@ -397,9 +397,9 @@
 
 static int continue_setup(struct mncc_connection *conn, const struct gsm_mncc *mncc)
 {
-	if (mncc->called.plan != GSM340_PLAN_ISDN) {
+	if (mncc->called.plan != GSM340_PLAN_UNKNOWN && mncc->called.plan != GSM340_PLAN_ISDN) {
 		LOGP(DMNCC, LOGL_ERROR,
-			"leg(%u) has non(%d) ISDN dial plan. not supported.\n",
+			"leg(%u) has non(%d) UNKNOWN/ISDN dial plan. not supported.\n",
 			mncc->callref, mncc->called.plan);
 		return 0;
 	}

-- 
To view, visit https://gerrit.osmocom.org/11716
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sip-connector
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8d71cac5b169e3b19675b9b9626e6993f3acd979
Gerrit-Change-Number: 11716
Gerrit-PatchSet: 1
Gerrit-Owner: Keith Whyte <keith at rhizomatica.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181110/8b8ad990/attachment.htm>


More information about the gerrit-log mailing list