[asterisk-bugs] [Asterisk 0010584]: Can not register with server from sip.conf if domain name or IP is not in real time db

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Sep 6 13:17:21 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10584 
====================================================================== 
Reported By:                Dovid
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10584
Category:                   PBX/pbx_realtime
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:            1.4.6 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-28-2007 13:58 CDT
Last Modified:              09-06-2007 13:17 CDT
====================================================================== 
Summary:                    Can not register with server from sip.conf if domain
name or IP is not in real time db
Description: 
I am having a problem which I can replicate on 1.4.6 but I never have the
problem on 1.2.24. (or on any 1.2.X for that matter).

When trying to register with another server (in this case SER) if I am
using real time asterisk queries the asterisk real time for the host name
(or IP depending on how I wrote my register statement in sip.conf).

For instance if I use register => 1234:1234 at myprovider.com then you see
asterisk looking for myhost.com in the mysql db. It should not because it
is just a registration statement. If I put the rest of the information in
to the asterisk real time db then I have no issue.

One thing I will add is that as long as I have an entry in my real time
for myprovider.com it will work for multiple registrations. Meaning that if
under the name myprovider.com I have sip user name 1234 and password 1234
and I have in sip.conf

register => 1234:1234 at myprovider.com
register => 4444:4444.myprovider.com
register => 6666:6666.myprovider.com

all of the above registrations will work as long as I have an entry for
myprovider.com in my realtime db


====================================================================== 

---------------------------------------------------------------------- 
 Dovid - 09-06-07 13:17  
---------------------------------------------------------------------- 
file:  The issue I am having is just on registration. Do you want me to
turn off all other registrations and send you a debug with just this SIP
account active ? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-06-07 13:17  Dovid          Note Added: 0070042                          
======================================================================




More information about the asterisk-bugs mailing list