[Asterisk-Users] Broadvoice problem

Ed Brady mailinglist at ebrady.net
Sat Aug 28 10:00:55 MST 2004


One other thing that I forgot to mention,  while I was hunting this 
problem down.  Broadvoice also reprovisioned my account, which caused me 
to have to get a new password.  I do not know if you will need to do 
this or not.

Ed

Ed Brady wrote:

> I had the same problem.  To fix it, I had to do two things....
>
> First:   I had to update to CVS head, this was as per broadvoice support.
>
> Second:  After  updating, I had to change my sip.conf.  Originally my 
> sip.conf used hard coded ip addresses for broadvoice's IP servers, so 
> I had to change the following lines as such:
> register => [mynumber]:[secret]@147.135.8.129
> to read
> register => [mynumber]:[secret]@sip.broadvoice.com
>
> I also had to update my general settings for broadvoice
> [Broadvoice]
> type=peer
> username=[mynumber]
> fromuser=[mynumber]
> secret=[secret]
> context=incoming
> host=147.135.8.129
> fromdomain=147.135.8.129
> nat=yes
> canreinvite=no
> dtmfmode=inband
>
> [Broadvoice]
> type=peer
> username=[mynumber]
> fromuser=[mynumber]
> secret=[secret]
> context=incoming
> host=sip.broadvoice.com    fromdomain=sip.broadvoice.com
> nat=yes
> canreinvite=no
> dtmfmode=inband
>
>
> After doing this, it worked like before....
>
>
> Hope this helps.
>
> Ed
>
>
>
> Russell Horn wrote:
>
>> Since Thursday evening my asterisk box has been failing to register with
>> broadvoice. I haven't changed any of my config files in the last week.
>>
>> Can anyone suggest anything?
>>
>> Asterisk is reporting:
>>
>> *CLI> Aug 28 16:15:17 NOTICE[6150]: chan_sip.c:3914 sip_reg_timeout:
>> Registration for '703XXXXXXX at 147.135.8.129' timed out, trying again
>>    -- Got SIP response 404 "Not found" back from 147.135.8.129
>> Urgent handler
>>
>>
>> My broadvoice config in sip.conf looks like:
>>
>> [general]
>> context=incoming                ; Default context for incoming calls
>> externalip=82.41.201.XXX
>> register => 703XXXXXXX:PASSWORD at 147.135.8.129
>> port=5060                       ; UDP Port to bind to (SIP standard port
>> is 5060)
>> bindaddr=0.0.0.0                ; address to bind to (0.0.0.0 binds 
>> to all)
>> srvlookup=no                    ; Enable DNS SRV lookups on outbound 
>> calls
>>
>> [Broadvoice]
>> type=peer
>> username=703XXXXXXX
>> fromuser=703XXXXXXX
>> secret=PASSWORD
>> host=147.135.8.129
>> context=flat
>> fromdomain=147.135.8.129
>> nat=no
>> disallow=all
>> allow=ulaw
>> canreinvite=no
>> dtmfmode=inband
>> qualify=yes
>>
>>
>>
>>
>>
>>
>> tethereal -V port 5060 reports:
>>
>> Frame 11 (416 on wire, 416 captured)
>>    Arrival Time: Aug 28, 2004 16:17:05.729730000
>>    Time delta from previous packet: 4.093142000 seconds
>>    Time relative to first packet: 20.001957000 seconds
>>    Frame Number: 11
>>    Packet Length: 416 bytes
>>    Capture Length: 416 bytes
>> Ethernet II
>>    Destination: 00:0d:66:23:84:54 (00:0d:66:23:84:54)
>>    Source: 00:40:95:35:d0:b8 (R.P.T._35:d0:b8)
>>    Type: IP (0x0800)
>> Internet Protocol, Src Addr: 
>> 82-41-201-.cable.ubr11.edin.blueyonder.co.uk
>> (82.41.201.160), Dst Addr: 147.135.8.129 (147.135.8.129)
>>    Version: 4
>>    Header length: 20 bytes
>>    Differentiated Services Field: 0x10 (DSCP 0x04: Unknown DSCP; ECN: 
>> 0x00)
>>        0001 00.. = Differentiated Services Codepoint: Unknown (0x04)
>>        .... ..0. = ECN-Capable Transport (ECT): 0
>>        .... ...0 = ECN-CE: 0
>>    Total Length: 402
>>    Identification: 0x000d
>>    Flags: 0x04
>>        .1.. = Don't fragment: Set
>>        ..0. = More fragments: Not set
>>    Fragment offset: 0
>>    Time to live: 64
>>    Protocol: UDP (0x11)
>>    Header checksum: 0x816c (correct)
>>    Source: 82-41-201.cable.ubr11.edin.blueyonder.co.uk
>>    Destination: 147.135.8.129 (147.135.8.129)
>> User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
>>    Source port: sip (5060)
>>    Destination port: sip (5060)
>>    Length: 382
>>    Checksum: 0x6327 (correct)
>> Session Initiation Protocol
>>    Request line: REGISTER sip:147.135.8.129 SIP/2.0
>>    Message Header
>>        Via: SIP/2.0/UDP 82.41.201.160:5060;branch=z9hG4bK30718407
>>        From: <sip:703XXXXXXX at 147.135.8.129>;tag=as38aec91c
>>        To: <sip:703XXXXXXX at 147.135.8.129>
>>        Call-ID: 7fdcc2331befd79f41a7c4c96b68079a at 192.168.0.1
>>        CSeq: 106 REGISTER
>>        User-Agent: Asterisk PBX
>>        Expires: 120
>>        Contact: <sip:s at 82.41.201.XXX>
>>        Event: registration
>>        Content-Length: 0
>>
>> Frame 12 (348 on wire, 348 captured)
>>    Arrival Time: Aug 28, 2004 16:17:05.995393000
>>    Time delta from previous packet: 0.265663000 seconds
>>    Time relative to first packet: 20.267620000 seconds
>>    Frame Number: 12
>>    Packet Length: 348 bytes
>>    Capture Length: 348 bytes
>> Ethernet II
>>    Destination: 00:40:95:35:d0:b8 (R.P.T._35:d0:b8)
>>    Source: 00:0d:66:23:84:70 (00:0d:66:23:84:70)
>>    Type: IP (0x0800)
>> Internet Protocol, Src Addr: 147.135.8.128 (147.135.8.128), Dst Addr:
>> 82-41-201-XXX.cable.ubr11.edin.blueyonder.co.uk (82.41.201.XXX)
>>    Version: 4
>>    Header length: 20 bytes
>>    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
>>        0000 00.. = Differentiated Services Codepoint: Default (0x00)
>>        .... ..0. = ECN-Capable Transport (ECT): 0
>>        .... ...0 = ECN-CE: 0
>>    Total Length: 334
>>    Identification: 0xf020
>>    Flags: 0x00
>>        .0.. = Don't fragment: Not set
>>        ..0. = More fragments: Not set
>>    Fragment offset: 0
>>    Time to live: 49
>>    Protocol: UDP (0x11)
>>    Header checksum: 0xe0ad (correct)
>>    Source: 147.135.8.128 (147.135.8.128)
>>    Destination: 82-41-201-XXX.cable.ubr11.edin.blueyonder.co.uk
>> (82.41.201.XXX)
>> User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
>>    Source port: sip (5060)
>>    Destination port: sip (5060)
>>    Length: 314
>>    Checksum: 0x15e1 (correct)
>> Session Initiation Protocol
>>    Status line: SIP/2.0 404 Not found
>>    Message Header
>>        Via: SIP/2.0/UDP 82.41.201.XXX:5060;branch=z9hG4bK30718407
>>        From: <sip:7036490222 at 147.135.8.129>;tag=as38aec91c
>>        To:
>> <sip:7036490222 at 147.135.8.129>;tag=SD30va299-239804385-1093709825857
>>        Call-ID: 7fdcc2331befd79f41a7c4c96b68079a at 192.168.0.1
>>        CSeq: 106 REGISTER
>>        Content-Length: 0
>>
>>
>>
>> _______________________________________________
>> Asterisk-Users mailing list
>> Asterisk-Users at 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
>>
>>  
>>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
>




More information about the asterisk-users mailing list