[Asterisk-Users] TNT and SIP problem

Leon Sun leon at timestelecom.ca
Mon Jul 25 16:44:17 MST 2005


Try to use like following

[tnt]
type=friend
context=fromtotnt
dtmfmode=rfc2833 
host=XXX.xxx.xxx.xxx

I am using this way.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Dave Weis
Sent: Monday, July 25, 2005 2:55 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] TNT and SIP problem


On Mon, 25 Jul 2005, Leon Sun wrote:
> Did you enable media profile and put Asterisk IP into proxy field?
> Use lines to check you TNT
> Read media default
> List sip-options

Yes, my asterisk server is in primary-proxy and registration-proxy. There 
is a trusted-proxy, should that be set? The TNT is still logging 407 
errors, but I have it dumping into a context with a _. extension.

dave

> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Dave Weis
> Sent: Sunday, July 24, 2005 12:54 PM
> To: asterisk-users at 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 at 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 at 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 at 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





More information about the asterisk-users mailing list