[Asterisk-Users] Help in E1-T1 encoding

Alejandro G ag10 at fibertel.com.ar
Fri Jan 14 12:02:37 MST 2005




Peter,

Sorry for the delay. I had to reconfigure all again. I do I inbound call to
asterisk and the result log is this (hope this is usefull):


Alejandro


Enabled EXTENSIVE debugging on span 1
*CLI> T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (27)

> [ 00 01 01 37 ]

> Supervisory frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 027 P/F: 1
> 0 bytes of data
-- Restarting T203 counter

< [ 00 01 01 37 ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 027 P/F: 1
< 0 bytes of data
-- ACKing all packets from 26 to (but not including) 27
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Got RR response to our frame
-- Restarting T203 counter

< [ 02 01 36 36 08 02 05 00 05 04 03 80 90 a2 18 03 a9 83 81 6c 0c 00 80 31
31 34 37 38 35 33 38 37 37 70 0c 80 30 31 31 35 35 34 34 35 34 30 39 7d 02
91 81 ]

< Informational frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< N(S): 027   0: 0
< N(R): 027   P: 0
< 47 bytes of data
-- ACKing all packets from 26 to (but not including) 27
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
< Protocol Discriminator: Q.931 (8)  len=47
< Call Ref: len= 2 (reference 1280/0x500) (Originator)
< Message type: SETUP (5)
< [04 03 80 90 a2]
< Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer
capability: Speech (0)
<                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode
(16)
<                              Ext: 1  User information layer 1: u-Law (34)
< [18 03 a9 83 81]
< Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive
Dchan: 0
<                        ChanSel: Reserved
<                       Ext: 1  Coding: 0   Number Specified   Channel Type:
3
<                       Ext: 1  Channel: 1 ]
< [6c 0c 00 80 31 31 34 37 38 35 33 38 37 37]
< Calling Number (len=14) [ Ext: 0  TON: Unknown Number Type (0)  NPI:
Unknown Number Plan (0)
<                           Presentation: Presentation permitted, user
number not screened (0) '1147853877' ]
< [70 0c 80 30 31 31 35 35 34 34 35 34 30 39]
< Called Number (len=14) [ Ext: 1  TON: Unknown Number Type (0)  NPI:
Unknown Number Plan (0) '01155335410' ]
< [7d 02 91 81]
< IE: High-layer Compatibility (len = 4)
Sending Receiver Ready (28)

> [ 02 01 01 38 ]

> Supervisory frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 028 P/F: 0
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter

> [ 00 01 36 38 08 02 85 00 02 18 03 a9 83 81 ]

> Informational frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> N(S): 027   0: 0
> N(R): 028   P: 0
> 10 bytes of data
-- Restarting T203 counter
Stopping T_203 timer
Starting T_200 timer
> Protocol Discriminator: Q.931 (8)  len=10
> Call Ref: len= 2 (reference 1280/0x500) (Terminator)
> Message type: CALL PROCEEDING (2)
> [18 03 a9 83 81]
> Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive
Dchan: 0
>                        ChanSel: Reserved
>                       Ext: 1  Coding: 0   Number Specified   Channel Type:
3
>                       Ext: 1  Channel: 1 ]
    -- Accepting call from '1147853877' to '01155335410' on channel 0/1,
span 1
    -- Executing Ringing("Zap/1-1", "") in new stack

> [ 00 01 38 38 08 02 85 00 01 1e 02 81 88 ]

> Informational frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> N(S): 028   0: 0
> N(R): 028   P: 0
> 9 bytes of data
T_200 timer already going (2)
> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 1280/0x500) (Terminator)
> Message type: ALERTING (1)
> [1e 02 81 88]
> Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0:
0   Location: Private network serving the local user (1)
>                               Ext: 1  Progress Description: Inband
information or appropriate pattern now available. (8) ]
    -- Executing Wait("Zap/1-1", "4") in new stack

