From fe5641b200b00283e9d9f4552446229dff510deb Mon Sep 17 00:00:00 2001 From: Super User Date: Sun, 7 Oct 2007 18:16:31 +0200 Subject: [PATCH] some minor output fixes --- README | 5 +++++ apppbx.cpp | 10 ++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/README b/README index 0338a33..300f0cb 100644 --- a/README +++ b/README @@ -371,4 +371,9 @@ Lates changes - Fixed bug that did not release reserved channels, so interface run out of channels. - Bugfixes... +- Minor bugfixes +****** Major hfc_multi bugfix ******* +* no more crash with multiple cards * +************************************* + diff --git a/apppbx.cpp b/apppbx.cpp index f4fa4c9..8729b41 100644 --- a/apppbx.cpp +++ b/apppbx.cpp @@ -1839,14 +1839,20 @@ void EndpointAppPBX::port_information(struct port_list *portlist, int message_ty keypad_function(param->information.id[0]); } else { - trace_header("DTMF (not enabled by extension's settings)", DIRECTION_IN); + if (e_ext.number[0]) + trace_header("KEYPAD (not enabled by extension's settings)", DIRECTION_IN); + else + trace_header("KEYPAD (not enabled for external interfaces)", DIRECTION_IN); end_trace(); } return; } if (e_state != EPOINT_STATE_IN_OVERLAP) { - trace_header("DTMF (ignored, not connected and not dialing)", DIRECTION_IN); + if (e_ext.number[0]) + trace_header("KEYPAD (ignored, not connected and not dialing)", DIRECTION_IN); + else + trace_header("KEYPAD (not enabled for external interfaces)", DIRECTION_IN); end_trace(); return; } -- 2.13.6