[Asterisk-Users] TNT and SIP problem

Kevin P. Fleming kpfleming at digium.com
Tue Jul 26 06:09:56 MST 2005


Eric Wieling aka ManxPower wrote:

> You do realize that host= only applies for calls from Asterisk to the 
> TNT, right?  You need permit/deny to match for inbound connections. Your 
> Asterisk server is open to anyone that claims to be the user "tnt".

That's not true; incoming INVITEs that don't match a 'type=user' entry 
will search for a 'type=peer' entry by _IP address_, which can be either 
the address the peer registered with us or a hardcoded one in the 
chan_sip configuration. I just recently reconfigured a customer's system 
to take advantage of this, since they were getting calls from a provider 
that always originated from the same IP address.



More information about the asterisk-users mailing list