[Asterisk-Users] Failed to authenticate on INVITE

Stig Thune stig.thune at telecoms-resources.no
Fri Sep 17 04:54:43 MST 2004


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040917/b9feb60e/attachment.htm


More information about the asterisk-users mailing list