Re: [Asterisk-Users] Asterisk & Broadvoice help??

2005-12-20 Thread Steven Job

very difficult to figure to that out in the wee hours of the morning.


Yes it is!!!
I made the same mistake... I think everyone does at first since it is hidden 
way deep in a tab of some screen.


But I'm glad I was able to help. :-)



- Original Message - 
From: "Shawn Porter" <[EMAIL PROTECTED]>
To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" 


Sent: Tuesday, December 20, 2005 12:01 PM
Subject: RE: [Asterisk-Users] Asterisk & Broadvoice help??



Thanks Steven
Works great.
They should put a little more detail in the setup page as to where you get
that password!!
very difficult to figure to that out in the wee hours of the morning.

Shawn

-Original Message-
From: Steven Job [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 20, 2005 11:27 AM
To: [EMAIL PROTECTED]; Asterisk Users Mailing List -
Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Asterisk & Broadvoice help??


What password are you using?  This is the special one they created for you
correct?  This should not the one that you created on your own (that you 
use

to log in).


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


I don't have any "context" in my configuration.  Try removing that.


register =>
[EMAIL PROTECTED]:XX:[EMAIL PROTECTED]/1001


Change that to:

register =>
[EMAIL PROTECTED]:XX:[EMAIL PROTECTED]

I never got that extension thing to work.  But without it, it did.


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users



___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Asterisk & Broadvoice help??

2005-12-20 Thread Shawn Porter
Thanks Steven
Works great.
They should put a little more detail in the setup page as to where you get
that password!!
very difficult to figure to that out in the wee hours of the morning.

Shawn

-Original Message-
From: Steven Job [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 20, 2005 11:27 AM
To: [EMAIL PROTECTED]; Asterisk Users Mailing List -
Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Asterisk & Broadvoice help??


What password are you using?  This is the special one they created for you
correct?  This should not the one that you created on your own (that you use
to log in).

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

I don't have any "context" in my configuration.  Try removing that.

> register =>
> [EMAIL PROTECTED]:XX:[EMAIL PROTECTED]/1001

Change that to:

register =>
[EMAIL PROTECTED]:XX:[EMAIL PROTECTED]

I never got that extension thing to work.  But without it, it did.


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Asterisk & Broadvoice help??

2005-12-20 Thread Steven Job
What password are you using?  This is the special one they created for you 
correct?  This should not the one that you created on your own (that you use 
to log in).



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


I don't have any "context" in my configuration.  Try removing that.

register => 
[EMAIL PROTECTED]:XX:[EMAIL PROTECTED]/1001


Change that to:

register => 
[EMAIL PROTECTED]:XX:[EMAIL PROTECTED]


I never got that extension thing to work.  But without it, it did.


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Asterisk & Broadvoice help??

2005-12-20 Thread Bruce Komito
Try

register => 7723821447:[EMAIL PROTECTED]/7723821447

That works for me.


Bruce Komito
High Sierra Networks, Inc.
www.servers-r-us.com
(775) 236-5815


On Tue, 20 Dec 2005, Shawn Porter wrote:

> Would someone be so kind as to point out what stupid little mistake I have
> made.  I thought I did everything according to the setup page but I fail to
> register.
>
> HOSTS file contains
> 147.135.8.128sip.broadvoice.com
>
> SIP.CONF
> [general]
> context=iaxclients  ; Default context for incoming calls
> port=5060   ; UDP Port to bind to (SIP standard port is 5060)
> bindaddr=0.0.0.0  ; IP address to bind to (0.0.0.0 binds to all)
> srvlookup=yes   ; Enable DNS SRV lookups on outbound calls
> ; Note: Asterisk only uses the first host
> ; in SRV records
> ; Disabling DNS SRV lookups disables the
> ; ability to place SIP calls based on domain
> ; names to some other SIP users on the Internet
>
> pedantic=no   ; Enable slow, pedantic checking for Pingtel
> ; and multiline formatted headers for strict
> ; SIP compatibility (defaults to "no")
> disallow=all   ; First disallow all codecs
> allow=ulaw,alaw,g723,speex.ilbc   ; Allow codecs in order of preference
> dtmfmode=inband
> register =>
> [EMAIL PROTECTED]:XX:[EMAIL PROTECTED]/1001
>
> [1001]
> ;shawn
> type=friend
> host=dynamic
> ;dtmfmode=inband
> secret=
> context=iaxclients
> callerid="Oghma Consulting" <647-283->
>
> [666]
> type=friend
> host=10.0.0.101
> canreinvite=no
> defaultip=10.0.0.101
> context=iaxclients
> insecure=very
>
> [sip.broadvoice.com]
> type=peer
> user=phone
> host=sip.broadvoice.com
> fromdomain=sip.broadvoice.com
> fromuser=7723821447
> secret=
> username=7723821447
> insecure=very
> context=iaxclients
> authname=7723821447
> dtmfmode=inband
> dtmf=inband
> ;Disable canreinvite if you are behind a NAT
> canreinvite=no
>
>
>
>
> SIP DEBUG
> Asterisk Ready.
> *CLI> sip debug
> SIP Debugging Enabled
> *CLI> Dec 20 10:51:51 NOTICE[14126]: chan_sip.c:4017 sip_reregister:--
> Re-registration for  [EMAIL PROTECTED]@sip.broadvoice.com
> 11 headers, 0 lines
> Reliably Transmitting:
> REGISTER sip:sip.broadvoice.com SIP/2.0
> Via: SIP/2.0/UDP 10.0.0.164:5060;branch=z9hG4bK4168ff8c
> From: ;tag=as565f9ec4
> To: 
> Call-ID: [EMAIL PROTECTED]
> CSeq: 102 REGISTER
> User-Agent: Asterisk PBX
> Expires: 120
> Contact: 
> Event: registration
> Content-Length: 0
>
>  (no NAT) to 147.135.8.128:5060
>
>
> Sip read:
> SIP/2.0 401 Unauthorized
> Call-ID: [EMAIL PROTECTED]
> CSeq: 102 REGISTER
> From: ;tag=as565f9ec4
> To: 
> Via: SIP/2.0/UDP sip.broadvoice.com:5060;branch=z9hG4bK4168ff8c
> WWW-Authenticate: DIGEST
> realm="BroadWorks",algorithm=MD5,nonce="1135093911710"
> Content-Length:0
>
>
> 8 headers, 0 lines
> Responding to challenge, registration to domain/host name sip.broadvoice.com
> 12 headers, 0 lines
> Reliably Transmitting:
> REGISTER sip:sip.broadvoice.com SIP/2.0
> Via: SIP/2.0/UDP 10.0.0.164:5060;branch=z9hG4bK220b3020
> From: ;tag=as565f9ec4
> To: 
> Call-ID: [EMAIL PROTECTED]
> CSeq: 103 REGISTER
> User-Agent: Asterisk PBX
> Authorization: Digest username="7723821447", realm="BroadWorks",
> algorithm=MD5, uri="sip:sip.broadvoice.com", nonce="1135093911710",
> response="2c73b280cd7857c8f6d2b56acd6e71eb", opaque=""
> Expires: 120
> Contact: 
> Event: registration
> Content-Length: 0
>
>  (no NAT) to 147.135.8.128:5060
>
>
> Sip read:
> SIP/2.0 401 Unauthorized
> Call-ID: [EMAIL PROTECTED]
> CSeq: 103 REGISTER
> From: ;tag=as565f9ec4
> To: 
> Via: SIP/2.0/UDP sip.broadvoice.com:5060;branch=z9hG4bK220b3020
> WWW-Authenticate: DIGEST
> realm="BroadWorks",algorithm=MD5,nonce="1135093911970"
> Content-Length:0
>
>
> 8 headers, 0 lines
> Responding to challenge, registration to domain/host name sip.broadvoice.com
> 12 headers, 0 lines
> Reliably Transmitting:
> REGISTER sip:sip.broadvoice.com SIP/2.0
> Via: SIP/2.0/UDP 10.0.0.164:5060;branch=z9hG4bK890c
> From: ;tag=as565f9ec4
> To: 
> Call-ID: [EMAIL PROTECTED]
> CSeq: 104 REGISTER
> User-Agent: Asterisk PBX
> Authorization: Digest username="7723821447", realm="BroadWorks",
> algorithm=MD5, uri="sip:sip.broadvoice.com", nonce="1135093911970",
> response="fb0d8ac4bc042e67a716976d4f10004f", opaque=""
> Expires: 120
> Contact: 
> Event: registration
> Content-Length: 0
>
>  (no NAT) to 147.135.8.128:5060
>
>
> Sip read:
> SIP/2.0 401 Unauthorized
> Call-ID: [EMAIL PROTECTED]
> CSeq: 104 REGISTER
> From: ;tag=as565f9ec4
> To: 
> Via: SIP/2.0/UDP sip.broadvoice.com:5060;branch=z9hG4bK890c
> WWW-Authenticate: DIGEST
> realm="BroadWorks",algorithm=MD5,nonce="1135093912150"
> Content-Length:0
>
>
> 8 headers, 0 lines
> Dec 20 10:51:52 NOTICE[14126]: chan_sip.c:6854 handle_response: Failed to
> authenticate on REGISTER to
> ';tag=as565f9ec4'
> Destroying call '[EMAIL PROTECTED]'
> Dec 20 10:52:11 NOTICE[14126]: chan_sip.c:4045 sip_reg_timeout:--
> Registration for '[EMAIL PROTECTED]@sip.broadvoice.com' timed
> out, trying a

[Asterisk-Users] Asterisk & Broadvoice help??

2005-12-20 Thread Shawn Porter



Would 
someone be so kind as to point out what stupid little mistake I have made.  
I thought I did everything according to the setup page but I fail to 
register.
 
HOSTS 
file contains
147.135.8.128    sip.broadvoice.com
 
SIP.CONF
[general]context=iaxclients  ; Default context for incoming 
callsport=5060   ; UDP Port to bind to (SIP standard port is 
5060)bindaddr=0.0.0.0  ; IP address to bind to (0.0.0.0 binds to 
all)srvlookup=yes   ; Enable DNS SRV lookups on outbound 
calls; Note: Asterisk only uses the first host 
; in SRV records; 
Disabling DNS SRV lookups disables the ; ability to 
place SIP calls based on domain ; names to some 
other SIP users on the 
Internetpedantic=no   ; Enable 
slow, pedantic checking for Pingtel; and multiline 
formatted headers for strict; SIP compatibility 
(defaults to "no")disallow=all   ; First disallow all 
codecsallow=ulaw,alaw,g723,speex.ilbc   ; Allow codecs in 
order of preferencedtmfmode=inbandregister => [EMAIL PROTECTED]:XX:[EMAIL PROTECTED]/1001
[1001];shawntype=friendhost=dynamic;dtmfmode=inbandsecret=context=iaxclientscallerid="Oghma 
Consulting" <647-283->
 
[666]type=friendhost=10.0.0.101canreinvite=nodefaultip=10.0.0.101context=iaxclientsinsecure=very
 
[sip.broadvoice.com]type=peeruser=phonehost=sip.broadvoice.comfromdomain=sip.broadvoice.comfromuser=7723821447secret=username=7723821447insecure=verycontext=iaxclientsauthname=7723821447dtmfmode=inbanddtmf=inband;Disable 
canreinvite if you are behind a NATcanreinvite=no
 
 
 
 
SIP 
DEBUG
Asterisk Ready.*CLI> sip debugSIP Debugging 
Enabled*CLI> Dec 20 10:51:51 NOTICE[14126]: chan_sip.c:4017 
sip_reregister:    -- Re-registration for  [EMAIL PROTECTED]@sip.broadvoice.com11 
headers, 0 linesReliably Transmitting:REGISTER sip:sip.broadvoice.com 
SIP/2.0Via: SIP/2.0/UDP 10.0.0.164:5060;branch=z9hG4bK4168ff8cFrom: 
;tag=as565f9ec4To: 
Call-ID: [EMAIL PROTECTED]CSeq: 
102 REGISTERUser-Agent: Asterisk PBXExpires: 120Contact: 
Event: registrationContent-Length: 
0
 
 (no NAT) to 147.135.8.128:5060
 
Sip read:SIP/2.0 401 UnauthorizedCall-ID: [EMAIL PROTECTED]CSeq: 
102 REGISTERFrom: 
;tag=as565f9ec4To: 
Via: SIP/2.0/UDP 
sip.broadvoice.com:5060;branch=z9hG4bK4168ff8cWWW-Authenticate: DIGEST 
realm="BroadWorks",algorithm=MD5,nonce="1135093911710"Content-Length:    
0
 
8 
headers, 0 linesResponding to challenge, registration to domain/host name 
sip.broadvoice.com12 headers, 0 linesReliably Transmitting:REGISTER 
sip:sip.broadvoice.com SIP/2.0Via: SIP/2.0/UDP 
10.0.0.164:5060;branch=z9hG4bK220b3020From: 
;tag=as565f9ec4To: 
Call-ID: [EMAIL PROTECTED]CSeq: 
103 REGISTERUser-Agent: Asterisk PBXAuthorization: Digest 
username="7723821447", realm="BroadWorks", algorithm=MD5, 
uri="sip:sip.broadvoice.com", nonce="1135093911710", 
response="2c73b280cd7857c8f6d2b56acd6e71eb", opaque=""Expires: 
120Contact: Event: 
registrationContent-Length: 0
 
 (no NAT) to 147.135.8.128:5060
 
Sip read:SIP/2.0 401 UnauthorizedCall-ID: [EMAIL PROTECTED]CSeq: 
103 REGISTERFrom: 
;tag=as565f9ec4To: 
Via: SIP/2.0/UDP 
sip.broadvoice.com:5060;branch=z9hG4bK220b3020WWW-Authenticate: DIGEST 
realm="BroadWorks",algorithm=MD5,nonce="1135093911970"Content-Length:    
0
 
8 
headers, 0 linesResponding to challenge, registration to domain/host name 
sip.broadvoice.com12 headers, 0 linesReliably Transmitting:REGISTER 
sip:sip.broadvoice.com SIP/2.0Via: SIP/2.0/UDP 
10.0.0.164:5060;branch=z9hG4bK890cFrom: 
;tag=as565f9ec4To: 
Call-ID: [EMAIL PROTECTED]CSeq: 
104 REGISTERUser-Agent: Asterisk PBXAuthorization: Digest 
username="7723821447", realm="BroadWorks", algorithm=MD5, 
uri="sip:sip.broadvoice.com", nonce="1135093911970", 
response="fb0d8ac4bc042e67a716976d4f10004f", opaque=""Expires: 
120Contact: Event: 
registrationContent-Length: 0
 
 (no NAT) to 147.135.8.128:5060
 
Sip read:SIP/2.0 401 UnauthorizedCall-ID: [EMAIL PROTECTED]CSeq: 
104 REGISTERFrom: 
;tag=as565f9ec4To: 
Via: SIP/2.0/UDP 
sip.broadvoice.com:5060;branch=z9hG4bK890cWWW-Authenticate: DIGEST 
realm="BroadWorks",algorithm=MD5,nonce="1135093912150"Content-Length:    
0
 
8 
headers, 0 linesDec 20 10:51:52 NOTICE[14126]: chan_sip.c:6854 
handle_response: Failed to authenticate on REGISTER to 
';tag=as565f9ec4'Destroying call '[EMAIL PROTECTED]'Dec 
20 10:52:11 NOTICE[14126]: chan_sip.c:4045 sip_reg_timeout:    -- 
Registration for '[EMAIL PROTECTED]@sip.broadvoice.com' 
timed out, trying again12 headers, 0 linesReliably 
Transmitting:REGISTER sip:sip.broadvoice.com SIP/2.0Via: SIP/2.0/UDP 
10.0.0.164:5060;branch=z9hG4bK5242a6a3From: 
;tag=as1c7995a0To: 
Call-ID: [EMAIL PROTECTED]CSeq: 
105 REGISTERUser-Agent: Asterisk PBXAuthorization: Digest 
username="7723821447", realm="BroadWorks", algorithm=MD5, 
uri="sip:sip.broadvoice.com", nonce="1135093911970", 
response="fb0d8ac4bc042e67a716976d4f10004f", opaque=""Expires: 
120Contact: Event: 
registrationContent-Length: 0
 
 (no NAT) to 147.135.8.128:5060
 
Sip read:SIP/2.0 401