externip and localhost are usually done in sip_nat.conf and this is used all the time. For if putting bindport does not work in sip_custom.conf and it also doesn’t work in sip_nat.conf, then move the include for sip_nat.conf to the first thing after [general] and test to see if that works. If it does, file a bug that suggests it either needs to be moved there or another include file needs to be put there. I haven’t looked at sip.conf recently, I had thought that the last assignment was the one that ‘sticks’ but of course I could be wrong on that.
yeah - I lost externip and localnet lines when I caught a core update early this morning… I added them to sip_nat.conf - seemed a reasonable place for them…
when Phil fixed the other problem I was having in a subsequent core update, the settings survived.
[quote=“NetworkPIMP”]yeah - I lost externip and localnet lines when I caught a core update early this morning… I added them to sip_nat.conf - seemed a reasonable place for them…
when Phil fixed the other problem I was having in a subsequent core update, the settings survived.[/quote]
Thanks both. Using sip_nat (or custom) works just fine - some idiot had left a [general] section in sip_nat so asterisk just ignored it!