[Asterisk-Users] TNT and SIP problem

Eric Wieling aka ManxPower eric at fnords.org
Tue Jul 26 06:38:51 MST 2005


Kevin P. Fleming wrote:
> 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.

Thank you for the correction.  Is this new to CVS-HEAD, or does it apply 
to 1.0.x as well?  1.0.x sip.conf.sample only lists the "host" option 
for a peer, not for a user.


-- 
Eric Wieling * BTEL Consulting * 504-210-3699 x2120



More information about the asterisk-users mailing list