aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bnetz/bnetz.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bnetz/bnetz.c b/src/bnetz/bnetz.c
index 4f5a564..570dde6 100644
--- a/src/bnetz/bnetz.c
+++ b/src/bnetz/bnetz.c
@@ -177,6 +177,11 @@ int bnetz_create(int kanal, const char *audiodev, int use_sdr, int samplerate, d
return -EINVAL;
}
+ if (kanal >= 38 && kanal <= 39)
+ PDEBUG(DBNETZ, DEBUG_NOTICE, "Selected channel ('Kanal') number %d may not be supported by older B1-Network phones.\n", kanal);
+ if (kanal >= 50)
+ PDEBUG(DBNETZ, DEBUG_NOTICE, "Selected channel ('Kanal') number %d belongs to B2-Network and is not supported by B1 phones.\n", kanal);
+
if ((gfs < 1 || gfs > 19)) {
PDEBUG(DBNETZ, DEBUG_ERROR, "Given 'Gruppenfreisignal' %d invalid.\n", gfs);
return -EINVAL;