> >> Try to use like following > >> [tnt] > >> type=friend > >> context=fromtotnt > >> dtmfmode=rfc2833 host=XXX.xxx.xxx.xxx > >> > >> I am using this way. > > > > 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". > > Thanks for the pointer. There is no sample in the sip.conf file that > mentions permit and deny.
Here's an example that was in use with Broadvoice sip some months ago. deny=0.0.0.0/0.0.0.0 permit=147.135.8.129/255.255.255.0 permit=147.135.0.129/255.255.255.0 permit=147.135.4.128/255.255.255.0 Important points: - deny everything first, - then allow those IP's (or networks) that you want to give access. - avoid adding spaces in the statements _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
