diff options
author | Leif Madsen <leif@leifmadsen.com> | 2011-04-13 15:49:33 +0000 |
---|---|---|
committer | Leif Madsen <leif@leifmadsen.com> | 2011-04-13 15:49:33 +0000 |
commit | b8b1d085db3c741adf2500161ee869f4f0f910cf (patch) | |
tree | d8bb043bd8348e7e55e3d46cb4d81c50f4b4ea78 /configs | |
parent | 11852af23a3583bee6de39d87da15d8d6a1b9530 (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: https://origsvn.digium.com/svn/asterisk/trunk@313528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r-- | configs/chan_dahdi.conf.sample | 8 | ||||
-rw-r--r-- | configs/iax.conf.sample | 2 | ||||
-rw-r--r-- | configs/sip.conf.sample | 2 | ||||
-rw-r--r-- | configs/users.conf.sample | 2 |
4 files changed, 14 insertions, 0 deletions
diff --git a/configs/chan_dahdi.conf.sample b/configs/chan_dahdi.conf.sample index 761c5760b..dca09cb56 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 a3d0fea12..d08aa31dc 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 a60ea347d..5c8fa4de9 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 7612546b3..50b80a1c5 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 |