Were sorry you must first dial a one when calling this numbe

hi, i got problem with my tdm400, sometime when i dial out, it will say “Were sorry you must first dial a one when calling this number will you please hang up and try your call again”, but sometime it doesn’t, i’m currently with AT&T with plan ALL DISTANCE, it work flawless when i plug phone line directly to the wall, with dial the same number, no problem, so i know is not the phone or the line, i think maybe is the txgain,rxgain, i try to change it to see if it work, it didn’t help.

here my setting for asterisk 1.6.0.22
chan_dahdi.conf

[channels]
language=en

signalling=fxs_ks
context=incoming
usecallerid=yes
cidstart=ring
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
mailbox=8
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
rxgain=8.5
txgain=1.0
group=1
callgroup=1
pickupgroup=1
immediate=yes
useincomingcalleridondahditransfer=yes
amaflags=default
faxdetect=no
busycount=6
busydetect=yes
disallow=all
pulsedial=no
disallow=all
allow=ulaw
echocanceller=mg2,1
channel=>1

;answeronpolarityswitch=no
;hanguponpolarityswitch=no

signalling=fxo_ks
context=outgoing
usecallerid=yes
cidstart=ring
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
rxgain=0.0
txgain=0.0
useincomingcalleridondahditransfer=yes
amaflags=default
faxdetect=no
busycount=6
busydetect=yes
disallow=all
immediate=no
pulsedial=no
disallow=all
allow=ulaw
echocanceller=mg2,3
channel=>3

----------------------------------dahdi-channels.conf

; Autogenerated by /usr/sbin/dahdi_genconf on Thu Feb 18 10:49:59 2010
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;

; Span 1: WCTDM/4 “Wildcard TDM400P REV I Board 5” (MASTER)
;;; line="1 WCTDM/4/0 FXSKS (SWEC: MG2)"
signalling=fxs_ks
;callerid=asreceived
context=incoming
channel => 1

;;; line="2 WCTDM/4/1 FXSKS (SWEC: MG2)"
signalling=fxs_ks
;callerid=asreceived
context=incoming
channel => 2

;;; line="3 WCTDM/4/2 FXOKS (SWEC: MG2)"
signalling=fxo_ks
;callerid=“Channel 3” <4003>
;mailbox=4003
context=outgoing
channel => 3

;;; line="4 WCTDM/4/3 FXOKS (SWEC: MG2)"
signalling=fxo_ks
;callerid=“Channel 4” <4004>
;mailbox=4004
context=outgoing
channel => 4

If it comes and goes on the dialing, try changing txgain=0.0 to txgain=2.0 or even txgain=-2.0 and see what you get.

try that, it still show up, i also have vonage, it never give me problem like that with the same card??