<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=077573213-17092004><FONT face=Arial color=#0000ff size=2>I am
getting this also.</FONT></SPAN></DIV>
<DIV><SPAN class=077573213-17092004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=077573213-17092004><FONT face=Arial color=#0000ff size=2>I am
trying to get Asterisk to talk similarly to BT Communicator to the BT server. I
can register but then the INVITE fails.</FONT></SPAN></DIV>
<DIV><SPAN class=077573213-17092004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=077573213-17092004><FONT face=Arial color=#0000ff size=2>BT are
mixed up with their domains (in fact in the INVITE their software has a To:
header with <number>@domain1 and an auth URI referencing
<number>@domain2. The realm is domain1.) This can't be done in Asterisk
where it is consistent about the URI.</FONT></SPAN></DIV>
<DIV><SPAN class=077573213-17092004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=077573213-17092004><FONT face=Arial color=#0000ff size=2>I had
been blaming this, but if you are having problems too...</FONT></SPAN></DIV>
<DIV><SPAN class=077573213-17092004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=077573213-17092004><FONT face=Arial color=#0000ff size=2>I get
the standard 407 header requesting Proxy Auth for the call. Asterisk submits the
INVITE with auth and after the usual "Trying" I just get another 407. I have
traces of Asterisk and the client which works and they seem so similar in what
they do. I have made all the port ranges the same too. BT Communicator fails if
you use port 5060 for the SIP client - they use 5052.</FONT></SPAN></DIV>
<DIV><SPAN class=077573213-17092004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=077573213-17092004><FONT face=Arial color=#0000ff
size=2>Peter</FONT></SPAN></DIV>
<DIV><SPAN class=077573213-17092004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=077573213-17092004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=077573213-17092004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Stig Thune
[mailto:stig.thune@telecoms-resources.no]<BR><B>Sent:</B> 17 September 2004
12:55<BR><B>To:</B> asterisk-users@lists.digium.com<BR><B>Subject:</B>
[Asterisk-Users] Failed to authenticate on INVITE<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>NOTICE[98310]: chan_sip.c:6638 handle_response:
Failed to authenticate on INVITE to
'sip:1234@mysipprovider.com;tag=as0f1d3429'</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>sip.conf</FONT></DIV>
<DIV><FONT face=Arial size=2>------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>register =>
1234:password@mysipprovider.com</FONT></DIV>
<DIV><FONT face=Arial size=2>------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>extension.conf</FONT></DIV>
<DIV><FONT face=Arial size=2>--------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>;<BR>; Own extensions<BR>;<BR>exten =>
0852509516,1,Goto(resepsjon-own,s,1)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>;<BR>[resepsjon-own]<BR>;<BR> exten =>
s,1,Answer<BR> exten => s,2,SetMusicOnHold(default)<BR> exten =>
s,3,DigitTimeout,5<BR> exten => s,4,ResponseTimeout,15<BR> exten
=>
s,5,Background(own/choose)
; Meny, 1 for support, 2 for support, 3 for wx3<BR> exten =>
s,6,Wait(1)<BR> exten =>
s,7,Background(own/choosenumber)
; dialer pushes a # ,and being sent
to..<BR>
; ip-phone must be picked up in ,20000ms,tr or hangup<BR> exten
=> 1,1,Goto(privatanslutningar,s,1)<BR> exten =>
2,1,Goto(foretagsanslutningar,s,1)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> ; #=hangup<BR> exten =>
#,1,Playback(custom/no-key-registered)<BR> exten =>
#,2,Hangup</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> exten =>
t,1,Goto(#,1) ; If they take too
long, give up<BR> exten => i,1,Playback(invalid) ; "That's not valid,
try again" inmenu]</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>;<BR>[privatanslutningar]<BR>;<BR> exten =>
s,1,Answer<BR> exten => s,2,SetMusicOnHold(default)<BR> exten =>
s,3,DigitTimeout,5<BR> exten => s,4,ResponseTimeout,15<BR> exten
=>
s,5,Background(own/privatanslutningar)
; Meny, 1 for support, 2 for support, 3 for
wx3<BR>
; dialer pushes a # ,and being sent to..</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> exten => 1,1,Answer<BR> exten =>
1,2,Queue(help-privatanslutningar-queue)<BR> exten =>
2,1,Answer<BR> exten =>
2,2,Queue(order-privatanslutningar-queue)<BR> exten =>
3,1,Answer<BR> exten =>
3,2,Queue(info-privatanslutningar-queue)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> ; #=hangup<BR> ;exten =>
#,1,Playback(custom/no-key-registered)<BR> ;exten =>
#,2,Hangup</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> exten =>
t,1,Queue(general-privatanslutningar-queue)
; If they take too long, give up<BR> exten =>
i,1,Playback(invalid)
; "That's not valid, try again" inmenu]</FONT></DIV>
<DIV> </DIV><FONT face=Arial size=2>
<DIV><BR>;<BR>[foretagsanslutningar]<BR>;<BR> exten =>
s,1,Answer<BR> exten => s,2,SetMusicOnHold(default)<BR> exten =>
s,3,DigitTimeout,5<BR> exten => s,4,ResponseTimeout,15<BR> exten
=>
s,5,Background(own/foretagsanslutningar)
; Meny, 1 for support, 2 for support, 3 for
wx3<BR>
; dialer pushes a # ,and being sent
to..<BR>
; ip-phone must be picked up in ,20000ms,tr or hangup<BR> exten
=> 1,1,Answer<BR> exten =>
1,2,Queue(info-bedriftsanslutningar-queue)<BR> exten =>
2,1,Answer<BR> exten =>
2,2,Queue(help-bedriftsanslutningar-queue)<BR> exten =>
3,1,Answer<BR> exten =>
3,2,Queue(error-bedriftsanslutningar-queue)</DIV>
<DIV> </DIV>
<DIV> ; #=hangup<BR> ;exten =>
#,1,Playback(custom/no-key-registered)<BR> ;exten => #,2,Hangup</DIV>
<DIV> </DIV>
<DIV> exten =>
t,1,Queue(general-bedriftsanslutningar-queue)
; If they take too long, give up<BR> exten =>
i,1,Playback(invalid)
; "That's not valid, try again" inmenu]<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>--------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The call gets into queue, then... the other phone
rings.. and when I pick up - I get this message:</FONT></DIV><FONT face=Arial
size=2>
<DIV><BR>NOTICE[98310]: chan_sip.c:6638 handle_response: Failed to authenticate
on INVITE to 'sip:1234@mysipprovider.com;tag=as0f1d3429'</DIV>
<DIV> </DIV>
<DIV>I know that the register => works.. I have checked with my SIP-provider,
and they say that it is logged in.</DIV>
<DIV> </DIV>
<DIV>What else can be wrong ?</DIV>
<DIV> </DIV>
<DIV>/ Stig Henning</FONT></DIV>
<BR>
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.<BR>
</BODY></HTML>