Help with sip.conf

i had the following lines in my sip.conf file:

nat=yes
qualify=yes
Externip=92.xx.xx.xx
Localnet=192.168.3.0/255.255.255.0

since adding this my external sip trunks have been registering. Since yesterday i have linked two boxes using IAX2 and was troubleshooting why calls from one box to another doesnt have any voice (ringing was working). sure enough after removing externip and localnet lines things are working! but now my SIP trunks are not working!

my question is can i include two set of IP ranges to localnet, so my own network ip range which is 192.168.3.0 and the remote server (linked via IAX2) ip range which is 10.10.100.0.

This should allow my IAX2 line and SIP trunks to work harmoniously, correct???

Yes you can but you should not be editing the file directly with FreePBX. You should use the SIP settings moduleā€¦