When I call using my voip provider I can hear the sound from the person on the POTS line but they can’t hear me. If I restart asterisk the first call is fine, but after that the problem shows up again. I would tend to think this is my problem and not the voip provider because restarting MY server fixes the problem.
Calls within my system (extension to extension) work just fine. I am willing to provide any configuration files needed. I would really like to resolve this issue.
More information:
The problem is intermittent. This is most frustrating. Without restarting asterisk I placed two external calls with another extension. They both worked. The third did not, again only one way sound.
ensure that you have defined a reasonable rtp range (rtp.conf) of about 100 ports. Ensure that your firewall (iptables/etc) is not blocking this range.
make sure you have the RTP range from 1. and port 5060 forwarded to your * box (using your router setup).
make sure that your sip.conf has defined externip= and localnet=. externip should be your network’s external IP address. If this changes alot, use a dynamic dns service.
make sure your VoIP service in sip.conf is set with canreinvite=no. may also be good to set canreinvite=no in the sip.conf general section.
I’m not sure what you meant by that so I’ll just post my sip.conf general section:
[code][general]
port = 5060 ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)
disallow=all
allow=ulaw
allow=alaw
allow=g729
externip =
localnet=192.168.1.200/255.255.255.0
nat=yes
canreinvite=no
[/code]
their website appears incomplete. most will tell you if they offer both sip and iax.
you can sign up pay as you go with a different provider that allows iax. this can get rid of some nat issues and at least help diagnose your problem. This change has worked for me.