aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2019-11-17 10:07:07 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2019-11-29 15:58:32 +0100
commit008bca784b6f43a05e099b805d3de07e1f32b8b7 (patch)
tree4223545ac1f775d4f769392eab3a085955160003 /src
parent195f7481d81c910c4bb6a90c0a8229e7ee3976cc (diff)
C-Netz: Show if emergency call is made
Diffstat (limited to 'src')
-rw-r--r--src/cnetz/cnetz.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cnetz/cnetz.c b/src/cnetz/cnetz.c
index 71acf18..7ab6bcd 100644
--- a/src/cnetz/cnetz.c
+++ b/src/cnetz/cnetz.c
@@ -1186,7 +1186,10 @@ void cnetz_receive_telegramm_ogk(cnetz_t *cnetz, telegramm_t *telegramm, int blo
if (!match_fuz(cnetz, telegramm, cnetz->cell_nr))
break;
rufnummer = telegramm2rufnummer(telegramm);
- PDEBUG_CHAN(DCNETZ, DEBUG_INFO, "Received outgoing Call 'Verbindungswunsch gehend' message from Subscriber '%s'\n", rufnummer);
+ if (opcode == OPCODE_VWG_R)
+ PDEBUG_CHAN(DCNETZ, DEBUG_INFO, "Received outgoing Call 'Verbindungswunsch gehend' message from Subscriber '%s'\n", rufnummer);
+ else
+ PDEBUG_CHAN(DCNETZ, DEBUG_INFO, "Received outgoing emergency Call 'Sonderruf gehend' message from Subscriber '%s'\n", rufnummer);
if (cnetz->state != CNETZ_IDLE) {
PDEBUG(DCNETZ, DEBUG_NOTICE, "Ignoring Call from subscriber '%s', because we are busy becoming SpK.\n", rufnummer);
break;