Incoming sound

Hello forum,

i have been searching the web for solutions but couldnt find any hints on how to solve my problem. I use Asterisk verion 1.4.18. Also i registered for an account at sipgate.com. When i try to dial a local number a friendly computervoice tells me that i dont have enough money. So outbound calls seem to work. When i try to call my voip-number, i can see the incoming call but i cant hear a person speaking (on both sites). What could be the problem for that? I mean, if nothing would work i also couldnt hear the computervoice from sipgate.com ?

The asterisk server is behind a firewall. All ports for rtp.conf (already checked rtp.conf) are accessible.

thanks for help and best regards


sip.conf:

localnet = xxx.xxx.xxx.xxx/xx
externip = xxx.xxx.xxx.xxx
qualify=yes
nat=yes
disallow=all
allow=alaw
allow=ulaw
allow=g729
allow=gsm
allow=slinear
srvlookup=yes
register => xxxx:xxxx@sipgate.de/xxxx

[sipgate-out]
type=friend
; insecure=very
insecure=port,invite
username=xxxx
fromuser=xxxx
fromdomain=sipgate.de
secret=xxxx
nat=yes
host=sipgate.de
qualify=yes
context=sipin
canreinvite=no

[1001]
type=friend
secret=1234
context=intern
host=dynamic
nat=no

[1002]
type=friend
secret=1234
context=intern
host=dynamic
nat=no