summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README8
-rw-r--r--interface.c3
2 files changed, 9 insertions, 2 deletions
diff --git a/README b/README
index ac17322..3484872 100644
--- a/README
+++ b/README
@@ -454,9 +454,11 @@ Changes in Version 1.2
- Introduceing autoconf (./configure) with help of Joerg and Peter.
-> Default installation path remains /usr/local/lcr, so don't worry!
-Changes after Version 1.3
+Changes in Version 1.3
- Finished autoconf.
- Obsolete "pbxwatch" is removed.
+
+Changes after Version 1.3 release
- fixes in chan_lcr, thanx to peter and gregor
- message pointer forwarding fix, thanx to bodo!
- capability fix, thanx to gregor
@@ -467,5 +469,7 @@ Changes after Version 1.3
- Added patch by gregory, asterisk should now use faxdetection with mISDN_dsp
disabled.
-Changes after Version 1.4
+Changes after Version 1.4 release
+- Bugfix: When reloading interfaces, interface will not be reopened, if
+ interface was specified by name.
diff --git a/interface.c b/interface.c
index 1e4bc66..8a367d6 100644
--- a/interface.c
+++ b/interface.c
@@ -1321,8 +1321,11 @@ void relink_interfaces(void)
mISDNport = mISDNport_first;
while(mISDNport)
{
+ if (!strcmp(mISDNport->name, ifport->portname))
+ ifport->portnum = mISDNport->portnum; /* same name, so we use same number */
if (mISDNport->portnum == ifport->portnum)
{
+ PDEBUG(DEBUG_ISDN, "Port %d:%s relinking!\n", mISDNport->portnum);
ifport->mISDNport = mISDNport;
mISDNport->ifport = ifport;
set_defaults(ifport);