[asterisk-bugs] [Asterisk 0011618]: AST-2007-027 caused a bug with outbound dialing using the SIPPEERS table
noreply at bugs.digium.com
noreply at bugs.digium.com
Fri Dec 21 17:52:01 CST 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11618
======================================================================
Reported By: plack
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 11618
Category: Channels/chan_sip/DatabaseSupport
Reproducibility: always
Severity: major
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 94593
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 12-21-2007 17:15 CST
Last Modified: 12-21-2007 17:52 CST
======================================================================
Summary: AST-2007-027 caused a bug with outbound dialing
using the SIPPEERS table
Description:
System cannot find the correct peer when the host IP address has been set
and using the name for app_dial.
The system is checking only for sippeers with the host value of dynamic.
======================================================================
----------------------------------------------------------------------
plack - 12-21-07 17:52
----------------------------------------------------------------------
If I place the following code after line 2502, it works
if (!var) {
var = ast_load_realtime("sippeers", "name", newpeername, "host !=",
"null", NULL);
}
not the most elegant solution, but I could not figure out how to get
"(name=dynamic OR name != null) on line 2502.
Issue History
Date Modified Username Field Change
======================================================================
12-21-07 17:52 plack Note Added: 0075826
======================================================================
More information about the asterisk-bugs
mailing list