From: Andreas Eversberg Date: Mon, 20 Sep 2010 06:18:13 +0000 (+0200) Subject: Fixed numbering plan in GSM MS support X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=commitdiff_plain;h=0f73f3b384dc9fc57daf694279d6f57ad4d948d5 Fixed numbering plan in GSM MS support --- diff --git a/gsm_ms.cpp b/gsm_ms.cpp index 2e6299f..f8541fa 100644 --- a/gsm_ms.cpp +++ b/gsm_ms.cpp @@ -585,13 +585,10 @@ void Pgsm_ms::message_setup(unsigned int epoint_id, int message_id, union parame } /* dialing information (mandatory) */ mncc->fields |= MNCC_F_CALLED; - if (!strncmp(p_dialinginfo.id, "imsi-", 5)) { - SCPY(mncc->imsi, p_dialinginfo.id+5); - add_trace("dialing", "imsi", "%s", mncc->imsi); - } else { - SCPY(mncc->called.number, p_dialinginfo.id); - add_trace("dialing", "number", "%s", mncc->called.number); - } + mncc->called.type = 0; /* unknown */ + mncc->called.plan = 1; /* isdn */ + SCPY(mncc->called.number, p_dialinginfo.id); + add_trace("dialing", "number", "%s", mncc->called.number); /* bearer capability (mandatory) */ mncc->fields |= MNCC_F_BEARER_CAP;