cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
617
Views
0
Helpful
6
Replies

How do I find out which PRI b-channel a tty line is using?

tbowen555
Level 1
Level 1

I use the show line command and it shows:

dsx1(slot/unit/channel)=3/0/15, status=VDEV_STATUS_ACTIVE_CALL.VDEV_STATUS_NEGOTIATED.

but when i do show isdn status the b-channel 15 does not show as having an active layer 3 call.  Is there some wierd numbering scheme?  How do I find out which b-channel a tty line is using?

6 Replies 6

Chris Deren
Hall of Fame
Hall of Fame

Use "show voice call status" command.

Chris

Hmm, that doesn't seem to work. When I do show isdn status I get:

Global ISDN Switchtype = primary-dms100
ISDN Serial3/0:23 interface
        dsl 0, interface ISDN Switchtype = primary-dms100
    Layer 1 Status:
        ACTIVE
    Layer 2 Status:
        TEI = 0, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
    Layer 3 Status:
        8 Active Layer 3 Call(s)
        CCB:callid=801E, sapi=0, ces=0, B-chan=23, calltype=VOICE
        CCB:callid=807A, sapi=0, ces=0, B-chan=20, calltype=VOICE
        CCB:callid=80AC, sapi=0, ces=0, B-chan=19, calltype=VOICE
        CCB:callid=80BA, sapi=0, ces=0, B-chan=21, calltype=VOICE
        CCB:callid=80C5, sapi=0, ces=0, B-chan=22, calltype=VOICE
        CCB:callid=80CE, sapi=0, ces=0, B-chan=18, calltype=VOICE
        CCB:callid=80E7, sapi=0, ces=0, B-chan=17, calltype=VOICE
        CCB:callid=80FF, sapi=0, ces=0, B-chan=16, calltype=VOICE
    Active dsl 0 CCBs = 8
    The Free Channel Mask:  0x80007FFF
    Number of L2 Discards = 0, L2 Session ID = 2


for the active serial interface but when I do show voice call status I get:

CallID     CID  ccVdb      Port        Slot/DSP:Ch  Called #   Codec    Dial-peers
No active calls found


There are 3 users on tty ports, two show:

dsx1(slot/unit/channel)=NONE, status=VDEV_STATUS_UNLOCKED

for the show line command but one shows:

dsx1(slot/unit/channel)=3/0/15, status=VDEV_STATUS_ACTIVE_CALL.VDEV_STATUS_NEGOTIATED

I want to clear the channels that aren't actually in use but not ones that are.  These are not actually voice calls but calls to modems that I think sometimes don't get the ath command sent.

Hi.

Do you have configured TTY on your Voice gateway?

If yes please post your config here.

And if show voice call status doesn't give any output while show isdn status or show isdn active give some output, probably they are all TTY sessions.

 

Let us know

 

Regards

 

Carlo

Please rate all helpful posts "The more you help the more you learn"

Not sure what you mean "Do you have configured TTY on your Voice gateway?".

I am using DDR dialer profiles:

...

interface Serial3/0:23                                                                                                              
 no ip address                                                                                                                      
 encapsulation ppp                                                                                                                  
 dialer pool-member 1                                                                                                               
 isdn switch-type primary-dms100                                                                                                    
 isdn incoming-voice modem                                                                                                          
 isdn map address *.* plan isdn type national                                                                                       
 isdn outgoing display-ie                                                                                                           
 no cdp enable

...

interface Dialer1                                                                                                                   
 no ip address                                                                                                                      
 encapsulation ppp                                                                                                                  
 dialer pool 1                                                                                                                      
 dialer idle-timeout 3600                                                                                                           
 dialer-group 1                                                                                                                     
 no cdp enable                                                                                                                      
 ppp authentication chap                                                                                                            
 ppp multilink                                                                                                                      
!                                                                                                                                   
interface Group-Async0                                                                                                              
 ip unnumbered GigabitEthernet0/0                                                                                                   
 encapsulation ppp                                                                                                                  
 no ip mroute-cache                                                                                                                 
 dialer in-band                                                                                                                     
 dialer idle-timeout 3600                                                                                                           
 dialer-group 1                                                                                                                     
 async dynamic address                                                                                                              
 async mode interactive                                                                                                             
 peer default ip address pool dyn_pool                                                                                              
 compress mppc                                                                                                                      
 ppp pfc remote ignore                                                                                                              
 ppp acfc remote ignore                                                                                                             
 ppp callback accept                                                                                                                
 ppp authentication chap                                                                                                            
 ppp multilink                                                                                                                      
 group-range 1/00 1/59                                                                                                              
 routing dynamic                                                                                                                   
