summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorJonathan Rose <jrose@digium.com>2011-12-23 20:42:21 +0000
committerJonathan Rose <jrose@digium.com>2011-12-23 20:42:21 +0000
commit19a4928fee5647b78f58d3b5457117360e09c54c (patch)
treec4fa60642e82ac9556f660e7cb539d3cec14df3a /configs
parent03596bcb47858095a6f42492768808def97dcbbe (diff)
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
Diffstat (limited to 'configs')
-rw-r--r--configs/sip.conf.sample12
1 files changed, 12 insertions, 0 deletions
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample
index 115b33709..358481143 100644
--- a/configs/sip.conf.sample
+++ b/configs/sip.conf.sample
@@ -143,6 +143,16 @@ allowoverlap=no ; Disable overlap dialing support. (Default is y
; In this case Realm will be based on request 'From'/'To' header
; and should match one of domain names.
; Otherwise default 'realm=...' will be used.
+;recordonfeature=automixmon ; Default feature to use when receiving 'Record: on' header
+ ; from an INFO message. Defaults to 'automon'. Works with
+ ; dynamic features. Feature must be usable on requesting
+ ; channel for it to work. Setting this value to a blank
+ ; will disable it.
+;recordofffeature=automixmon ; Default feature to use when receiving 'Record: off' header
+ ; from an INFO message. Defaults to 'automon'. Works with
+ ; dynamic features. Feature must be usable on requesting
+ ; channel for it to work. Setting this value to a blank
+ ; will disable it.
; With the current situation, you can do one of four things:
; a) Listen on a specific IPv4 address. Example: bindaddr=192.0.2.1
@@ -1268,6 +1278,8 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
;[grandstream1]
;type=friend
;context=from-sip ; Where to start in the dialplan when this phone calls
+;recordonfeature=dynamicfeature1 ; Feature to use when INFO with Record: on is received.
+;recordofffeature=dynamicfeature2 ; Feature to use when INFO with Record: off is received.
;callerid=John Doe <1234> ; Full caller ID, to override the phones config
; on incoming calls to Asterisk
;description=Courtesy Phone ; Description of the peer. Shown when doing 'sip show peers'.