[Asterisk-Users] Broadvoice outgoing problems

Jay Carter j at jaydcarter.com
Sat Mar 12 15:42:41 MST 2005


Hello All,

            I'm just getting into *, and trying to use a Broadvoice account. It works inbound, but Outbound fails no matter what sip.conf parameters I try. From the recent posts here I think it could be:

A bad CVS release - I will try to download and build from a new one

Broadvoice not challenging and/or Asterisk not responding with an Authorization: in the INVITE header.

I am able to call outbound with the account using an X-Lite Soft phone on my Windows PC, so I know my username and password settings are correct. I did an Ethereal trace on the softphone call setup and compared it to a trace of the call attempt from *. I noticed that the softphone sends an Authorization: line in the INVITE header, while * does not.
 

I am registered successfully:

*CLI> sip show registry
Host                            Username       Refresh State
sip.broadvoice.com:5060         UUUUUUUUUU          11 Registered

Here is what I am getting in SIP debug:

INVITE sip:6035551212 at sip.broadvoice.com SIP/2.0
Via: SIP/2.0/UDP 192.168.0.9:5060;branch=z9hG4bK1682a548
From: "Jay D. Carter" <sip:UUUUUUUUUU at sip.broadvoice.com>;tag=as741ea376
To: <sip:6035551212 at sip.broadvoice.com>
Contact: <sip:UUUUUUUUUU at 192.168.0.9>
Call-ID: 2ae53df834ba64a075cc307224413991 at sip.broadvoice.com
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Date: Sat, 12 Mar 2005 21:56:32 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 156

v=0
o=root 4202 4202 IN IP4 192.168.0.9
s=session
c=IN IP4 192.168.0.9
t=0 0
m=audio 16022 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=silenceSupp:off - - - -
 (no NAT) to 147.135.12.128:5060
    -- Called 6035551212 at bv


Sip read:
SIP/2.0 100 Trying
Call-ID: 2ae53df834ba64a075cc307224413991 at sip.broadvoice.com
CSeq: 102 INVITE
From: "Jay D. Carter" <sip:UUUUUUUUUU at sip.broadvoice.com>;tag=as741ea376
To: <sip:6035551212 at sip.broadvoice.com>
Via: SIP/2.0/UDP 192.168.0.9:5060;branch=z9hG4bK1682a548;received={my public IP};rport=18992
Content-Length:    0


7 headers, 0 lines


Sip read:
SIP/2.0 403 Forbidden
Call-ID: 2ae53df834ba64a075cc307224413991 at sip.broadvoice.com
CSeq: 102 INVITE
From: "Jay D. Carter" <sip:UUUUUUUUUU at sip.broadvoice.com>;tag=as741ea376
To: <sip:6035551212 at sip.broadvoice.com>;tag=adeg
Via: SIP/2.0/UDP 192.168.0.9:5060;branch=z9hG4bK1682a548;received={my public IP};rport=18992
Content-Length:    0


7 headers, 0 lines
Transmitting:
ACK sip:6035551212 at sip.broadvoice.com SIP/2.0
Via: SIP/2.0/UDP 192.168.0.9:5060;branch=z9hG4bK1682a548
From: "Jay D. Carter" <sip:UUUUUUUUUU at sip.broadvoice.com>;tag=as741ea376
To: <sip:6035551212 at sip.broadvoice.com>;tag=adeg
Contact: <sip:UUUUUUUUUU at 192.168.0.9>
Call-ID: 2ae53df834ba64a075cc307224413991 at sip.broadvoice.com
CSeq: 102 ACK
User-Agent: Asterisk PBX
Content-Length: 0

 (no NAT) to 147.135.12.128:5060
Mar 12 16:56:32 WARNING[4202]: chan_sip.c:6829 handle_response: Forbidden - wrong password on authentication for INVITE to '"Jay D. Carter" <sip:UUUUUUUUUU at sip.broadvoice.com>;tag=as741ea376'

-------------
My sip.conf:

[bv]
type=peer
host=sip.broadvoice.com
outboundproxy=proxy.chi.broadvoice.com
fromdomain=sip.broadvoice.com
fromuser=UUUUUUUUUU
username=UUUUUUUUUU
secret=mysecret
;authname=UUUUUUUUUU
;authuser=UUUUUUUUUU
context=incoming
port=5060
;Disable canreinvite if you are behind a NAT

canreinvite=no
insecure=very
dtmfmode=inband
disallow=all
allow=ulaw

Note: The commented lines in the sip.conf have been tried - same result

Hosts file has:
147.135.12.128  sip.broadvoice.com
..I have also tried without any hosts entry.

I'd really appreciate the sanity check any assistance you all can provide.

Thanks!

JDC




More information about the asterisk-users mailing list