INFO/Record request configurable to use dynamic features
authorJonathan Rose <jrose@digium.com>
Fri, 23 Dec 2011 20:42:21 +0000 (20:42 +0000)
committerJonathan Rose <jrose@digium.com>
Fri, 23 Dec 2011 20:42:21 +0000 (20:42 +0000)
commit19a4928fee5647b78f58d3b5457117360e09c54c
treec4fa60642e82ac9556f660e7cb539d3cec14df3a
parent03596bcb47858095a6f42492768808def97dcbbe
INFO/Record request configurable to use dynamic features

Adds two new options to SIP peers allowing them to specify features (dynamic or builtin)
to use when sending INFO/record requests. Recordonfeature activates whatever feature
is specified when recieving a record: on request while recordofffeature activates
whatever feature is specified when receiving a record: off request. Both of these
features can be disabled by setting the feature to an empty string.

(closes issue ASTERISK-16507)
Reported by: Jon Bright
Review: https://reviewboard.asterisk.org/r/1634/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@349098 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c
channels/sip/include/sip.h
configs/sip.conf.sample
main/features.c