All pastes #492704 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-05-17 11:12 UTC
rendered paste body
#/etc/zaptel.conf
span=1,1,0,ccs,hdb3,crc4
bchan=1-10
dchan=16
unused=11-15,17-31
defaultzone=au
loadzone=au

#/etc/asterisk/zapata.conf
[trunkgroups]
trunkgroup => 1,16
spanmap => 1,1,1

[channels]
busydetect=no
callerid=asreceived
callgroup=1
callprogress=yes
callreturn=yes
callwaiting=no
callwaitingcallerid=yes
cancallforward=no
cidsignalling=bell
cidstart=ring
context=from-telco
echocancel=128
echocancelwhenbridged=yes
echotraining=400
faxdetect=no
hidecallerid=no
immediate=no
jitterbuffers=4
pickupgroup=1
pridialplan=local
priindication = inband
restrictcid=no
rxgain=-3.0
rxwink=250
sendcalleridafter=1
signalling=pri_cpe
switchtype=euroisdn
threewaycalling=yes
transfer=no
txgain=0.0
usecallerid=yes
usecallingpres=yes

group=0
channel => 1-10

#/etc/asterisk/extensions.conf
[from-telco]
exten => _X.,1,Answer
exten => _X.,n,Playback(thanks)
exten => _X.,n,Hangup




asterisk1*CLI>
    -- Accepting call from '' to '43049900' on channel 1/1, span 1
    -- Executing Answer("Zap/1-1", "") in new stack
    -- Executing Playback("Zap/1-1", "thanks") in new stack
    -- Playing 'thanks' (language 'en')
    -- Channel 1/1, span 1 got hangup
  == Spawn extension (from-telco, 900, 2) exited non-zero on 'Zap/1-1'
    -- Hungup 'Zap/1-1'
asterisk1*CLI>





asterisk1*CLI> pri intense debug span 1
Enabled EXTENSIVE debugging on span 1
asterisk1*CLI>
< [ 02 01 01 29 ]

< Supervisory frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 020 P/F: 1
< 0 bytes of data
-- ACKing all packets from 19 to (but not including) 20
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Unsolicited RR with P/F bit, responding
Sending Receiver Ready (20)

> [ 02 01 01 29 ]

> Supervisory frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 020 P/F: 1
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
asterisk1*CLI>
< [ 02 01 28 28 08 02 00 75 05 a1 04 03 80 90 a3 18 03 a1 83 81 1e 02 82 83 6c 0c 21 83 30 32
34 33 32 35 32 38 36 35 70 04 c1 39 30 30 ]

< Informational frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< N(S): 020   0: 0
< N(R): 020   P: 0
< 40 bytes of data
-- ACKing all packets from 19 to (but not including) 20
-- 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=40
< Call Ref: len= 2 (reference 117/0x75) (Originator)
< Message type: SETUP (5)
< [a1]
< Sending Complete (len= 1)
< [04 03 80 90 a3]
< 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: A-Law (35)
< [18 03 a1 83 81]
< Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Preferred Dchan: 0
<                        ChanSel: Reserved
<                       Ext: 1  Coding: 0   Number Specified   Channel Type: 3
<                       Ext: 1  Channel: 1 ]
< [1e 02 82 83]
< Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location: Publ
ic network serving the local user (2)
<                               Ext: 1  Progress Description: Calling equipment is non-ISDN. (
3) ]
< [6c 0c 21 83 30 32 34 33 32 35 32 38 36 35]
< Calling Number (len=14) [ Ext: 0  TON: National Number (2)  NPI: ISDN/Telephony Numbering Pl
an (E.164/E.163) (1)
<                           Presentation: Presentation allowed of network provided number (3)
'0243252865' ]
< [70 04 c1 39 30 30]
< Called Number (len= 6) [ Ext: 1  TON: Subscriber Number (4)  NPI: ISDN/Telephony Numbering P
lan (E.164/E.163) (1) '900' ]
Sending Receiver Ready (21)

> [ 02 01 01 2a ]

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

> [ 00 01 28 2a 08 02 80 75 02 18 04 e9 81 83 81 ]

> Informational frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> N(S): 020   0: 0
> N(R): 021   P: 0
> 11 bytes of data
-- Restarting T203 counter
Stopping T_203 timer
Starting T_200 timer
> Protocol Discriminator: Q.931 (8)  len=11
> Call Ref: len= 2 (reference 117/0x75) (Terminator)
> Message type: CALL PROCEEDING (2)
> [18 04 e9 81 83 81]
> Channel ID (len= 6) [ Ext: 1  IntID: Explicit, PRI Spare: 0, Exclusive Dchan: 0
>                        ChanSel: Reserved
>                       Ext: 1  DS1 Identifier: 1
>                       Ext: 1  Coding: 0   Number Specified   Channel Type: 3
>                       Ext: 1  Channel: 1 ]
    -- Accepting call from '0243252865' to '900' on channel 1/1, span 1
    -- Executing Answer("Zap/1-1", "") in new stack

> [ 00 01 2a 2a 08 02 80 75 07 18 04 e9 81 83 81 1e 02 81 82 ]

> Informational frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> N(S): 021   0: 0
> N(R): 021   P: 0
> 15 bytes of data
T_200 timer already going (1)
> Protocol Discriminator: Q.931 (8)  len=15
> Call Ref: len= 2 (reference 117/0x75) (Terminator)
> Message type: CONNECT (7)
> [18 04 e9 81 83 81]
> Channel ID (len= 6) [ Ext: 1  IntID: Explicit, PRI Spare: 0, Exclusive Dchan: 0
>                        ChanSel: Reserved
>                       Ext: 1  DS1 Identifier: 1
>                       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: Priv
ate network serving the local user (1)
>                               Ext: 1  Progress Description: Called equipment is non-ISDN. (2
) ]
    -- Executing Playback("Zap/1-1", "thanks") in new stack
    -- Playing 'thanks' (language 'en')
