All pastes #444902 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-04-17 16:01 UTC
rendered paste body
<[TK]D-Fender> DeeJayTwo: Pastbin the CLI output of a call at verbose 10, and then do "show channels concise" 
		followed by show channel [channel]" for each leg of the call.


Verbose 10 call establishment:

    -- Executing [102@incoming-sip:1] Set("SIP/107-08277140", "DYNAMIC_FEATURES=testfeature") in new stack
    -- Executing [102@incoming-sip:2] Set("SIP/107-08277140", "e=SIP/107") in new stack
    -- Executing [102@incoming-sip:3] Set("SIP/107-08277140", "e=107") in new stack
    -- Executing [102@incoming-sip:4] Set("SIP/107-08277140", "ex=102") in new stack
    -- Executing [102@incoming-sip:5] GotoIf("SIP/107-08277140", "0?dial_speaker|102|1") in new stack
    -- Executing [102@incoming-sip:6] GotoIf("SIP/107-08277140", "0?dial_vm|1") in new stack
    -- Executing [102@incoming-sip:7] GotoIf("SIP/107-08277140", "0?dial_cell|1") in new stack
    -- Executing [102@incoming-sip:8] GotoIf("SIP/107-08277140", "0?dial_house|1") in new stack
    -- Executing [102@incoming-sip:9] Goto("SIP/107-08277140", "dial_exten|102|1") in new stack
    -- Goto (dial_exten,102,1)
    -- Executing [102@dial_exten:1] GotoIf("SIP/107-08277140", "1?novm") in new stack
    -- Goto (dial_exten,102,3)
 Extension Changed 107 new state InUse for Notify User 102
    -- Executing [102@dial_exten:3] GotoIf("SIP/107-08277140", "1?interne") in new stack
 Extension Changed 107 new state InUse for Notify User 110
 Extension Changed 107 new state InUse for Notify User 105
 Extension Changed 107 new state InUse for Notify User 108
 Extension Changed 107 new state InUse for Notify User 107
 Extension Changed 107 new state InUse for Notify User 100
 Extension Changed 107 new state InUse for Notify User 106
 Extension Changed 107 new state InUse for Notify User 101
 Extension Changed 107 new state InUse for Notify User 104
 Extension Changed 107 new state InUse for Notify User 109
    -- Incoming call: Got SIP response 500 "Internal Server Error" back from 192.168.101.193
    -- Goto (dial_exten,102,6)
    -- Executing [102@dial_exten:6] Macro("SIP/107-08277140", "dial|SIP/102||wWtT") in new stack
    -- Executing [s@macro-dial:1] GotoIf("SIP/107-08277140", "0?replace|1") in new stack
    -- Executing [s@macro-dial:2] GotoIf("SIP/107-08277140", "0?noop") in new stack
    -- Executing [s@macro-dial:3] Dial("SIP/107-08277140", "SIP/102||wWtT") in new stack
    -- Called 102
 Extension Changed 102 new state Ringing for Notify User 101
 Extension Changed 102 new state Ringing for Notify User 100
    -- SIP/102-0827b0a8 is ringing
    -- Call on SIP/102-0827b0a8 left from hold
    -- SIP/102-0827b0a8 answered SIP/107-08277140
 Extension Changed 102 new state InUse for Notify User 101
 Extension Changed 102 new state InUse for Notify User 100




show channels concise
SIP/102-08231e80!incoming-sip!!1!Up!Bridged Call!SIP/107-08237368!102!!3!!SIP/107-08237368
SIP/107-08237368!macro-dial!s!3!Up!Dial!SIP/102||wWtT!107!!3!25!SIP/102-08231e80


SIP/102-08231e80:

shrimp*CLI> show channel SIP/102-08231e80
 -- General --
           Name: SIP/102-08231e80
           Type: SIP
       UniqueID: 1176824995.27
      Caller ID: 102
 Caller ID Name: (N/A)
    DNID Digits: (N/A)
          State: Up (6)
          Rings: 0
  NativeFormats: 0x4 (ulaw)
    WriteFormat: 0x4 (ulaw)
     ReadFormat: 0x4 (ulaw)
 WriteTranscode: No
  ReadTranscode: No
1st File Descriptor: 43
      Frames in: 4352
     Frames out: 4332
 Time to Hangup: 0
   Elapsed Time: N/A
  Direct Bridge: SIP/107-08237368
Indirect Bridge: SIP/107-08237368
 --   PBX   --
        Context: incoming-sip
      Extension:
       Priority: 1
     Call Group: 4
   Pickup Group: 4
    Application: Bridged Call
           Data: SIP/107-08237368
    Blocking in: ast_waitfor_nandfds
      Variables:
BRIDGEPEER=SIP/107-08237368
DIALEDPEERNUMBER=102
SIPCALLID=36a0fad5376e50fa42e18a5e0b34425a@192.168.101.2



shrimp*CLI> show channel SIP/107-08237368
 -- General --
           Name: SIP/107-08237368
           Type: SIP
       UniqueID: 1176824995.26
      Caller ID: 107
 Caller ID Name: Charles Poirier
    DNID Digits: 102
          State: Up (6)
          Rings: 0
  NativeFormats: 0x4 (ulaw)
    WriteFormat: 0x4 (ulaw)
     ReadFormat: 0x4 (ulaw)
 WriteTranscode: No
  ReadTranscode: No
1st File Descriptor: 39
      Frames in: 7713
     Frames out: 7716
 Time to Hangup: 0
   Elapsed Time: 0h1m27s
  Direct Bridge: SIP/102-08231e80
Indirect Bridge: SIP/102-08231e80
 --   PBX   --
        Context: macro-dial
      Extension: s
       Priority: 3
     Call Group: 4
   Pickup Group: 4
    Application: Dial
           Data: SIP/102||wWtT
    Blocking in: ast_waitfor_nandfds
      Variables:
BRIDGEPEER=SIP/102-08231e80
DIALEDPEERNUMBER=102
DIALEDPEERNAME=SIP/102-08231e80
MACRO_DEPTH=1
ARG3=wWtT
ARG2=
ARG1=SIP/102
MACRO_PRIORITY=6
MACRO_CONTEXT=dial_exten
MACRO_EXTEN=102
ex=102
e=107
DYNAMIC_FEATURES=testfeature
SIPCALLID=aa156030-88924d82-44e968f5@192.168.101.198
SIPUSERAGENT=PolycomSoundPointIP-SPIP_501-UA/1.6.7.0098
SIPDOMAIN=192.168.101.2
SIPURI=sip:107@192.168.101.198