Help with sip.conf

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


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 and the remote server (linked via IAX2) ip range which is

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ā€¦