Asterisk on Debian 5.0

deaner

Senior member
Mar 13, 2009
632
1
81
So: I have setup an Asterisk server with Debian 5.0. All works locally to my Win7 PC with X-Lite Soft phone.

I have also installed a 3CX Soft phone on my Cell phone; Dell Streak ( Android ) and have successfully setup and have it registered through WIFI and GSM.

However, I can dial my 3CX soft phone on my cell, ( setup as ext 700 ) from my soft phone on my Win7 PC. From my 3CX, I can also dial back to the Win7 PC. They both happily dial away and ring - yet when I answer either, no voice.

I guess this is a sip.conf issue with the codec's? i am allowing GSM, ULAW and ALAW.

Have Googled a bit, but yet to find a reasoning.. anyone with experience and thoughts?

Thanks.
 

BTA

Senior member
Jun 7, 2005
862
0
71
Two things:
NAT settings in your sip_nat.conf
Port forwarding in your home router.

sip_nat.conf or sip_custom.conf should have something like (use your actual info obviously):
externip=180.12.12.12
localnet=192.168.1.0/255.255.255.0


In your router you'll need at least these forwarded to your Asterisk box:
UDP 10000-20000 - RTP
UDP 5004-5082 - SIP
 

deaner

Senior member
Mar 13, 2009
632
1
81
BTA, appreciate the info - will ensure this is set!

Two things:
NAT settings in your sip_nat.conf
Port forwarding in your home router.

sip_nat.conf or sip_custom.conf should have something like (use your actual info obviously):
externip=180.12.12.12
localnet=192.168.1.0/255.255.255.0


In your router you'll need at least these forwarded to your Asterisk box:
UDP 10000-20000 - RTP
UDP 5004-5082 - SIP