00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #include "iax2-parser.h"
00017
00018 #define PROV_IE_USEDHCP 1
00019 #define PROV_IE_IPADDR 2
00020 #define PROV_IE_SUBNET 3
00021 #define PROV_IE_GATEWAY 4
00022 #define PROV_IE_PORTNO 5
00023 #define PROV_IE_USER 6
00024 #define PROV_IE_PASS 7
00025 #define PROV_IE_SERVERUSER 8
00026 #define PROV_IE_SERVERPASS 9
00027 #define PROV_IE_LANG 10
00028 #define PROV_IE_TOS 11
00029 #define PROV_IE_FLAGS 12
00030 #define PROV_IE_FORMAT 13
00031 #define PROV_IE_AESKEY 14
00032 #define PROV_IE_SERVERIP 15
00033 #define PROV_IE_SERVERPORT 16
00034 #define PROV_IE_NEWAESKEY 17
00035 #define PROV_IE_PROVVER 18
00036 #define PROV_IE_ALTSERVER 19
00037
00038 #define PROV_FLAG_REGISTER (1 << 0)
00039 #define PROV_FLAG_SECURE (1 << 1)
00040 #define PROV_FLAG_HEARTBEAT (1 << 2)
00041 #define PROV_FLAG_DEBUG (1 << 3)
00042
00043 #define PROV_FLAG_DIS_CALLERID (1 << 4)
00044 #define PROV_FLAG_DIS_CALLWAIT (1 << 5)
00045 #define PROV_FLAG_DIS_CIDCW (1 << 6)
00046 #define PROV_FLAG_DIS_THREEWAY (1 << 7)
00047
00048 char *iax_provflags2str(char *buf, int buflen, unsigned int flags);
00049 int iax_provision_reload(void);
00050 int iax_provision_unload(void);
00051 int iax_provision_build(struct iax_ie_data *provdata, unsigned int *signature, const char *template, int force);
00052 int iax_provision_version(unsigned int *signature, const char *template, int force);
00053 char *iax_prov_complete_template(const char *line, const char *word, int pos, int state);