tadd a guard in freepbx-glue to avoid loglines we don't need - dmt - source code for the kunsthal art installation
HTML git clone git://parazyd.org/dmt.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit bbe887dd9c97f9fd7b3e02161fb827172bca4da8
DIR parent 40e246fbac78b817d17b197e20a68f326ee842c6
HTML Author: parazyd <parazyd@dyne.org>
Date: Sat, 18 Nov 2017 15:04:06 +0100
add a guard in freepbx-glue to avoid loglines we don't need
Diffstat:
M freepbx-glue/freepbx_glue.py | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
DIR diff --git a/freepbx-glue/freepbx_glue.py b/freepbx-glue/freepbx_glue.py
t@@ -19,6 +19,8 @@ def handle_line(logline):
return
parsed = logline.split()
+ if len(parsed) < 7:
+ return
# We wait for a ring.
if not globalvars.weareringing and not globalvars.wehaveanswered: