I sent a few days ago right config parms that I got from BV. Try it, works
on my *.
Eugene B.
----- Original Message -----
From: "Jay Carter" <j@jaydcarter.com>
To: <asterisk-users@lists.digium.com>
Sent: Saturday, March 12, 2005 5:42 PM
Subject: [Asterisk-Users] Broadvoice outgoing problems
> 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@sip.broadvoice.com SIP/2.0
> Via: SIP/2.0/UDP 192.168.0.9:5060;branch=z9hG4bK1682a548
> From: "Jay D. Carter"
<sip:UUUUUUUUUU@sip.broadvoice.com>;tag=as741ea376
> To: <sip:6035551212@sip.broadvoice.com>
> Contact: <sip:UUUUUUUUUU@192.168.0.9>
> Call-ID: 2ae53df834ba64a075cc307224413991@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@bv
>
>
> Sip read:
> SIP/2.0 100 Trying
> Call-ID: 2ae53df834ba64a075cc307224413991@sip.broadvoice.com
> CSeq: 102 INVITE
> From: "Jay D. Carter"
<sip:UUUUUUUUUU@sip.broadvoice.com>;tag=as741ea376
> To: <sip:6035551212@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@sip.broadvoice.com
> CSeq: 102 INVITE
> From: "Jay D. Carter"
<sip:UUUUUUUUUU@sip.broadvoice.com>;tag=as741ea376
> To: <sip:6035551212@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@sip.broadvoice.com SIP/2.0
> Via: SIP/2.0/UDP 192.168.0.9:5060;branch=z9hG4bK1682a548
> From: "Jay D. Carter"
<sip:UUUUUUUUUU@sip.broadvoice.com>;tag=as741ea376
> To: <sip:6035551212@sip.broadvoice.com>;tag=adeg
> Contact: <sip:UUUUUUUUUU@192.168.0.9>
> Call-ID: 2ae53df834ba64a075cc307224413991@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@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
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>