Hi guys
I am using the official FreePBX, outbound calls and internal calls work fine, but no audio for inbound calls. Actually the external public phone was still ringing after I picked up my sip phone.
here is my log:
http://pastebin.com/YmpkrstU
I have used a softphone ZOIPER to test my router and firewall, I can make outbound calls and received inbound calls. So I assume my router is setup correctly. The problem is in my FreePBX settings.
There is no port forwarding in my router as I would like to register my FreePBX as softphone to 2talk. My router is SonicWall. (I don't have an option to change my router at this stage)
Here is my trunk setting:
type=peer
username=028xxxxxxxxxx
fromuser=028xxxxxxx
secret=xxxxxxxxx
host=sip.2talk.co.nz
context=from-trunk
dtmfmode=rfc2833
disallow=all
allow=alaw&ulaw&G722
nat=no
canreinvite=no
insecure=invite,port
qualify=200
028xxxxxxx:xxxxxxxxx@sip.2talk.co.nz/028xxxxxxx
under chan sip settings -> nat settings
NAT = yes
IP config = PUBLIC IP
Everything else should be at defaults settings, I do changed my email setting to send some custom message, but I don't think it have anything to do with my FreePBX not getting audio from inbound calls.
Any thoughts?? Thanks guys
James