Quote:
Originally Posted by los have you tried the externip and localnet options on the sip settings ?
examples below
externip=123.456.789.123 ; your external ip
localnet=192.168.1.0/255.255.255.0 ; your internal range |
Um, my "external" IP address is in my 'localnet':
externip=208.83.67.138
localnet=208.83.67.136/255.255.255.248
Like I said. No NAT. Publicly routable addresses. The firewall has an address on the 208.83.67.136 network (its internal interface) and an address on my 'public' network. But it is really 'just' a router permitting or rejecting packets. No mangling.
Here is what Wireshark shows of the COntact field in the REGISTER
Linksys with mangling:
Contact: <sip:2482910713@208.83.67.138:5060>
Netfilter; just routing:
Contact: <sip:2482910713@208.83.67.138>
So somehow, I have to get Asterisk to add the port number to the Contact.
BTW, for outgoing calls, * still sends a REGISTER with Contact: <sip:2482910713@208.83.67.138>, but Broadvoice in the Sessoin Progress SDP has:
Connection Information (c): IN IP4 147.135.12.247
so when Broadvoice is 'invited' to a call, it figures out the right Connection process from port information elswhere in the INVITE. But if it has to 'invite', it needs the port number as part of the Contact information...