mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 19:43:03 +00:00
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
This commit is contained in:
@@ -172,9 +172,6 @@ int ast_slinfactory_read(struct ast_slinfactory *sf, short *buf, size_t samples)
|
||||
memcpy(offset, frame_data, ineed * sizeof(*offset));
|
||||
sofar += ineed;
|
||||
frame_data += ineed;
|
||||
if (remain > (AST_SLINFACTORY_MAX_HOLD - sf->holdlen)) {
|
||||
remain = AST_SLINFACTORY_MAX_HOLD - sf->holdlen;
|
||||
}
|
||||
memcpy(sf->hold, frame_data, remain * sizeof(*offset));
|
||||
sf->holdlen = remain;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user