aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-09-01 18:36:15 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-09-01 18:36:15 +0000
commitc42987a34b06c19711a76ea4675ab45abc89ea0a (patch)
tree6ae81d0c3ff0a144dda0d6961f9763cf8b4404a7
parent1918bf83a7a3ef9f70ff00d22a9ae9d701414ba1 (diff)
Add placeholder for provisioning info
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1458 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xchannels/iax2-parser.c2
-rwxr-xr-xchannels/iax2.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/channels/iax2-parser.c b/channels/iax2-parser.c
index b2779e8d1..816adcbaf 100755
--- a/channels/iax2-parser.c
+++ b/channels/iax2-parser.c
@@ -117,6 +117,7 @@ static struct iax2_ie {
{ IAX_IE_AUTOANSWER, "AUTO ANSWER REQ" },
{ IAX_IE_TRANSFERID, "TRANSFER ID", dump_int },
{ IAX_IE_RDNIS, "REFERRING DNIS", dump_string },
+ { IAX_IE_PROVISIONING, "PROVISIONING" },
};
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
"MWI",
"UNSUPPORTED",
"TRANSFER",
+ "PROVISION",
};
char *cmds[] = {
"(0?)",
diff --git a/channels/iax2.h b/channels/iax2.h
index 1a14759bb..0f4977d71 100755
--- a/channels/iax2.h
+++ b/channels/iax2.h
@@ -64,6 +64,7 @@
#define IAX_COMMAND_MWI 32 /* Stand-alone message waiting indicator */
#define IAX_COMMAND_UNSUPPORT 33 /* Unsupported message received */
#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 */
@@ -100,6 +101,7 @@
#define IAX_IE_MUSICONHOLD 26 /* Request musiconhold with QUELCH -- none or string */
#define IAX_IE_TRANSFERID 27 /* Transfer Request Identifier -- int */
#define IAX_IE_RDNIS 28 /* Referring DNIS -- string */
+#define IAX_IE_PROVISIONING 29 /* Provisioning info */
#define IAX_AUTH_PLAINTEXT (1 << 0)
#define IAX_AUTH_MD5 (1 << 1)