18 #define PROV_IE_USEDHCP 1
19 #define PROV_IE_IPADDR 2
20 #define PROV_IE_SUBNET 3
21 #define PROV_IE_GATEWAY 4
22 #define PROV_IE_PORTNO 5
23 #define PROV_IE_USER 6
24 #define PROV_IE_PASS 7
25 #define PROV_IE_SERVERUSER 8
26 #define PROV_IE_SERVERPASS 9
27 #define PROV_IE_LANG 10
28 #define PROV_IE_TOS 11
29 #define PROV_IE_FLAGS 12
30 #define PROV_IE_FORMAT 13
31 #define PROV_IE_AESKEY 14
32 #define PROV_IE_SERVERIP 15
33 #define PROV_IE_SERVERPORT 16
34 #define PROV_IE_NEWAESKEY 17
35 #define PROV_IE_PROVVER 18
36 #define PROV_IE_ALTSERVER 19
38 #define PROV_FLAG_REGISTER (1 << 0)
39 #define PROV_FLAG_SECURE (1 << 1)
40 #define PROV_FLAG_HEARTBEAT (1 << 2)
41 #define PROV_FLAG_DEBUG (1 << 3)
43 #define PROV_FLAG_DIS_CALLERID (1 << 4)
44 #define PROV_FLAG_DIS_CALLWAIT (1 << 5)
45 #define PROV_FLAG_DIS_CIDCW (1 << 6)
46 #define PROV_FLAG_DIS_THREEWAY (1 << 7)
int iax_provision_build(struct iax_ie_data *provdata, unsigned int *signature, const char *template, int force)
int iax_provision_reload(int reload)
char * iax_prov_complete_template(const char *line, const char *word, int pos, int state)
int iax_provision_version(unsigned int *version, const char *template, int force)
Implementation of the IAX2 protocol.
char * iax_provflags2str(char *buf, int buflen, unsigned int flags)
int iax_provision_unload(void)