I'm trying to get inbound calls from a TNT working but get 407 errors from the TNT. This is what I have in sip.conf: [maxtnt] type=friend host=x.x.x.x dtmfmode=rfc2833 callerid="MaxTNT" <maxtnt> context=demo qualify=yes disallow=all allow=g729 allow=ulaw insecure=very This is what the TNT is spitting out: Jul 24 14:55:12 tnt1 1/17: Releasing <874dafcc-b-1d453372@x.x.x.x>: Calling = 201,Called = 2700674, Q850 Cause = 21,Sip Response = 407 (Proxy Authentication Required),Progress Cause = NONE Jul 24 14:55:12 tnt1 1/2: [1/2/11/0] STOP: ''; cause 821.; progress 1407.; host 0.0.0.0 [MBID 11; 201->2700674] Jul 24 14:55:12 tnt1 1/1: [1/1/3/1] Far End Hung Up, External cause code 021 I just have a T1 port from the asterisk machine cabled to the TNT with a T1 crossover trying to send calls out of the asterisk machine via T1 and back in via SIP until the PRI's are turned up. dave -- Dave Weis "I believe there are more instances of the abridgment djweis@sjdjweis.com of the freedom of the people by gradual and silent encroachments of those in power than by violent and sudden usurpations."- James Madison
Dave, Did you enable media profile and put Asterisk IP into proxy field? Use lines to check you TNT Read media default List sip-options Regards Leon Sun -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Dave Weis Sent: Sunday, July 24, 2005 12:54 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] TNT and SIP problem I'm trying to get inbound calls from a TNT working but get 407 errors from the TNT. This is what I have in sip.conf: [maxtnt] type=friend host=x.x.x.x dtmfmode=rfc2833 callerid="MaxTNT" <maxtnt> context=demo qualify=yes disallow=all allow=g729 allow=ulaw insecure=very This is what the TNT is spitting out: Jul 24 14:55:12 tnt1 1/17: Releasing <874dafcc-b-1d453372@x.x.x.x>: Calling = 201,Called = 2700674, Q850 Cause = 21,Sip Response = 407 (Proxy Authentication Required),Progress Cause = NONE Jul 24 14:55:12 tnt1 1/2: [1/2/11/0] STOP: ''; cause 821.; progress 1407.; host 0.0.0.0 [MBID 11; 201->2700674] Jul 24 14:55:12 tnt1 1/1: [1/1/3/1] Far End Hung Up, External cause code 021 I just have a T1 port from the asterisk machine cabled to the TNT with a T1 crossover trying to send calls out of the asterisk machine via T1 and back in via SIP until the PRI's are turned up. dave -- Dave Weis "I believe there are more instances of the abridgment djweis@sjdjweis.com of the freedom of the people by gradual and silent encroachments of those in power than by violent and sudden usurpations."- James Madison _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
On Mon, 25 Jul 2005, Eric Wieling aka ManxPower wrote:> Leon Sun wrote: >> 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. dave -- Dave Weis "I believe there are more instances of the abridgment djweis@sjdjweis.com of the freedom of the people by gradual and silent encroachments of those in power than by violent and sudden usurpations."- James Madison