Notifies are now received from GSM phones.
authorAndreas Eversberg <jolly@eversberg.eu>
Mon, 4 Jan 2010 18:19:12 +0000 (19:19 +0100)
committerAndreas Eversberg <jolly@eversberg.eu>
Mon, 4 Jan 2010 18:19:12 +0000 (19:19 +0100)
gsm.cpp

diff --git a/gsm.cpp b/gsm.cpp
index 62df3e3..e747ff0 100644 (file)
--- 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)
 {
 /* 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);
        gsm_trace_header(p_m_mISDNport, this, msg_type, DIRECTION_IN);
+       add_trace("notify", NULL, "%d", mncc->notify);
        end_trace();
        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);
 }
 
 
 }