< [ 00 01 01 38 ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 028 P/F: 0
< 0 bytes of data
-- ACKing all packets from 26 to (but not including) 28
-- ACKing packet 27, new txqueue is 28 (-1 means empty)
-- Something left to transmit (28), restarting T200 counter

< [ 00 01 01 3a ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 029 P/F: 0
< 0 bytes of data
-- ACKing all packets from 27 to (but not including) 29
-- ACKing packet 28, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Nothing left, starting T203 counter
-- Restarting T203 counter
    -- Executing Goto("Zap/1-1", "callthrough|s|1") in new stack
    -- Goto (callthrough,s,1)
    -- Executing SetVar("Zap/1-1", "NR=") in new stack
    -- Executing BackGround("Zap/1-1", "/asterisk/prepaga/prepaid_011") in
new stack

> [ 00 01 3a 38 08 02 85 00 07 18 03 a9 83 81 1e 02 81 82 ]

> Informational frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> N(S): 029   0: 0
> N(R): 028   P: 0
> 14 bytes of data
-- Restarting T203 counter
Stopping T_203 timer
Starting T_200 timer
> Protocol Discriminator: Q.931 (8)  len=14
> Call Ref: len= 2 (reference 1280/0x500) (Terminator)
> Message type: CONNECT (7)
> [18 03 a9 83 81]
> Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive
Dchan: 0
>                        ChanSel: Reserved
>                       Ext: 1  Coding: 0   Number Specified   Channel Type:
3
>                       Ext: 1  Channel: 1 ]
> [1e 02 81 82]
> Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0:
0   Location: Private network serving the local user (1)
>                               Ext: 1  Progress Description: Called
equipment is non-ISDN. (2) ]
    -- Playing '/asterisk/prepaga/prepaid_011' (language 'en')

< [ 00 01 01 3c ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 030 P/F: 0
< 0 bytes of data
-- ACKing all packets from 28 to (but not including) 30
-- ACKing packet 29, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Nothing left, starting T203 counter
-- Restarting T203 counter

< [ 02 01 38 3c 08 02 05 00 0f ]

< Informational frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< N(S): 028   0: 0
< N(R): 030   P: 0
< 5 bytes of data
-- ACKing all packets from 29 to (but not including) 30
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
< Protocol Discriminator: Q.931 (8)  len=5
< Call Ref: len= 2 (reference 1280/0x500) (Originator)
< Message type: CONNECT ACKNOWLEDGE (15)
Sending Receiver Ready (29)

> [ 02 01 01 3a ]

> Supervisory frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 029 P/F: 0
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (29)

> [ 00 01 01 3b ]

> Supervisory frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 029 P/F: 1
> 0 bytes of data
-- Restarting T203 counter

< [ 00 01 01 3d ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 030 P/F: 1
< 0 bytes of data
-- ACKing all packets from 29 to (but not including) 30
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Got RR response to our frame
-- Restarting T203 counter
    -- Executing ResponseTimeout("Zap/1-1", "10") in new stack
    -- Set Response Timeout to 10
    -- Executing WaitExten("Zap/1-1", "") in new stack
T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (29)

> [ 00 01 01 3b ]

> Supervisory frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 029 P/F: 1
> 0 bytes of data
-- Restarting T203 counter

< [ 00 01 01 3d ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 030 P/F: 1
< 0 bytes of data
-- ACKing all packets from 29 to (but not including) 30
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Got RR response to our frame
-- Restarting T203 counter

< [ 02 01 3a 3c 08 02 05 00 45 08 02 82 90 ]

< Informational frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< N(S): 029   0: 0
< N(R): 030   P: 0
< 9 bytes of data
-- ACKing all packets from 29 to (but not including) 30
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 1280/0x500) (Originator)
< Message type: DISCONNECT (69)
< [08 02 82 90]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location:
Public network serving the local user (2)
<                  Ext: 1  Cause: Normal Clearing (16), class = Normal Event
(1) ]
Sending Receiver Ready (30)

> [ 02 01 01 3c ]

> Supervisory frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 030 P/F: 0
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
    -- Channel 0/1, span 1 got hangup
  == Spawn extension (callthrough, s, 4) exited non-zero on 'Zap/1-1'

> [ 00 01 3c 3c 08 02 85 00 4d 08 02 81 90 ]

> Informational frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> N(S): 030   0: 0
> N(R): 030   P: 0
> 9 bytes of data
-- Restarting T203 counter
Stopping T_203 timer
Starting T_200 timer
> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 1280/0x500) (Terminator)
> Message type: RELEASE (77)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location:
Private network serving the local user (1)
>                  Ext: 1  Cause: Normal Clearing (16), class = Normal Event
(1) ]
    -- Hungup 'Zap/1-1'

< [ 00 01 01 3e ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 031 P/F: 0
< 0 bytes of data
-- ACKing all packets from 29 to (but not including) 31
-- ACKing packet 30, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Nothing left, starting T203 counter
-- Restarting T203 counter

< [ 02 01 3c 3e 08 02 05 00 5a ]

< Informational frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< N(S): 030   0: 0
< N(R): 031   P: 0
< 5 bytes of data
-- ACKing all packets from 30 to (but not including) 31
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
< Protocol Discriminator: Q.931 (8)  len=5
< Call Ref: len= 2 (reference 1280/0x500) (Originator)
< Message type: RELEASE COMPLETE (90)
Sending Receiver Ready (31)

> [ 02 01 01 3e ]

> Supervisory frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 031 P/F: 0
> 0 bytes of data
-- Restarting T203 counter

-- Restarting T203 counter








More information about the asterisk-users mailing list