Bug#433779: No SIP registration if DNS is not avaialable

Nestor A. Diaz nestor at tiendalinux.com
Sat Mar 22 01:31:50 UTC 2008


Hello, i have the same problem that reported hasse hagen johansen, if i 
for example unplug the internet network cable, and restart the bind 
server process none of the sip clients can register with asterisk, i 
test it with linksys ip phone and sjphone and none of them works, i use 
asterisk 1.4.13~dfsg-2~etch.4733

here is a log of sjphone:

20:18:46 INFO     
DNS servers in use (3 servers):
192.168.1.1 : 53
192.168.1.1 : 53
192.168.1.1 : 53
DNS servers from profile (0 servers):

20:19:25 ERROR     Failed to start synchronization procedure, error: 
failed to synchronize (operation InternalSynchronize, invalid Server 
address "mls.softjoys.com" specified)
20:19:25 INFO     
DNS servers in use (3 servers):
192.168.1.1 : 53
192.168.1.1 : 53
192.168.1.1 : 53
DNS servers from profile (0 servers):

20:19:25 INFO      Registration event logged
20:19:25 INFO      Registration event logged
20:19:25 INFO      Registration event logged
20:19:25 INFO      Registration of sip:291 at 192.168.1.1:5060 engaged...
20:19:25 INFO      Registration event logged
20:19:25 DEBUG    
2008-03-22 01:19:25.591 UDP LOCAL->192.168.1.1:5060
REGISTER sip:192.168.1.1:5060 SIP/2.0
Content-Length: 0
Contact: <sip:291 at 192.168.1.21:5060>;events="message-summary"
Call-ID: 3D0B1481-FBFD-41AF-A930-8C6E78A18AE0 at 192.168.1.21
Max-Forwards: 70
From: <sip:291 at 192.168.1.1:5060>;tag=179045234133
CSeq: 3 REGISTER
To: <sip:291 at 192.168.1.1:5060>
Via: SIP/2.0/UDP 
192.168.1.21;rport;branch=z9hG4bKc0a801150131c9b147e45e9d0000416600000013
User-Agent: SJLabs-SJphone/1.40.258


20:19:26 DEBUG    
2008-03-22 01:19:26.091 UDP LOCAL->192.168.1.1:5060
REGISTER sip:192.168.1.1:5060 SIP/2.0
Content-Length: 0
Contact: <sip:291 at 192.168.1.21:5060>;events="message-summary"
Call-ID: 3D0B1481-FBFD-41AF-A930-8C6E78A18AE0 at 192.168.1.21
Max-Forwards: 70
From: <sip:291 at 192.168.1.1:5060>;tag=179045234133
CSeq: 3 REGISTER
To: <sip:291 at 192.168.1.1:5060>
Via: SIP/2.0/UDP 
192.168.1.21;rport;branch=z9hG4bKc0a801150131c9b147e45e9d0000416600000013
User-Agent: SJLabs-SJphone/1.40.258


20:19:26 DEBUG    
2008-03-22 01:19:26.498 UDP LOCAL->192.168.1.1:5060
OPTIONS sip:192.168.1.1:5060 SIP/2.0
Content-Length: 0
Call-ID: B1D92A22-3E6D-4741-8AF8-64F655522109 at 192.168.1.21
From: <sip:291 at 192.168.1.1:5060>;tag=17904618711638
CSeq: 5 OPTIONS
Max-Forwards: 70
To: <sip:192.168.1.1:5060>
Via: SIP/2.0/UDP 
192.168.1.21;rport;branch=z9hG4bKc0a801150131c9b147e45e9e0000596200000014


20:19:27 DEBUG    
2008-03-22 01:19:27.091 UDP LOCAL->192.168.1.1:5060
REGISTER sip:192.168.1.1:5060 SIP/2.0
Content-Length: 0
Contact: <sip:291 at 192.168.1.21:5060>;events="message-summary"
Call-ID: 3D0B1481-FBFD-41AF-A930-8C6E78A18AE0 at 192.168.1.21
Max-Forwards: 70
From: <sip:291 at 192.168.1.1:5060>;tag=179045234133
CSeq: 3 REGISTER
To: <sip:291 at 192.168.1.1:5060>
Via: SIP/2.0/UDP 
192.168.1.21;rport;branch=z9hG4bKc0a801150131c9b147e45e9d0000416600000013
User-Agent: SJLabs-SJphone/1.40.258


