I am attempting to standup Callcentric VOIP service. Inbound calls are working, however, outbound calls result in this message:
[quote]
[Oct 31 00:05:30] NOTICE[11764]: chan_sip.c:19294 handle_response_invite: Failed to authenticate on INVITE to ‘“SPA2102 L2” sip:101@192.168.8.1;tag=as226d3630’[/quote]
I am hoping that a fresh set of expert eyes will pickout an obvious error \ missing element. If I can provide additional information or answer any question, I will be happy to do so. Thank you.
dialplan excerpt:
[to-callcentric]
exten => _711,1,Dial(SIP/1777XXXYYY@callcentric,60) ; hard coded to call living room.
I have ruled out a ‘secret’ mismatch because I am successfully using the SIP peer ‘101’ with GTalk \ GV. My ATA verifies that it is connected with Asterisk. This is a good troubleshooting step: isolating the problem. I appreciate that actionable suggestions:
I added the snippet: insecure=invite (not really sure what that does)
and tried calling another callcentric #. Received the busy tone.
[quote][to-callcentric]
; Free Calling Services:
; ======================
exten => _711,1,Dial(SIP/177722XXXX@callcentric,60) ;Test point Verified 7-Sept 2011
exten => _79685,1,Dial(SIP/1777261XXX@callcentric,60) ; call Hardware Store
exten => _1777ZXXXXXX,1,Dial(SIP/${EXTEN}@callcentric) ;Verified 7-Sept 2011
exten => _71777ZXXXXXX,1,Dial(SIP/${EXTEN:1}@callcentric) ;Verified 7-Sept 2011
;
; Callcentric Paid Calling services
; ===================================
; Append area code *** if necessary
exten => _7NXXXXXX,1,Set(CALLERID(dnid)=1***${CALLERID(dnid)})
; {EXTEN:1} is NXXXXXX (everything after the first dialed number, in this case 7)
exten => _7NXXXXXX,n,Goto(81***${EXTEN:1},1)
;append a 1 if necessary
exten => _7NXXNXXXXXX,1,Set(CALLERID(dnid)=1${CALLERID(dnid)})
; {EXTEN:1} is NXXNXXXXXX(everything after the first dialed number, in this case 8) ;NOT VERIFIED
exten => _7NXXNXXXXXX,n,Goto(71${EXTEN:1},1)
;do our real dialing
exten => _71NXXNXXXXXX,1,Dial(SIP/${EXTEN:1}@callcentric) ;NOT VERIFIED[/quote]
insecure=invite only affects incoming calls. It causes Asterisk not to challenge the caller for authentication on invites, but still to do so for registrations.
I guess the scenario is like SIP phone----->Local Asterisk-------->CallCentric.
But the Outbound and Inbound direction is not clear.
You mentioned Inbound calls are working, that should be the CC—>*—>SIP phone direction, right?
If this is the case, then outbound should be a call from SIP phone to a number like 711xxxx so that it can match dial plan:
[to-callcentric]
exten => _711,1,Dial(SIP/1777XXXYYY@callcentric,60) ; hard coded to call living room.