[Asterisk-Users] Broadvoice latest changes and still not working- An Additional Server

Chris Nibeck nibeck at interaccess.com
Tue Mar 8 22:44:22 MST 2005


I have been going crazy with this also since Sat.

Our server was working perfectly with BV but will now not place calls 
to BV.

Incoming from BV works fine.

I felt sad rebooting it today, it had been running for almost 200 days!

Here is my error message from the console...

Notice I am running today's CVS

Connected to Asterisk CVS-03/08/05-14:32:39 currently running on com 
(pid = 1624)
     -- Executing Dial("SIP/6050-5bc9", 
"SIP/18475098263 at sip.broadvoice.com|30") in new stack
     -- Called 18475098263 at sip.broadvoice.com
Mar  8 23:11:55 NOTICE[15376]: chan_sip.c:5047 handle_response: Failed 
to authenticate on INVITE to '"6050" 
<sip:8475100139 at sip.broadvoice.com>;tag=as20911f6e'

I have tried many versions of sip.conf, here is the current...

[sip.broadvoice.com]
type=peer
user=phone
host=sip.broadvoice.com
fromdomain=sip.broadvoice.com
fromuser=8475100139
secret=blah
username=8475100139
insecure=very
context=default
authname=8475100139
dtmfmode=inband
dtmf=inband
;Disable canreinvite if you are behind a NAT
canreinvite=no

I have tried the different proxies proxy.dca.broadvoice.com, lax, mia, 
and was originally using chi when the system worked.

BV told me Mon that chi is considered a test server that should not be 
used for production, it is expected to go up and down.

My hosts file points to one of the working ones.

I verified my account through a softphone. It works fine to BV.

There is something wrong with the authentication.

Here is the SIP debug...

     -- Executing Dial("SIP/6050-019c", 
"SIP/18475098263 at sip.broadvoice.com|30") in new stack
We're at xxx.xxx.xxx.xxx port 16776
Answering with capability 2
Answering with capability 4
Answering with capability 8
12 headers, 10 lines
Reliably Transmitting:
INVITE sip:18475098263 at sip.broadvoice.com SIP/2.0
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK5364668c
From: "6050" <sip:8475100139 at sip.broadvoice.com>;tag=as292b9469
To: <sip:18475098263 at sip.broadvoice.com>
Contact: <sip:8475100139 at xxx.xxx.xxx.xxx>
Call-ID: 5e81fefe69a768f969fd50f6000d4a39 at xxx.xxx.xxx.xxx
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Date: Wed, 09 Mar 2005 05:35:15 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 205

v=0
o=root 3501 3501 IN IP4 xxx.xxx.xxx.xxx
s=session
c=IN IP4 xxx.xxx.xxx.xxx
t=0 0
m=audio 16776 RTP/AVP 3 0 8
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=silenceSupp:off - - - -
  (no NAT) to 147.135.8.128:5060
     -- Called 18475098263 at sip.broadvoice.com
com*CLI>

Sip read:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK5364668c
From: "6050" <sip:8475100139 at sip.broadvoice.com>;tag=as292b9469
To: <sip:18475098263 at sip.broadvoice.com>
Call-ID: 5e81fefe69a768f969fd50f6000d4a39 at xxx.xxx.xxx.xxx
CSeq: 102 INVITE


6 headers, 0 lines
com*CLI>

Sip read:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK5364668c
From: "6050" <sip:8475100139 at sip.broadvoice.com>;tag=as292b9469
To: <sip:18475098263 at sip.broadvoice.com>;tag=SD38ad399-
Call-ID: 5e81fefe69a768f969fd50f6000d4a39 at xxx.xxx.xxx.xxx
CSeq: 102 INVITE
WWW-Authenticate: DIGEST 
realm="BroadWorks",algorithm=MD5,nonce="1110346372627"
Content-Length: 0


8 headers, 0 lines
Transmitting:
ACK sip:18475098263 at sip.broadvoice.com SIP/2.0
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK5364668c
From: "6050" <sip:8475100139 at sip.broadvoice.com>;tag=as292b9469
To: <sip:18475098263 at sip.broadvoice.com>;tag=SD38ad399-
Contact: <sip:8475100139 at xxx.xxx.xxx.xxx>
Call-ID: 5e81fefe69a768f969fd50f6000d4a39 at xxx.xxx.xxx.xxx
CSeq: 102 ACK
User-Agent: Asterisk PBX
Content-Length: 0

  (no NAT) to 147.135.8.128:5060
Mar  8 23:35:15 NOTICE[15376]: chan_sip.c:5047 handle_response: Failed 
to authenticate on INVITE to '"6050" 
<sip:8475100139 at sip.broadvoice.com>;tag=as292b9469'


TIA

Chris




More information about the asterisk-users mailing list