...

line 1/00 1/59
 session-timeout 60
 exec-timeout 15 0
 script modem-off-hook offhook
 script callback callback
 no modem InOut
 rotary 1 queued
 no exec
 transport preferred none
 transport input ssh
 transport output telnet
 escape-character NONE
 autoselect during-login
 autoselect ppp
 autohangup

Hi

What I meant is if you are using your T1 for data calls.

Can you please share a show isdn active detail and a show line?

Thanks

 

Regards

Carlo

 

Please rate all helpful posts "The more you help the more you learn"

Yes I am using the circuit for data calls.  It is an ISDN PRI - T1

 

as5350xm#show isdn active
--------------------------------------------------------------------------------
                                ISDN ACTIVE CALLS                               
--------------------------------------------------------------------------------
Call    Calling      Called       Remote  Seconds Seconds Seconds Charges       
Type    Number       Number       Name    Used    Left    Idle    Units/Currency
--------------------------------------------------------------------------------
Out   ---N/A--- +1234567890                     3 Unavail   -          0        
--------------------------------------------------------------------------------

as5350xm#sh isdn status
Global ISDN Switchtype = primary-dms100
ISDN Serial3/0:23 interface            
        dsl 0, interface ISDN Switchtype = primary-dms100
    Layer 1 Status:                                      
        ACTIVE                                           
    Layer 2 Status:                                      
        TEI = 0, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
    Layer 3 Status:                                                                                                                                                    
        10 Active Layer 3 Call(s)                                                                                                                                      
        CCB:callid=801E, sapi=0, ces=0, B-chan=23, calltype=VOICE                                                                                                      
        CCB:callid=807A, sapi=0, ces=0, B-chan=20, calltype=VOICE                                                                                                      
        CCB:callid=80AC, sapi=0, ces=0, B-chan=19, calltype=VOICE                                                                                                      
        CCB:callid=80BA, sapi=0, ces=0, B-chan=21, calltype=VOICE                                                                                                      
        CCB:callid=80C5, sapi=0, ces=0, B-chan=22, calltype=VOICE                                                                                                      
        CCB:callid=80CE, sapi=0, ces=0, B-chan=18, calltype=VOICE                                                                                                      
        CCB:callid=8116, sapi=0, ces=0, B-chan=15, calltype=VOICE                                                                                                      
        CCB:callid=8134, sapi=0, ces=0, B-chan=17, calltype=VOICE                                                                                                      
        CCB:callid=8135, sapi=0, ces=0, B-chan=16, calltype=VOICE                                                                                                      
        CCB:callid=8136, sapi=0, ces=0, B-chan=14, calltype=VOICE                                                                                                      
    Active dsl 0 CCBs = 10                                                                                                                                             
    The Free Channel Mask:  0x80001FFF                                                                                                                                 
    Number of L2 Discards = 0, L2 Session ID = 2                                                                                                                       
                                                                                                                                                                       
as5350xm#who                                                                                                                                                         
    Line       User       Host(s)              Idle       Location                                                                                                     
*  2 vty 0     xxxxxxxx        idle                 00:00:00 172.16.3.2                                                                                                     
  tty 1/06     yyyyyyyy        incoming             00:03:45 172.16.3.2                                                                                                     
  tty 1/07     zzzzzzz        incoming             00:00:00 172.16.3.2                                                                                                     
  tty 1/09     aaaaaaa        incoming             00:00:01 172.16.3.2                                                                                                     

  Interface    User               Mode         Idle     Peer Address

as5350xm#sh line 1/06
   Tty Typ     Tx/Rx    A Modem  Roty AccO AccI   Uses   Noise  Overruns   Int
*     1/06 Digital modem -    -      1    -    -     84       2     0/0       -

Line 1/06, Location: "", Type: "xterm"
Length: 65 lines, Width: 237 columns  
Status: Ready, Connected, Active, Notify Process
Capabilities: EXEC Suppressed, Hardware Flowcontrol In,
  Hardware Flowcontrol Out, Line usable as async interface,
  Hangup on Last Close, Integrated Modem, Async Queueing    
Modem state: Ready                                          
  modem(slot/port)=1/6, state=CONNECTED                     
  dsx1(slot/unit/channel)=3/0/16, status=VDEV_STATUS_ACTIVE_CALL.VDEV_STATUS_NEGOTIATED.
