On Mon, 25 Jul 2005, Leon Sun wrote:
Try to use like following
[tnt]
type=friend
context=fromtotnt
dtmfmode=rfc2833
host=XXX.xxx.xxx.xxx

[maxtnt]
context=fromtnt
type=peer
host=x.x.x.x
dtmfmode=rfc2833
callerid="MaxTNT" <maxtnt>
qualify=yes
reinvite=no
canreinvite=no
disallow=all
allow=g729
allow=ulaw
insecure=invite
; also tried insecure=very

I'll try setting up peer separately tomorrow.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave Weis
Sent: Sunday, July 24, 2005 12:54 PM
To: [email protected]
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 <[EMAIL PROTECTED]>:
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
[EMAIL PROTECTED]   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
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to