Skip to content
Snippets Groups Projects
Commit 6d3f2dba authored by Mark Spencer's avatar Mark Spencer
Browse files

Add placeholder for provisioning info

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 7893c6b1
Branches
Tags
No related merge requests found
...@@ -117,6 +117,7 @@ static struct iax2_ie { ...@@ -117,6 +117,7 @@ static struct iax2_ie {
{ IAX_IE_AUTOANSWER, "AUTO ANSWER REQ" }, { IAX_IE_AUTOANSWER, "AUTO ANSWER REQ" },
{ IAX_IE_TRANSFERID, "TRANSFER ID", dump_int }, { IAX_IE_TRANSFERID, "TRANSFER ID", dump_int },
{ IAX_IE_RDNIS, "REFERRING DNIS", dump_string }, { IAX_IE_RDNIS, "REFERRING DNIS", dump_string },
{ IAX_IE_PROVISIONING, "PROVISIONING" },
}; };
const char *iax_ie2str(int ie) const char *iax_ie2str(int ie)
...@@ -219,6 +220,7 @@ void iax_showframe(struct iax_frame *f, struct ast_iax2_full_hdr *fhi, int rx, s ...@@ -219,6 +220,7 @@ void iax_showframe(struct iax_frame *f, struct ast_iax2_full_hdr *fhi, int rx, s
"MWI", "MWI",
"UNSUPPORTED", "UNSUPPORTED",
"TRANSFER", "TRANSFER",
"PROVISION",
}; };
char *cmds[] = { char *cmds[] = {
"(0?)", "(0?)",
......
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
#define IAX_COMMAND_MWI 32 /* Stand-alone message waiting indicator */ #define IAX_COMMAND_MWI 32 /* Stand-alone message waiting indicator */
#define IAX_COMMAND_UNSUPPORT 33 /* Unsupported message received */ #define IAX_COMMAND_UNSUPPORT 33 /* Unsupported message received */
#define IAX_COMMAND_TRANSFER 34 /* Request remote transfer */ #define IAX_COMMAND_TRANSFER 34 /* Request remote transfer */
#define IAX_COMMAND_PROVISION 35 /* Provision device */
#define IAX_DEFAULT_REG_EXPIRE 60 /* By default require re-registration once per minute */ #define IAX_DEFAULT_REG_EXPIRE 60 /* By default require re-registration once per minute */
...@@ -100,6 +101,7 @@ ...@@ -100,6 +101,7 @@
#define IAX_IE_MUSICONHOLD 26 /* Request musiconhold with QUELCH -- none or string */ #define IAX_IE_MUSICONHOLD 26 /* Request musiconhold with QUELCH -- none or string */
#define IAX_IE_TRANSFERID 27 /* Transfer Request Identifier -- int */ #define IAX_IE_TRANSFERID 27 /* Transfer Request Identifier -- int */
#define IAX_IE_RDNIS 28 /* Referring DNIS -- string */ #define IAX_IE_RDNIS 28 /* Referring DNIS -- string */
#define IAX_IE_PROVISIONING 29 /* Provisioning info */
#define IAX_AUTH_PLAINTEXT (1 << 0) #define IAX_AUTH_PLAINTEXT (1 << 0)
#define IAX_AUTH_MD5 (1 << 1) #define IAX_AUTH_MD5 (1 << 1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment