[Asterisk-Dev] SIP registration now fails ?

Iain Stevenson iain at iainstevenson.com
Sat Apr 19 12:11:51 MST 2003


They're both configured as "friends".   A "sip show peers" reported the ATA 
186 interfaces (as well as the registration with FWD).

Maybe it's got something to do with the "dynamic" option.  However,  my ATA 
186 will always have the same address - I've set DHCP up to do that - so it 
seems unnecessary to designate it as dynamic.  I'd assumed that 
host=ata186.myhome.net would be OK since this will always resolve to the 
same address which is the default address specified in sip.conf.

  Iain


--On Saturday, April 19, 2003 12:58:33 -0500 Mark Spencer 
<markster at digium.com> wrote:

> Sounds like you don't have a peer named "cisco" or it's not dynamic,
> because we're not even giving it the chance to attempt to authenticate.
>
> Mark
>
> On Sat, 19 Apr 2003, Iain Stevenson wrote:
>
>>
>> I installed the latest cvs today and seem to be having some problems with
>> SIP registration from my ATA 186.   As well as loading the latest * I
>> also configured a FWD accounr although I can't see why this should have
>> mucked up registration of the local ATA 186.
>>
>> I've attached the SIP trace below.   The ATA 186 is named
>> ata186.myhome.net but this doesn't appear anywhere in the registration
>> messages.  It's I{P address is 192.168.1.240.  myhost.myhome.net is the
>> * server.  It used to work OK.  Any clues?
>>
>>   Iain
>>
>>
>>
>> Sip read:
>> REGISTER sip:myhost.myhome.net SIP/2.0
>> Via: SIP/2.0/UDP 192.168.1.240:5060
>> From: sip:cisco at myhost.myhome.net
>> To: sip:cisco at myhost.myhome.net
>> Call-ID: 624861130 at 192.168.1.240
>> CSeq: 1 REGISTER
>> Contact:  <sip:cisco at 192.168.1.240:5060;transport=udp>;expires=3600
>> User-Agent: Cisco ATA  v2.15 ata18x (020927a)
>> Content-Length: 0
>>
>>
>> 9 headers, 0 lines
>> Interface is eth0
>> IP Address is 192.168.1.254
>> Using latest request as basis request
>> Sending to 192.168.1.240 : 5060 (non-NAT)
>> Transmitting (no NAT):
>> SIP/2.0 401 Unauthorized
>> Via: SIP/2.0/UDP 192.168.1.240:5060
>> From: sip:cisco at myhost.myhome.net
>> To: sip:cisco at myhost.myhome.net;tag=as2a487cb0
>> Call-ID: 624861130 at 192.168.1.240
>> CSeq: 1 REGISTER
>> User-Agent: Asterisk PBX
>> Contact: <sip:cisco at 192.168.1.254>
>> Content-Length: 0
>>
>>
>>
>> _______________________________________________
>> Asterisk-Dev mailing list
>> Asterisk-Dev at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-dev
>>
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>







More information about the asterisk-dev mailing list