hy!
i use this system:
a router (netgear)
behind the router a linux system (mandrake where asterisk is running)
behind the router a hardphone grandstream bt101
i use sipgate.at and voipbuster as register!
the function of outgoing calls is perfekt! (first i had codec problems, but now i have solved them!) i can hear the other one, and the other one can hear me! --> perfekt!
but!!
when i get a incoming call from sipgate.at, then i can´t hear the other one! the other one (who called me) can hear me!?
whats the problem?
hear are my config files:
sip.conf
[general]
port=5060
bindaddr=0.0.0.0
qualify=no
context=default
disallow=all
allow=ulaw
allow=alaw
allow=gsm
allow=g723.1
allow=ilbc
allow=slinear
srvlookup=yes
language=de
externip=MYDOMAIN
register => UID_SIP:PWD_SIP@sipgate.at/UID_SIP
[sipgate]
type=friend
username=UID_SIP
host=sipgate.at
fromuser=UID_SIP
secret=PWD_SIP
fromdomain=sipgate.at
nat=yes
insecure=very
qualify=yes
[voipbuster]
type=peer
username=UID
host=sip.voipbuster.com
fromuser=UID
secret=PWD
[grandstream1]
type=friend
username=grandstream1
secret=PWD
host=dynamic
disallow=all
allow=ulaw
dtmfmode=info
context=default
port=5060
extension.conf
[default]
exten => _9.,1,SetCallerId,9526715
exten => _9.,2,Dial(SIP/${EXTEN:1}@sipgate,30)
exten => _9.,3,Hangup
exten => _8.,1,Dial(Sip/${EXTEN:1}@voipbuster,60)
exten => _8.,2,Hangup
exten => _8.,102,Busy
exten => 600,1,Playback(demo-echotest)
exten => 600,2,Echo
exten => 600,3,Hangup
exten => 9526715,1,Dial(SIP/grandstream1,60)
exten => 9526715,2,Hangup
exten => 9526715,102,Busy
rtp.conf --> i have changed the ports(first i had 10000-20000 with same problem)
--------------------------------;
; RTP Configuration
;
[general]
;
; RTP start and RTP end configure start and end addresses
;
rtpstart=5000
rtpend=5008
;
; Whether to enable or disable UDP checksums on RTP traffic
;
;rtpchecksums=no
i forwarded these ports from the router to the asterisk server(UDP and TCP):
5060
5000-5008
4569
2727
bt101 configuration:
login to asterisk
sip 5060
rtp 5004
WHAT IS THE PROBLEM???
I hope anyone can help me!
sorry for my bad english!
mfg
little