[Asterisk-Users] SBC/ATT Supertrunk configuration

Steve Edwards asterisk.org at sedwards.com
Fri Jun 9 18:02:11 MST 2006


I have what my SBC/ATT representative calls a "Supertrunk," but he can't 
tell me the specifics I need to know to configure Asterisk to work with 
it.

By fiddling about, I've come up with the "almost working" configuration 
below. This works except that it takes about 4 seconds from when the 
console says the line is answered until it plays my prompt.

Watching the card with zttool, all flags start at 0. Then RxA, RxB,
TxA, TxB, TxC, TxD change to 1. Then, a split second later, TxA, TxB, TxC, 
and TxD change to 0. A couple of seconds later, TxA, TxB, TxC, TxD change 
to 1 and the call progresses. What does this mean? Can you identify the 
proper configuration from this "handshake?"

Verbosity is at least 99
     -- Starting simple switch on 'Zap/1-1'
(nothing happens for 4 seconds)
     -- Executing NoOp("Zap/1-1", "block-ani:xxxxxxx:1") in new stack
     -- Executing Answer("Zap/1-1", "") in new stack

show dialplan block-ani
[ Context 'block-ani' created by 'pbx_config' ]
   'h' =>            1. deadagi(update-channel-status|--onhook)    [pbx_config]
                     2. hangup()                                   [pbx_config]
   'i' =>            1. hangup()                                   [pbx_config]
   's' =>            1. noop(${CONTEXT}:${EXTEN}:${PRIORITY})      [pbx_config]
                     2. goto(block-ani|xxxxxxxxxx|1)               [pbx_config]
   't' =>            1. hangup()                                   [pbx_config]
   '_x.' =>          1. noop(${CONTEXT}:${EXTEN}:${PRIORITY})      [pbx_config]
                     2. answer()                                   [pbx_config]

/etc/zaptel.conf
defaultzone                             = us
e&m                                     = 1-24
loadzone                                = us
span                                    = 1,0,0,d4,b8zs
# (end of /etc/zaptel.conf)

/etc/asterisk/zapata.conf
[channels]
         callgroup                       = 1
         callreturn                      = no
         callwaiting                     = no
         callwaitingcallerid             = no
         cancallforward                  = no
         context                         = block-ani
         echocancel                      = 128
         echocancelwhenbridged           = yes
         echotraining                    = 800
         faxdetect                       = no
         group                           = 1
         hidecallerid                    = no
         immediate                       = no
         language                        = en
         pickupgroup                     = 1
         resetinterval                   = never
         rxgain                          = 0.0
         rxwink                          = 300
         signalling                      = em_w
         threewaycalling                 = no
         transfer                        = no
         txgain                          = 0.0
         usecallerid                     = no
         usecallingpres                  = no
         usedistinctiveringdetection     = no
         channel                         = 1-24
; (end of /etc/asterisk/zapata.conf)

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards      sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                             Fax: +1-760-731-3000



More information about the asterisk-users mailing list