aboutsummaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorlmadsen <lmadsen@f38db490-d61c-443f-a65b-d21fe96a405b>2011-04-13 15:49:33 +0000
committerlmadsen <lmadsen@f38db490-d61c-443f-a65b-d21fe96a405b>2011-04-13 15:49:33 +0000
commitd46f90058041a56d6ff4847ac2749b05a674fff5 (patch)
treed8bb043bd8348e7e55e3d46cb4d81c50f4b4ea78 /configs
parent60e343ea053ad4a1c5ffa034a14381cd6c8cc62b (diff)
Add 'description' field for CLI and Manager output
(closes issue #19076) Reported by: lmadsen Patches: __20110408-channel-description.txt uploaded by lmadsen (license 10) Tested by: lmadsen Review: https://reviewboard.asterisk.org/r/1163/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@313528 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r--configs/chan_dahdi.conf.sample8
-rw-r--r--configs/iax.conf.sample2
-rw-r--r--configs/sip.conf.sample2
-rw-r--r--configs/users.conf.sample2
4 files changed, 14 insertions, 0 deletions
diff --git a/configs/chan_dahdi.conf.sample b/configs/chan_dahdi.conf.sample
index 761c576..dca09cb 100644
--- a/configs/chan_dahdi.conf.sample
+++ b/configs/chan_dahdi.conf.sample
@@ -820,6 +820,11 @@ pickupgroup=1
;
;useincomingcalleridondahditransfer = yes
;
+; Add a description for the channel which can be shown through the Asterisk
+; console when executing the 'dahdi show channels' command is run.
+;
+;description=Phone located in lobby
+;
; AMA flags affects the recording of Call Detail Records. If specified
; it may be 'default', 'omit', 'billing', or 'documentation'.
;
@@ -1068,10 +1073,13 @@ pickupgroup=1
;
;
;callerid="Green Phone"<(256) 428-6121>
+;description=Reception Phone ; add a description for 'dahdi show channels'
;channel => 1
;callerid="Black Phone"<(256) 428-6122>
+;description=Courtesy Phone
;channel => 2
;callerid="CallerID Phone" <(630) 372-1564>
+;description= ; reset the description for following channels
;channel => 3
;callerid="Pac Tel Phone" <(256) 428-6124>
;channel => 4
diff --git a/configs/iax.conf.sample b/configs/iax.conf.sample
index a3d0fea..d08aa31 100644
--- a/configs/iax.conf.sample
+++ b/configs/iax.conf.sample
@@ -504,6 +504,7 @@ type=peer
username=asterisk
secret=supersecret
host=216.207.245.47
+description=Demo System At Digium ; Description of this peer, as listed by 'iax2 show peers'
;sendani=no
;host=asterisk.linux-support.net
;port=5036
@@ -544,6 +545,7 @@ host=216.207.245.47
;[biggateway]
;type=peer
;host=192.168.0.1
+;description=Gateway to PSTN
;context=*
;secret=myscret
;trunk=yes ; Use IAX2 trunking with this host
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample
index a60ea34..5c8fa4d 100644
--- a/configs/sip.conf.sample
+++ b/configs/sip.conf.sample
@@ -1100,6 +1100,7 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; use_q850_reason
; maxforwards
; encryption
+; description ; Used to provide a description of the peer in console output
;[sip_proxy]
; For incoming calls only. Example: FWD (Free World Dialup)
@@ -1195,6 +1196,7 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
;context=from-sip ; Where to start in the dialplan when this phone calls
;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'.
;host=192.168.0.23 ; we have a static but private IP address
; No registration allowed
;nat=no ; there is not NAT between phone and Asterisk
diff --git a/configs/users.conf.sample b/configs/users.conf.sample
index 7612546..50b80a1 100644
--- a/configs/users.conf.sample
+++ b/configs/users.conf.sample
@@ -87,6 +87,8 @@ pickupgroup = 1
;[6000]
;fullname = Joe User
+;description = Courtesy Phone In Lobby ; Used to provide a description of the
+ ; peer in console output
;email = joe@foo.bar
;secret = 1234
;dahdichan = 1