some minor output fixes
authorSuper User <root@isdn.jolly.ten>
Sun, 7 Oct 2007 16:16:31 +0000 (18:16 +0200)
committerSuper User <root@isdn.jolly.ten>
Sun, 7 Oct 2007 16:16:31 +0000 (18:16 +0200)
README
apppbx.cpp

diff --git a/README b/README
index 0338a33..300f0cb 100644 (file)
--- 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 *
+*************************************
+
 
index f4fa4c9..8729b41 100644 (file)
@@ -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;
        }