[asterisk-bugs] [Asterisk 0018135]: chan_sip loses registration and peer information after dnsmgr refresh

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 13 14:04:18 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18135 
====================================================================== 
Reported By:                lmadsen
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18135
Category:                   Channels/chan_sip/General
Reproducibility:            sometimes
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.8.0-rc3 
JIRA:                       SWP-2364 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-10-13 12:43 CDT
Last Modified:              2010-10-13 14:04 CDT
====================================================================== 
Summary:                    chan_sip loses registration and peer information
after dnsmgr refresh
Description: 
It seems to be related to the DNS refreshing on the system, but when that
happens, my peers will often become unreachable for outbound calling while
inbound calling seems to be fine.

The main indication of this is when you run 'sip show peers' you'll see
the port has been set to 0 (zero) even though the port=5060 setting is part
of the peer definition in sip.conf.

I've seen other reports of this on #asterisk today as well. May be related
to the other dnsmgr issues in chan_iax2 etc..?
====================================================================== 

---------------------------------------------------------------------- 
 (0127974) lmadsen (administrator) - 2010-10-13 14:04
 https://issues.asterisk.org/view.php?id=18135#c127974 
---------------------------------------------------------------------- 
Example peer that gets the port set to 0:


[4164791234]
type=peer
defaultuser=4164791234
fromuser=4164791234
fromdomain=unlimitel.ca
context=incoming
secret=<ya_right_punk>
host=sip02.unlimitel.ca
port=5060
nat=yes
canreinvite=no
qualify=no
disallow=all
allow=ulaw
dtmfmode=rfc2833
insecure=invite,port 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-13 14:04 lmadsen        Note Added: 0127974                          
======================================================================




More information about the asterisk-bugs mailing list