[asterisk-bugs] [JIRA] (ASTERISK-22246) Asterisk's "T" flag is ignored when used with "r" or "R" flags. (documentation bug)

Rusty Newton (JIRA) noreply at issues.asterisk.org
Fri Aug 2 17:17:03 CDT 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-22246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-22246:
------------------------------------

    Status: Open  (was: Triage)
    
> Asterisk's "T" flag is ignored when used with "r" or "R" flags. (documentation bug)
> -----------------------------------------------------------------------------------
>
>                 Key: ASTERISK-22246
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22246
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Logging, General
>    Affects Versions: 11.5.0
>         Environment: Ubuntu 12.04,  ubuntu 3.2.0-45-generic #70-Ubuntu SMP Wed May 29 20:12:06 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
> GNU bash, version 4.2.25(1)-release (x86_64-pc-linux-gnu)
>            Reporter: Rusty Newton
>            Severity: Trivial
>
> In asterisk.conf, "timestamp=" is not defined.
> An example with "asterisk -cTvvvddd"
> {noformat}
> [Aug  2 16:54:50]        > 0x7f852c02cab0 -- Probation passed - setting RTP source address to 127.0.0.1:5026
> [Aug  2 16:54:50] DEBUG[5209][C-00000000]: pbx.c:4633 pbx_extension_helper: Launching 'Queue'
> [Aug  2 16:54:50]     -- Executing [7000 at internal:2] Queue("SIP/6004-00000000", "sales") in new stack
> [Aug  2 16:54:50] DEBUG[5209][C-00000000]: app_queue.c:6957 queue_exec: queue: sales, options: , url: , announce: , timeout: , agi: , macro: , gosub: , rule: , position: 
> {noformat}
> An example with:
> 1. asterisk
> 2. asterisk -rTvvvddd
> {noformat}
>        > 0x7f961c01a290 -- Probation passed - setting RTP source address to 127.0.0.1:5030
> [Aug  2 16:58:03] DEBUG[5450][C-00000000]: pbx.c:4633 pbx_extension_helper: Launching 'Queue'
>     -- Executing [7000 at internal:2] Queue("SIP/6004-00000000", "sales") in new stack
> [Aug  2 16:58:03] DEBUG[5450][C-00000000]: app_queue.c:6957 queue_exec: queue: sales, options: , url: , announce: , timeout: , agi: , macro: , gosub: , rule: , position: 
> {noformat}
> We should probably change the flag description in man page and "asterisk -h" output to mention you have to enable it when starting Asterisk... this probably applies to other commands as well..
> man page:
> {noformat}
> -T     Add timestamp to all non-command related output going to the console when running with verbose and/or logging to  the  con‐
>               sole.
> {noformat}
> "asterisk -h":
> {noformat}
>    -T              Display the time in [Mmm dd hh:mm:ss] format for each line
>                    of output to the CLI
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list