summaryrefslogtreecommitdiff
path: root/include/asterisk/frame.h
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2009-04-03 22:41:46 +0000
committerMark Michelson <mmichelson@digium.com>2009-04-03 22:41:46 +0000
commit6f53ed4c6707b30078ed4863e27facb7b454b600 (patch)
tree2e466f746a2e29094d6dcc3c6f2577f4dd85f4c0 /include/asterisk/frame.h
parent3525e37e633b8b7bcf59262fbab21c16afadfa35 (diff)
This commit introduces COLP/CONP and Redirecting party information into Asterisk.
The channel drivers which have been most heavily tested with these enhancements are chan_sip and chan_misdn. Further work is being done to add Q.SIG support and will be introduced in a later commit. chan_skinny has code added to it here, but according to user pj, the support on chan_skinny is not working as of now. This will be fixed in a later commit. A special thanks goes out to bugtracker user gareth for getting the ball rolling and providing the initial support for this work. Without his initial work on this, this would not have been nearly as painless as it was. This functionality has been tested by Digium's product quality department, as well as a customer site running thousands of calls every day. In addition, many many many many bugtracker users have tested this, too. (closes issue #8824) Reported by: gareth Review: http://reviewboard.digium.com/r/201 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@186525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/frame.h')
-rw-r--r--include/asterisk/frame.h98
1 files changed, 51 insertions, 47 deletions
diff --git a/include/asterisk/frame.h b/include/asterisk/frame.h
index cf4474e17..f7e8b20ad 100644
--- a/include/asterisk/frame.h
+++ b/include/asterisk/frame.h
@@ -39,53 +39,55 @@ struct ast_codec_pref {
char framing[32];
};
-/*! \page Def_Frame AST Multimedia and signalling frames
- \section Def_AstFrame What is an ast_frame ?
- A frame of data read used to communicate between
- between channels and applications.
- Frames are divided into frame types and subclasses.
-
- \par Frame types
- \arg \b VOICE: Voice data, subclass is codec (AST_FORMAT_*)
- \arg \b VIDEO: Video data, subclass is codec (AST_FORMAT_*)
- \arg \b DTMF: A DTMF digit, subclass is the digit
- \arg \b IMAGE: Image transport, mostly used in IAX
- \arg \b TEXT: Text messages and character by character (real time text)
- \arg \b HTML: URL's and web pages
- \arg \b MODEM: Modulated data encodings, such as T.38 and V.150
- \arg \b IAX: Private frame type for the IAX protocol
- \arg \b CNG: Comfort noice frames
- \arg \b CONTROL: A control frame, subclass defined as AST_CONTROL_
- \arg \b NULL: Empty, useless frame
-
- \par Files
- \arg frame.h Definitions
- \arg frame.c Function library
- \arg \ref Def_Channel Asterisk channels
- \section Def_ControlFrame Control Frames
- Control frames send signalling information between channels
- and devices. They are prefixed with AST_CONTROL_, like AST_CONTROL_FRAME_HANGUP
- \arg \b HANGUP The other end has hungup
- \arg \b RING Local ring
- \arg \b RINGING The other end is ringing
- \arg \b ANSWER The other end has answered
- \arg \b BUSY Remote end is busy
- \arg \b TAKEOFFHOOK Make it go off hook (what's "it" ? )
- \arg \b OFFHOOK Line is off hook
- \arg \b CONGESTION Congestion (circuit is busy, not available)
- \arg \b FLASH Other end sends flash hook
- \arg \b WINK Other end sends wink
- \arg \b OPTION Send low-level option
- \arg \b RADIO_KEY Key radio (see app_rpt.c)
- \arg \b RADIO_UNKEY Un-key radio (see app_rpt.c)
- \arg \b PROGRESS Other end indicates call progress
- \arg \b PROCEEDING Indicates proceeding
- \arg \b HOLD Call is placed on hold
- \arg \b UNHOLD Call is back from hold
- \arg \b VIDUPDATE Video update requested
- \arg \b SRCUPDATE The source of media has changed
-
-*/
+/*!
+ * \page Def_Frame AST Multimedia and signalling frames
+ * \section Def_AstFrame What is an ast_frame ?
+ * A frame of data read used to communicate between
+ * between channels and applications.
+ * Frames are divided into frame types and subclasses.
+ *
+ * \par Frame types
+ * \arg \b VOICE: Voice data, subclass is codec (AST_FORMAT_*)
+ * \arg \b VIDEO: Video data, subclass is codec (AST_FORMAT_*)
+ * \arg \b DTMF: A DTMF digit, subclass is the digit
+ * \arg \b IMAGE: Image transport, mostly used in IAX
+ * \arg \b TEXT: Text messages and character by character (real time text)
+ * \arg \b HTML: URL's and web pages
+ * \arg \b MODEM: Modulated data encodings, such as T.38 and V.150
+ * \arg \b IAX: Private frame type for the IAX protocol
+ * \arg \b CNG: Comfort noice frames
+ * \arg \b CONTROL:A control frame, subclass defined as AST_CONTROL_
+ * \arg \b NULL: Empty, useless frame
+ *
+ * \par Files
+ * \arg frame.h Definitions
+ * \arg frame.c Function library
+ * \arg \ref Def_Channel Asterisk channels
+ * \section Def_ControlFrame Control Frames
+ * Control frames send signalling information between channels
+ * and devices. They are prefixed with AST_CONTROL_, like AST_CONTROL_FRAME_HANGUP
+ * \arg \b HANGUP The other end has hungup
+ * \arg \b RING Local ring
+ * \arg \b RINGING The other end is ringing
+ * \arg \b ANSWER The other end has answered
+ * \arg \b BUSY Remote end is busy
+ * \arg \b TAKEOFFHOOK Make it go off hook (what's "it" ? )
+ * \arg \b OFFHOOK Line is off hook
+ * \arg \b CONGESTION Congestion (circuit is busy, not available)
+ * \arg \b FLASH Other end sends flash hook
+ * \arg \b WINK Other end sends wink
+ * \arg \b OPTION Send low-level option
+ * \arg \b RADIO_KEY Key radio (see app_rpt.c)
+ * \arg \b RADIO_UNKEY Un-key radio (see app_rpt.c)
+ * \arg \b PROGRESS Other end indicates call progress
+ * \arg \b PROCEEDING Indicates proceeding
+ * \arg \b HOLD Call is placed on hold
+ * \arg \b UNHOLD Call is back from hold
+ * \arg \b VIDUPDATE Video update requested
+ * \arg \b SRCUPDATE The source of media has changed
+ * \arg \b CONNECTED_LINE Connected line has changed
+ * \arg \b REDIRECTING Call redirecting information has changed.
+ */
/*!
* \brief Frame types
@@ -320,6 +322,8 @@ enum ast_control_frame_type {
AST_CONTROL_T38 = 19, /*!< T38 state change request/notification */
AST_CONTROL_SRCUPDATE = 20, /*!< Indicate source of media has changed */
AST_CONTROL_TRANSFER = 21, /*!< Indicate status of a transfer request */
+ AST_CONTROL_CONNECTED_LINE = 22, /*!< Indicate connected line has changed */
+ AST_CONTROL_REDIRECTING = 23 /*!< Indicate redirecting id has changed */
};
enum ast_control_t38 {