Support hold/unhold in Zap, update IAX2 parser to know about modern commands, forward hold/unhold in dial, add hold device state

and implement holding in the SLA.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2006-07-08 02:24:07 +00:00
parent a7d62fd60c
commit 4c90cf59b7
8 changed files with 220 additions and 19 deletions

View File

@@ -444,7 +444,18 @@ void iax_showframe(struct iax_frame *f, struct ast_iax2_full_hdr *fhi, int rx, s
"ANSWER ",
"BUSY ",
"TKOFFHK",
"OFFHOOK" };
"OFFHOOK",
"CONGSTN",
"FLASH ",
"WINK ",
"OPTION ",
"RDKEY ",
"RDUNKEY",
"PROGRES",
"PROCDNG",
"HOLD ",
"UNHOLD ",
"VIDUPDT", };
struct ast_iax2_full_hdr *fh;
char retries[20];
char class2[20];