asterisk1*CLI>
< [ 00 01 01 2a ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 021 P/F: 0
< 0 bytes of data
-- ACKing all packets from 19 to (but not including) 21
-- ACKing packet 20, new txqueue is 21 (-1 means empty)
-- Something left to transmit (21), restarting T200 counter
asterisk1*CLI>
< [ 02 01 2a 2a 08 02 00 75 4d 08 02 80 86 ]

< Informational frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< N(S): 021   0: 0
< N(R): 021   P: 0
< 9 bytes of data
-- ACKing all packets from 20 to (but not including) 21
-- Something left to transmit (21), restarting T200 counter
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 117/0x75) (Originator)
< Message type: RELEASE (77)
< [08 02 80 86]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location: User (0)
<                  Ext: 1  Cause: Channel unacceptable (6), class = Normal Event (0) ]
Sending Receiver Ready (22)

> [ 02 01 01 2c ]

> Supervisory frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 022 P/F: 0
> 0 bytes of data
    -- Channel 1/1, span 1 got hangup
asterisk1*CLI>
< [ 00 01 01 2c ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 022 P/F: 0
< 0 bytes of data
-- ACKing all packets from 20 to (but not including) 22
-- ACKing packet 21, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Nothing left, starting T203 counter
-- Restarting T203 counter
asterisk1*CLI>
< [ 02 01 2c 2c 08 02 00 75 7d 08 03 80 e5 07 14 01 13 ]

< Informational frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< N(S): 022   0: 0
< N(R): 022   P: 0
< 13 bytes of data
-- ACKing all packets from 21 to (but not including) 22
-- 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=13
< Call Ref: len= 2 (reference 117/0x75) (Originator)
< Message type: STATUS (125)
< [08 03 80 e5 07]
< Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location: User (0)
<                  Ext: 1  Cause: Message not compatible with call state (101), class = Protoc
ol Error (6) ]
<              Cause data 1: 07 (7, CONNECT message)
< [14 01 13]
< Call State (len= 3) [ Ext: 0  Coding: CCITT (ITU) standard (0) Call state: Release Request (
19)
Sending Receiver Ready (23)

> [ 02 01 01 2e ]

> Supervisory frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 023 P/F: 0
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
  == Spawn extension (from-telco, 900, 2) exited non-zero on 'Zap/1-1'
asterisk1*CLI>
> [ 00 01 2c 2e 08 02 80 75 5a 08 02 81 90 ]
asterisk1*CLI>
> Informational frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> N(S): 022   0: 0
> N(R): 023   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 117/0x75) (Terminator)
> Message type: RELEASE COMPLETE (90)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location: Private network s
erving the local user (1)
>                  Ext: 1  Cause: Normal Clearing (16), class = Normal Event (1) ]
    -- Hungup 'Zap/1-1'
asterisk1*CLI>
< [ 00 01 01 2e ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 023 P/F: 0
< 0 bytes of data
-- ACKing all packets from 21 to (but not including) 23
-- ACKing packet 22, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Nothing left, starting T203 counter
-- Restarting T203 counter
asterisk1*CLI>
< [ 02 01 01 2f ]

< Supervisory frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 023 P/F: 1
< 0 bytes of data
-- ACKing all packets from 22 to (but not including) 23
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Unsolicited RR with P/F bit, responding
Sending Receiver Ready (23)

> [ 02 01 01 2f ]

> Supervisory frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 023 P/F: 1
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
asterisk1*CLI>
< [ 02 01 01 2f ]

< Supervisory frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 023 P/F: 1
< 0 bytes of data
-- ACKing all packets from 22 to (but not including) 23
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Unsolicited RR with P/F bit, responding
Sending Receiver Ready (23)

> [ 02 01 01 2f ]

> Supervisory frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 023 P/F: 1
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
asterisk1*CLI>
< [ 02 01 01 2f ]

< Supervisory frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 023 P/F: 1
< 0 bytes of data
-- ACKing all packets from 22 to (but not including) 23
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Unsolicited RR with P/F bit, responding
Sending Receiver Ready (23)

> [ 02 01 01 2f ]

> Supervisory frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 023 P/F: 1
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
asterisk1*CLI>
< [ 02 01 01 2f ]

< Supervisory frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 023 P/F: 1
< 0 bytes of data
-- ACKing all packets from 22 to (but not including) 23
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Unsolicited RR with P/F bit, responding
Sending Receiver Ready (23)

> [ 02 01 01 2f ]

> Supervisory frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 023 P/F: 1
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
asterisk1*CLI>
< [ 02 01 01 2f ]

< Supervisory frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 023 P/F: 1
< 0 bytes of data
-- ACKing all packets from 22 to (but not including) 23
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Unsolicited RR with P/F bit, responding
Sending Receiver Ready (23)

> [ 02 01 01 2f ]

> Supervisory frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 023 P/F: 1
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
asterisk1*CLI>
< [ 02 01 01 2f ]

< Supervisory frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 023 P/F: 1
< 0 bytes of data
-- ACKing all packets from 22 to (but not including) 23
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Unsolicited RR with P/F bit, responding
Sending Receiver Ready (23)

> [ 02 01 01 2f ]

> Supervisory frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 023 P/F: 1
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
asterisk1*CLI>
< [ 02 01 01 2f ]

< Supervisory frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 023 P/F: 1
< 0 bytes of data
-- ACKing all packets from 22 to (but not including) 23
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Unsolicited RR with P/F bit, responding
Sending Receiver Ready (23)

> [ 02 01 01 2f ]

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