sip_general_custom.conf = strangeness

seanfournier
Posts: 7
Member Since:
2009-04-02

First off, thanks to everyone who's had the patience answering my questions and not telling me to screw off.

Okay, here is a strange thing I have found using the System Status Version: 2.6.2.2 of trixbox ce

I have a Nokia E51 with a built in SIP client that I have connecting to my trixbox server behind a good firewall (SPI, NAT etc.). I have always had a royal bitch of a time getting it to have two-way audio and two way calling while traversing the NAT firewall. it connects, dials, just NO sound.

I read and read and read and eventually found the problem, or at least one of them and I'm sure there is a fix but I'm posting this because I'm sure someone else is scratching their head.

This is what DOES NOT WORK when adding NAT entries to the file "sip_general_custom.conf" . (call will dial, connect, but NO audio either way)
externhost=yourdomain.dyndns.org
localnet=192.168.0.1/255.255.255.0
nat=yes

This is what DOES WORK when adding NAT entries to the file "sip_general_custom.conf" . (call will dial, connect, and two-way audio)
externip=xxx.xxx.xxx.xxx
localnet=192.168.0.1/255.255.255.0
nat=yes

It seems that my asterisk server has trouble resolving my dyndns domain. I can connect to trixbox and dial other extensions using the host name method, but i simply don't get audio... when I switch to an IP, voila, audio. Any ideas how I can actually use the host name? I hate hardcoding IP's... no doubt they change when you are away from your computer.

Thanks again



SkykingOH
Posts: 9678
Member Since:
2007-12-17
First of all your localnet

First of all your localnet is wront. It's 192.168.0.0/255.255.255.0 - The ntwork Number not a host IP.

Second when using an externhost you have to add externrefresh, which defines the interval between DNS checks.

Test to make sure you have DNS working by using 'nslookup yourdomain.dyndns.org' if you don't get back the same IP something is wrong.

You DNS peers are defined it etc/resolv.conf

--

Scott

aka "Skyking"



seanfournier
Posts: 7
Member Since:
2009-04-02
you're the man dude!

you're the man dude!



SkykingOH
Posts: 9678
Member Since:
2007-12-17
I am assuming this means it

I am assuming this means it worked.

--

Scott

aka "Skyking"



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.