Re: Asterisk forgetting context for SIP trunks
alexd wrote:
[color=blue]
> Can anyone suggest anything, short of putting everything in [default]?[/color]
The answer to my own question is, "fix the iptables port forwarding rules on
your gateway so that forwarded traffic originates from it's actual source
address rather than that of the gateway". So Asterisk was behaving exactly
to spec - the port-forwarded SIP traffic appeared to Asterisk to be coming
from the gateway rather than from Sipgate or voip.co.uk, so Asterisk sent
all the inbound calls to default because it has no idea [in SIP terms] what
the gateway is.
--
<http://ale.cx/> (AIM:troffasky) (UnSoEsNpEaTm@ale.cx)
21:43:01 up 10 days, 23:42, 2 users, load average: 0.56, 0.34, 0.26
09 f9 11 02 9d 74 e3 5b d8 41 56 c5 63 56 88 c0
|