[Asterisk-Users] Failed to authenticate on INVITE
Whisker, Peter
Peter.Whisker at logicacmg.com
Fri Sep 17 06:39:31 MST 2004
I am getting this also.
I am trying to get Asterisk to talk similarly to BT Communicator to the BT
server. I can register but then the INVITE fails.
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.
I had been blaming this, but if you are having problems too...
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.
Peter
-----Original Message-----
From: Stig Thune [mailto:stig.thune at telecoms-resources.no]
Sent: 17 September 2004 12:55
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Failed to authenticate on INVITE
NOTICE[98310]: chan_sip.c:6638 handle_response: Failed to authenticate on
INVITE to 'sip:1234 at mysipprovider.com;tag=as0f1d3429'
sip.conf
------------
register => 1234:password at mysipprovider.com
------------
extension.conf
--------------
;
; Own extensions
;
exten => 0852509516,1,Goto(resepsjon-own,s,1)
;
[resepsjon-own]
;
exten => s,1,Answer
exten => s,2,SetMusicOnHold(default)
exten => s,3,DigitTimeout,5
exten => s,4,ResponseTimeout,15
exten => s,5,Background(own/choose) ; Meny,
1 for support, 2 for support, 3 for wx3
exten => s,6,Wait(1)
exten => s,7,Background(own/choosenumber) ;
dialer pushes a # ,and being sent to..
;
ip-phone must be picked up in ,20000ms,tr or hangup
exten => 1,1,Goto(privatanslutningar,s,1)
exten => 2,1,Goto(foretagsanslutningar,s,1)
; #=hangup
exten => #,1,Playback(custom/no-key-registered)
exten => #,2,Hangup
exten => t,1,Goto(#,1) ; If they take too long, give up
exten => i,1,Playback(invalid) ; "That's not valid, try again" inmenu]
;
[privatanslutningar]
;
exten => s,1,Answer
exten => s,2,SetMusicOnHold(default)
exten => s,3,DigitTimeout,5
exten => s,4,ResponseTimeout,15
exten => s,5,Background(own/privatanslutningar) ; Meny, 1 for
support, 2 for support, 3 for wx3
; dialer pushes a # ,and being sent to..
exten => 1,1,Answer
exten => 1,2,Queue(help-privatanslutningar-queue)
exten => 2,1,Answer
exten => 2,2,Queue(order-privatanslutningar-queue)
exten => 3,1,Answer
exten => 3,2,Queue(info-privatanslutningar-queue)
; #=hangup
;exten => #,1,Playback(custom/no-key-registered)
;exten => #,2,Hangup
exten => t,1,Queue(general-privatanslutningar-queue) ; If they
take too long, give up
exten => i,1,Playback(invalid)
; "That's not valid, try again" inmenu]
;
[foretagsanslutningar]
;
exten => s,1,Answer
exten => s,2,SetMusicOnHold(default)
exten => s,3,DigitTimeout,5
exten => s,4,ResponseTimeout,15
exten => s,5,Background(own/foretagsanslutningar) ; Meny, 1 for
support, 2 for support, 3 for wx3
; dialer
pushes a # ,and being sent to..
; ip-phone
must be picked up in ,20000ms,tr or hangup
exten => 1,1,Answer
exten => 1,2,Queue(info-bedriftsanslutningar-queue)
exten => 2,1,Answer
exten => 2,2,Queue(help-bedriftsanslutningar-queue)
exten => 3,1,Answer
exten => 3,2,Queue(error-bedriftsanslutningar-queue)
; #=hangup
;exten => #,1,Playback(custom/no-key-registered)
;exten => #,2,Hangup
exten => t,1,Queue(general-bedriftsanslutningar-queue) ; If
they take too long, give up
exten => i,1,Playback(invalid) ; "That's
not valid, try again" inmenu]
--------------
The call gets into queue, then... the other phone rings.. and when I pick up
- I get this message:
NOTICE[98310]: chan_sip.c:6638 handle_response: Failed to authenticate on
INVITE to 'sip:1234 at mysipprovider.com;tag=as0f1d3429'
I know that the register => works.. I have checked with my SIP-provider, and
they say that it is logged in.
What else can be wrong ?
/ Stig Henning
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040917/7e9e70ae/attachment.htm
More information about the asterisk-users
mailing list