backup
[lcr.git] / admin_server.c
index c17620b..9ccc18e 100644 (file)
@@ -236,9 +236,6 @@ int admin_route(struct admin_queue **responsep)
                                case ACTION_EXTERNAL:
                                apppbx->e_action = &action_external;
                                break;
-                               case ACTION_H323:
-                               apppbx->e_action = &action_h323;
-                               break;
                                case ACTION_CHAN:
                                apppbx->e_action = &action_chan;
                                break;
@@ -665,7 +662,7 @@ int admin_state(struct admin_queue **responsep)
                        response->am[num].u.e.state = ADMIN_STATE_IDLE;
                }
                /* terminal */
-               SCPY(response->am[num].u.e.terminal, apppbx->e_terminal);
+               SCPY(response->am[num].u.e.terminal, apppbx->e_ext.number);
                /* callerid */
                SCPY(response->am[num].u.e.callerid, apppbx->e_callerinfo.id);
                /* dialing */