Modem hardware state: DTR  DCD*  CTS  RTS*                                              
Group codes:    0                                                                       
Special Chars: Escape  Hold  Stop  Start  Disconnect  Activation                        
                none   none   -     -       none                                        
Timeouts:      Idle EXEC    Idle Session   Modem Answer  Session   Dispatch             
               00:15:00       01:00:00                       none     not set           
                            Idle Session Disconnect Warning                             
                              never                                                     
                            Login-sequence User Response                                
                             00:00:30                                                   
                            Autoselect Initial Wait                                     
                              not set                                                   
Modem type is unknown.                                                                  
Session limit is not set.                                                               
Time since activation: 01:07:37                                                         
Editing is enabled.                                                                     
History is enabled, history size is 20.                                                 
DNS resolution in show commands is enabled                                              
Full user help is disabled                                                              
Allowed input transports are ssh.                                                       
Allowed output transports are telnet.                                                   
Preferred transport is none.                                                            
No output characters are padded                                                         
No special data dispatching characters     

                                             
as5350xm#sh line 1/07                                                                 
   Tty Typ     Tx/Rx    A Modem  Roty AccO AccI   Uses   Noise  Overruns   Int          
*     1/07 Digital modem -    -      1    -    -     38       3     0/0       -         

Line 1/07, Location: "", Type: "ibm3151"
Length: 25 lines, Width: 80 columns     
Status: Ready, Connected, Active, Notify Process
Capabilities: EXEC Suppressed, Hardware Flowcontrol In,
  Hardware Flowcontrol Out, Line usable as async interface,
  Hangup on Last Close, Integrated Modem, Async Queueing    
Modem state: Ready                                          
  modem(slot/port)=1/7, state=CONNECTED                     
  dsx1(slot/unit/channel)=3/0/15, status=VDEV_STATUS_ACTIVE_CALL.VDEV_STATUS_NEGOTIATED.
Modem hardware state: DTR  DCD*  CTS  RTS*                                              
Group codes:    0                                                                       
Special Chars: Escape  Hold  Stop  Start  Disconnect  Activation                        
                none   none   -     -       none                                        
Timeouts:      Idle EXEC    Idle Session   Modem Answer  Session   Dispatch             
               00:15:00       01:00:00                       none     not set           
                            Idle Session Disconnect Warning                             
                              never                                                     
                            Login-sequence User Response
                             00:00:30
                            Autoselect Initial Wait
                              not set
Modem type is unknown.
Session limit is not set.
Time since activation: 01:46:18
Editing is enabled.
History is enabled, history size is 20.
DNS resolution in show commands is enabled
Full user help is disabled
Allowed input transports are ssh.
Allowed output transports are telnet.
Preferred transport is none.
No output characters are padded
No special data dispatching characters


as5350xm#sh line 1/09
   Tty Typ     Tx/Rx    A Modem  Roty AccO AccI   Uses   Noise  Overruns   Int
*     1/09 Digital modem -    -      1    -    -     26       1     0/0       -

Line 1/09, Location: "", Type: "vt100"
Length: 36 lines, Width: 120 columns
Status: Ready, Connected, Active, Notify Process
Capabilities: EXEC Suppressed, Hardware Flowcontrol In,
  Hardware Flowcontrol Out, Line usable as async interface,
  Hangup on Last Close, Integrated Modem, Async Queueing
Modem state: Ready
  modem(slot/port)=1/9, state=CONNECTED
  dsx1(slot/unit/channel)=3/0/13, status=VDEV_STATUS_ACTIVE_CALL.VDEV_STATUS_NEGOTIATED.
Modem hardware state: DTR  DCD*  CTS  RTS*
Group codes:    0
Special Chars: Escape  Hold  Stop  Start  Disconnect  Activation
                none   none   -     -       none
Timeouts:      Idle EXEC    Idle Session   Modem Answer  Session   Dispatch
               00:15:00       01:00:00                       none     not set
                            Idle Session Disconnect Warning
                              never
                            Login-sequence User Response
                             00:00:30
                            Autoselect Initial Wait
                              not set
Modem type is unknown.
Session limit is not set.
Time since activation: 00:02:20
Editing is enabled.
History is enabled, history size is 20.
DNS resolution in show commands is enabled
Full user help is disabled
Allowed input transports are ssh.
Allowed output transports are telnet.
Preferred transport is none.
No output characters are padded
No special data dispatching characters