/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "cpr_types.h" #include "cpr_memory.h" #include "cpr_stdio.h" #include "cpr_string.h" #include "cpr_timers.h" #include "cpr_ipc.h" #include "debug.h" #include "phone_debug.h" #include "phntask.h" #include "prot_configmgr.h" #include "logger.h" #include "logmsg.h" #include "upgrade.h" #include "dialplan.h" #include "singly_link_list.h" #include "ccsip_subsmanager.h" #include "kpmlmap.h" #include "dialplanint.h" #include "ccapi.h" #include "lsm.h" #include "gsm.h" #include "fsm.h" #include "regmgrapi.h" #include "ccsip_register.h" #define PRIME_LINE_ID 1 cc_int32_t DpintDebug = 0; static dp_data_t g_dp_int; /* note that we do not allow file with size more than DIALPLAN_MAX_SIZE (8k) */ uint8_t dpLoadArea[DIALPLAN_MAX_SIZE - 1]; #define KPML_DEFAULT_DIALPLAN "