Incoming PSTN 407 Proxy Authentication Required

Hi

I have an asterisk server version 1.4.18 running.
I have 4 sip accounts configured, and I have also 4 pstn numbers.

When I try to call from 1 account using the pstn number I got back

<— Reliably Transmitting (NAT) to XX.XXX.XXX.X:5060 —>
SIP/2.0 407 Proxy Authentication Required

[general]
defaultexpire=20
dtmfmode=info
qualify=no
allow=all
#allow=speex
nat=yes
canreinvite=no
bindaddr=XXXXXX.XXX.X
bindport=5060
#qualify=yes

[sbc]
type=peer
host=XXX.XXX.XXX.X
disallow=all
allow=alaw
insecure=very
#allow=all
#qualify=yes

[XXX]
type=friend
username=XXX
secret=XXXXXX
host=dynamic
context=default
callerid=“XXXX”
;qualify=yes
disallow=all
nat=yes
allow=alaw
#allow=all

[XXXX]
type=friend
username=XXXX
secret=XXX
host=dynamic
context=default
callerid=“XXX”
;qualify=yes
disallow=all
nat=yes
allow=alaw
#allow=all

Regards
Rune