[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 13 12:24:00 CDT 2007
The following issue has been RESOLVED.
======================================================================
http://bugs.digium.com/view.php?id=10584
======================================================================
Reported By: Dovid
Assigned To: qwell
======================================================================
Project: Asterisk
Issue ID: 10584
Category: PBX/pbx_realtime
Reproducibility: always
Severity: major
Priority: normal
Status: resolved
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:
Resolution: no change required
Fixed in Version:
======================================================================
Date Submitted: 08-28-2007 13:58 CDT
Last Modified: 09-13-2007 12:24 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
======================================================================
----------------------------------------------------------------------
qwell - 09-13-07 12:24
----------------------------------------------------------------------
SIP registrations do not attempt to look up hostnames as peers or anything,
so it would never hit the DB at all.
If you're having an issue with the registrations, you'll need to find out
why the other end isn't responding.
Closing.
Issue History
Date Modified Username Field Change
======================================================================
09-13-07 12:24 qwell Status feedback => resolved
09-13-07 12:24 qwell Resolution open => no change
required
09-13-07 12:24 qwell Assigned To => qwell
09-13-07 12:24 qwell Note Added: 0070493
======================================================================
More information about the asterisk-bugs
mailing list