[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
Tue Aug 28 14:09:51 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: new
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: 08-28-2007 14:09 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 - 08-28-07 14:09
----------------------------------------------------------------------
I put the SIP debug a lot of other goodies in the additional info section
but I guess your db has a limit on the amount of characters. The rest of
the info is available here:
http://h6315.com/rest.txt
Issue History
Date Modified Username Field Change
======================================================================
08-28-07 14:09 Dovid Note Added: 0069573
======================================================================
More information about the asterisk-bugs
mailing list