[asterisk-dev] [Code Review] 2825: Remote console: more output discrepancies

Guenther Kelleter reviewboard at asterisk.org
Thu Sep 12 02:42:23 CDT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2825/#review9663
-----------------------------------------------------------


Sometimes DumpChan() output is missing the magic/prefix in several lines:

[...]
  == Using SIP RTP TOS bits 128
  == Using SIP RTP CoS mark 5
    -- SIP/10-0000003e Internal Gosub(macro-VoodooDial,s,pre-t(10)) start
    -- Executing [s at macro-VoodooDial:41] ExecIf("SIP/10-0000003e", "1?DumpChan(3)") in new stack
    --
    -- Dumping Info For Channel: SIP/10-0000003e:
    -- ================================================================================
    -- Info:
    -- Name=               SIP/10-0000003e
Type=               SIP
UniqueID=           1378971566.113
LinkedID=           1378971566.112
CallerIDNum=        10
CallerIDName=       Nst. ;10
ConnectedLineIDNum= 44
ConnectedLineIDName=Nst.<< ;44)(${SET(CXT_INTERNAL=xxx)}
DNIDDigits=         (N/A)
RDNIS=              (N/A)
Parkinglot=         default
Language=           de
State=              Down (0)
Rings=              0
NativeFormat=       (alaw)
WriteFormat=        alaw
ReadFormat=         alaw
RawWriteFormat=     alaw
RawReadFormat=      alaw
WriteTranscode=     No
ReadTranscode=      No
1stFileDescriptor=  58
Framesin=           0
Framesout=          0
TimetoHangup=       0
ElapsedTime=        0h0m0s
DirectBridge=       <none>
IndirectBridge=     <none>
Context=            macro-VoodooDial
Extension=          s
Priority=           41
CallGroup=
PickupGroup=
Application=        DumpChan
Data=               3
Blocking_in=        (Not Blocking)

    -- Variables:
    -- ARGC=1
    -- ARG1=10
[...]

- Guenther Kelleter


On Sept. 11, 2013, 4:20 p.m., Kevin Harwell wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2825/
> -----------------------------------------------------------
> 
> (Updated Sept. 11, 2013, 4:20 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Bugs: ASTERISK-22450
>     https://issues.asterisk.org/jira/browse/ASTERISK-22450
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> This is a follow up to https://reviewboard.asterisk.org/r/2798/
> 
> The remote console continued to have issues with its output.  In this case CLI command output would either not show up (if verbose level = 0) or would contain verbose prefixes (if verbose level > 0) once log messages were sent to the remote console.  The fix now distinguishes between verbose log messages and cli command output sent to a remote console.
> 
> 
> Diffs
> -----
> 
>   branches/11/main/asterisk.c 398807 
>   branches/11/main/logger.c 398807 
> 
> Diff: https://reviewboard.asterisk.org/r/2825/diff/
> 
> 
> Testing
> -------
> 
> Duplicated issues.  Then ran scenarios again and observed that the issues were no longer occurring.  Also tried several other combinations of log levels and cli commands between consoles (local/remote).
> 
> 
> Thanks,
> 
> Kevin Harwell
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130912/ad0c2fff/attachment-0001.htm>


More information about the asterisk-dev mailing list