asterisk/channels
Mark Michelson 6cad0f1602 func_srv and explicit specification of a remote IP for SIP.
From Review Board:
There are two interrelated changes here.

First, there is the introduction of func_srv. This adds two new read-only
dialplan functions, SRVQUERY and SRVRESULT. They work very similarly to the
ENUMQUERY and ENUMRESULT functions, except that this allows one to query SRV
records instead. In order to facilitate this work, I added a couple of new API
calls to srv.h. ast_srv_get_record_count tells the number of records returned
by an SRV lookup. This number is calculated at the time of the SRV lookup.
ast_srv_get_nth_record allows one to get a numbered SRV record.

Second, there is the modification to chan_sip that allows one to specify a
hostname or IP address (along with a port) to send an outgoing INVITE to when
dialing a SIP peer. This goes hand-in-hand with func_srv. You can query SRV
records and then use the host and port from the results to dial via a specific
host instead of what is configured in sip.conf.

Review: https://reviewboard.asterisk.org/r/608
SWP-1200



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@256485 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-04-09 14:37:50 +00:00
..
h323 Expand codec bitfield from 32 bits to 64 bits. 2009-11-04 14:05:12 +00:00
misdn Whitespace change. 2009-10-02 01:49:25 +00:00
sip Add new rtpsource options to the CHANNEL function. 2010-03-25 17:29:47 +00:00
xpmr AST-2009-005 2009-08-10 19:20:57 +00:00
Makefile Change per-file debug and verbose levels to be per-module, the way 2010-03-23 14:22:27 +00:00
chan_agent.c small correction from 241314 2010-01-19 18:51:19 +00:00
chan_alsa.c fixes adaptive jitterbuffer configuration 2010-03-02 19:08:38 +00:00
chan_bridge.c Expand codec bitfield from 32 bits to 64 bits. 2009-11-04 14:05:12 +00:00
chan_console.c fixes adaptive jitterbuffer configuration 2010-03-02 19:08:38 +00:00
chan_dahdi.c Merged revisions 256225 via svnmerge from 2010-04-06 00:39:44 +00:00
chan_gtalk.c fixes adaptive jitterbuffer configuration 2010-03-02 19:08:38 +00:00
chan_h323.c Consolidate ast_channel.cid.cid_rdnis into ast_channel.redirecting.from.number. 2010-04-03 02:12:33 +00:00
chan_iax2.c Consolidate ast_channel.cid.cid_rdnis into ast_channel.redirecting.from.number. 2010-04-03 02:12:33 +00:00
chan_jingle.c fixes adaptive jitterbuffer configuration 2010-03-02 19:08:38 +00:00
chan_local.c Consolidate ast_channel.cid.cid_rdnis into ast_channel.redirecting.from.number. 2010-04-03 02:12:33 +00:00
chan_mgcp.c Only change the RTP ssrc when we see that it has changed 2010-03-12 22:04:51 +00:00
chan_misdn.c Consolidate ast_channel.cid.cid_rdnis into ast_channel.redirecting.from.number. 2010-04-03 02:12:33 +00:00
chan_multicast_rtp.c Expand codec bitfield from 32 bits to 64 bits. 2009-11-04 14:05:12 +00:00
chan_nbs.c Missed these two channel drivers on the codec_bits merge 2009-11-06 19:38:33 +00:00
chan_oss.c Consolidate ast_channel.cid.cid_rdnis into ast_channel.redirecting.from.number. 2010-04-03 02:12:33 +00:00
chan_phone.c More 32->64 bit codec conversions. 2009-12-01 20:27:37 +00:00
chan_phone.h rename DialTone.h to chan_phone.h because chan_phone.c is the only file using it 2008-05-28 20:00:21 +00:00
chan_sip.c func_srv and explicit specification of a remote IP for SIP. 2010-04-09 14:37:50 +00:00
chan_skinny.c Ignore Redial softkey when no previous dialed number is known 2010-04-02 06:45:54 +00:00
chan_unistim.c fixes adaptive jitterbuffer configuration 2010-03-02 19:08:38 +00:00
chan_usbradio.c chan_usbradio depends on alsa. 2010-03-25 20:08:40 +00:00
chan_vpb.cc Formats are inconsistent between even 32-bit and 64-bit Linux. Use casts to ensure both compile. 2010-01-21 15:14:55 +00:00
console_board.c import the recent additions for video console into trunk, 2008-06-29 21:17:14 +00:00
console_gui.c Const-ify the world (or at least a good part of it) 2009-05-21 21:13:09 +00:00
console_video.c (closes issue #13557) 2008-10-09 14:17:33 +00:00
console_video.h implement the 'freeze' function for incoming frames; 2008-06-30 15:45:15 +00:00
iax2-parser.c Informational message, not an error. 2010-01-28 20:00:09 +00:00
iax2-parser.h Expand codec bitfield from 32 bits to 64 bits. 2009-11-04 14:05:12 +00:00
iax2-provision.c AST-2009-005 2009-08-10 19:20:57 +00:00
iax2-provision.h Don't reload a configuration file if nothing has changed. 2007-08-16 21:09:46 +00:00
iax2.h Expand codec bitfield from 32 bits to 64 bits. 2009-11-04 14:05:12 +00:00
misdn_config.c fixes adaptive jitterbuffer configuration 2010-03-02 19:08:38 +00:00
sig_analog.c Simplified dahdi_request() channel selection failed reason/cause code. 2010-03-10 16:55:34 +00:00
sig_analog.h Simplified dahdi_request() channel selection failed reason/cause code. 2010-03-10 16:55:34 +00:00
sig_pri.c Consolidate ast_channel.cid.cid_rdnis into ast_channel.redirecting.from.number. 2010-04-03 02:12:33 +00:00
sig_pri.h Minor tweaks and comment updates to chan_dahdi. 2010-03-11 18:07:16 +00:00
vcodecs.c Const-ify the world (or at least a good part of it) 2009-05-21 21:13:09 +00:00
vgrabbers.c free memory used by the x11 grabber when closing it. 2008-07-14 16:50:54 +00:00