20:19:29 DEBUG    
2008-03-22 01:19:29.091 UDP LOCAL->192.168.1.1:5060
REGISTER sip:192.168.1.1:5060 SIP/2.0
Content-Length: 0
Contact: <sip:291 at 192.168.1.21:5060>;events="message-summary"
Call-ID: 3D0B1481-FBFD-41AF-A930-8C6E78A18AE0 at 192.168.1.21
Max-Forwards: 70
From: <sip:291 at 192.168.1.1:5060>;tag=179045234133
CSeq: 3 REGISTER
To: <sip:291 at 192.168.1.1:5060>
Via: SIP/2.0/UDP 
192.168.1.21;rport;branch=z9hG4bKc0a801150131c9b147e45e9d0000416600000013
User-Agent: SJLabs-SJphone/1.40.258


20:19:33 DEBUG    
2008-03-22 01:19:33.091 UDP LOCAL->192.168.1.1:5060
REGISTER sip:192.168.1.1:5060 SIP/2.0
Content-Length: 0
Contact: <sip:291 at 192.168.1.21:5060>;events="message-summary"
Call-ID: 3D0B1481-FBFD-41AF-A930-8C6E78A18AE0 at 192.168.1.21
Max-Forwards: 70
From: <sip:291 at 192.168.1.1:5060>;tag=179045234133
CSeq: 3 REGISTER
To: <sip:291 at 192.168.1.1:5060>
Via: SIP/2.0/UDP 
192.168.1.21;rport;branch=z9hG4bKc0a801150131c9b147e45e9d0000416600000013
User-Agent: SJLabs-SJphone/1.40.258


20:19:36 INFO      Discovery procedure for local network interface 
192.168.232.1 : 0 initiated
20:19:36 INFO      Discovery procedure for local network interface 
192.168.144.1 : 0 initiated
20:19:37 DEBUG    
2008-03-22 01:19:37.091 UDP LOCAL->192.168.1.1:5060
REGISTER sip:192.168.1.1:5060 SIP/2.0
Content-Length: 0
Contact: <sip:291 at 192.168.1.21:5060>;events="message-summary"
Call-ID: 3D0B1481-FBFD-41AF-A930-8C6E78A18AE0 at 192.168.1.21
Max-Forwards: 70
From: <sip:291 at 192.168.1.1:5060>;tag=179045234133
CSeq: 3 REGISTER
To: <sip:291 at 192.168.1.1:5060>
Via: SIP/2.0/UDP 
192.168.1.21;rport;branch=z9hG4bKc0a801150131c9b147e45e9d0000416600000013
User-Agent: SJLabs-SJphone/1.40.258


20:19:41 DEBUG    
2008-03-22 01:19:41.091 UDP LOCAL->192.168.1.1:5060
REGISTER sip:192.168.1.1:5060 SIP/2.0
Content-Length: 0
Contact: <sip:291 at 192.168.1.21:5060>;events="message-summary"
Call-ID: 3D0B1481-FBFD-41AF-A930-8C6E78A18AE0 at 192.168.1.21
Max-Forwards: 70
From: <sip:291 at 192.168.1.1:5060>;tag=179045234133
CSeq: 3 REGISTER
To: <sip:291 at 192.168.1.1:5060>
Via: SIP/2.0/UDP 
192.168.1.21;rport;branch=z9hG4bKc0a801150131c9b147e45e9d0000416600000013
User-Agent: SJLabs-SJphone/1.40.258


20:19:41 INFO      Registration event logged
20:19:41 INFO      Unregistered.

Slds.

-- 
Nestor A. Diaz
Ingeniero de Sistemas
Tel. +57 1-600-5490 x 211
Cel. +57 316-227-3593
Tel. SIP: sip:211 at tiendalinux.com
Email/MSN: nestor at tiendalinux.com
http://www.tiendalinux.com/
Bogota, Colombia 






More information about the Pkg-voip-maintainers mailing list