Add some missing control frames.
authorJoshua Colp <jcolp@digium.com>
Mon, 18 Feb 2008 22:54:25 +0000 (22:54 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 18 Feb 2008 22:54:25 +0000 (22:54 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103798 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/frame.c

index 3100636..ff182cc 100644 (file)
@@ -780,6 +780,12 @@ void ast_frame_dump(const char *name, struct ast_frame *f, char *prefix)
                case AST_CONTROL_RADIO_UNKEY:
                        strcpy(subclass, "Unkey Radio");
                        break;
+               case AST_CONTROL_HOLD:
+                       strcpy(subclass, "Hold");
+                       break;
+               case AST_CONTROL_UNHOLD:
+                       strcpy(subclass, "Unhold");
+                       break;
                case -1:
                        strcpy(subclass, "Stop generators");
                        break;