summaryrefslogtreecommitdiffstats
path: root/gsm.cpp
diff options
context:
space:
mode:
authorAndreas Eversberg2009-05-14 20:31:43 +0200
committerAndreas Eversberg2009-05-14 20:31:43 +0200
commit6db34c1dca5c3a2acd0af689319b583ff8271dbc (patch)
treecae92dc36046b477b9ecfa6122a7049b7c68ca01 /gsm.cpp
parentAdded GSM network support. (diff)
downloadlcr-6db34c1dca5c3a2acd0af689319b583ff8271dbc.tar.gz
lcr-6db34c1dca5c3a2acd0af689319b583ff8271dbc.tar.xz
lcr-6db34c1dca5c3a2acd0af689319b583ff8271dbc.zip
Restructured tones_dir, added tones_dir to interface.conf
Code cleanup.. modified: README modified: apppbx.cpp modified: default/interface.conf modified: default/options.conf modified: dss1.cpp modified: extension.c modified: gsm.cpp modified: interface.c modified: interface.h modified: mISDN.cpp modified: options.c modified: options.h modified: port.cpp
Diffstat (limited to 'gsm.cpp')
-rw-r--r--gsm.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gsm.cpp b/gsm.cpp
index f2519f5..77ec791 100644
--- a/gsm.cpp
+++ b/gsm.cpp
@@ -615,11 +615,11 @@ void Pgsm::call_conf_ind(unsigned int msg_type, unsigned int callref, struct gsm
/* modify lchan to GSM codec V1 */
gsm_trace_header(p_m_mISDNport, this, MNCC_LCHAN_MODIFY, DIRECTION_OUT);
- end_trace();
mode = create_mncc(MNCC_LCHAN_MODIFY, p_m_g_callref);
mode->lchan_mode = 0x01; /* GSM V1 */
add_trace("mode", NULL, "0x%02x", mode->lchan_mode);
send_and_free_mncc(gsm->network, mode->msg_type, mode);
+ end_trace();
}
@@ -927,6 +927,7 @@ static int message_bcs(void *net, int msg_type, void *arg)
case MNCC_REL_IND:
case MNCC_REL_CNF:
+ case MNCC_REJ_IND:
pgsm->rel_ind(msg_type, callref, mncc);
break;