diff options
author | Jeff Peeler <jpeeler@digium.com> | 2008-04-01 17:53:08 +0000 |
---|---|---|
committer | Jeff Peeler <jpeeler@digium.com> | 2008-04-01 17:53:08 +0000 |
commit | a5cdd849e555daafe39591a2bf522b4b09c7bf0d (patch) | |
tree | 8bb7e481848794e991a01f151dcc3c6f65e33b86 /include/asterisk/slinfactory.h | |
parent | a8be22f9da906efca51e68c7e3db461629be9cff (diff) |
This adds DNS SRV record support to DNS manager. If there is a SRV record for a given domain, the hostname and port listed in the SRV record will be used. If no SRV record exists or a SRV lookup is not attempted, the DNS lookup on the specified domain will be performed as normal. Chan_sip has been modified to take advantage of the new SRV support.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/slinfactory.h')
-rw-r--r-- | include/asterisk/slinfactory.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asterisk/slinfactory.h b/include/asterisk/slinfactory.h index 4d3e8eaf8..386cf51ba 100644 --- a/include/asterisk/slinfactory.h +++ b/include/asterisk/slinfactory.h @@ -28,12 +28,10 @@ extern "C" { #endif -#define AST_SLINFACTORY_MAX_HOLD 1280 - struct ast_slinfactory { AST_LIST_HEAD_NOLOCK(, ast_frame) queue; /*!< A list of unaltered frames */ struct ast_trans_pvt *trans; /*!< Translation path that converts fed frames into signed linear */ - short hold[AST_SLINFACTORY_MAX_HOLD]; /*!< Hold for audio that no longer belongs to a frame (ie: if only some samples were taken from a frame) */ + short hold[1280]; /*!< Hold for audio that no longer belongs to a frame (ie: if only some samples were taken from a frame) */ short *offset; /*!< Offset into the hold where audio begins */ size_t holdlen; /*!< Number of samples currently in the hold */ unsigned int size; /*!< Number of samples currently in the factory */ |