summaryrefslogtreecommitdiffstats
path: root/gsm.cpp
diff options
context:
space:
mode:
authorAndreas Eversberg2010-01-04 19:19:12 +0100
committerAndreas Eversberg2010-01-04 19:19:12 +0100
commita7b3d18e622e4ec4433c3af315cc1e572c41c9e6 (patch)
tree0a15af23f52b3ae74c93c082687e72ede38fd4be /gsm.cpp
parentHarald provided us with this fix for the current OpenBSC API. (diff)
downloadlcr-a7b3d18e622e4ec4433c3af315cc1e572c41c9e6.tar.gz
lcr-a7b3d18e622e4ec4433c3af315cc1e572c41c9e6.tar.xz
lcr-a7b3d18e622e4ec4433c3af315cc1e572c41c9e6.zip
Notifies are now received from GSM phones.
Diffstat (limited to 'gsm.cpp')
-rw-r--r--gsm.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/gsm.cpp b/gsm.cpp
index 62df3e3..e747ff0 100644
--- a/gsm.cpp
+++ b/gsm.cpp
@@ -760,8 +760,15 @@ void Pgsm::rel_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc
/* NOTIFY INDICATION */
void Pgsm::notify_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc)
{
+ struct lcr_msg *message;
+
gsm_trace_header(p_m_mISDNport, this, msg_type, DIRECTION_IN);
+ add_trace("notify", NULL, "%d", mncc->notify);
end_trace();
+
+ message = message_create(p_serial, ACTIVE_EPOINT(p_epointlist), PORT_TO_EPOINT, MESSAGE_NOTIFY);
+ message->param.notifyinfo.notify = mncc->notify;
+ message_put(message);
}