From ea17cdae4fc352669749a8c1e77124fe125cf1a6 Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Wed, 2 Jun 2010 16:26:40 +0000 Subject: [PATCH] Inband disconnect setting does nothing on BRI spans. The acceptinbanddisconnect flag is not inherited when creating a new TEI and thus rendering the setting (and its respective equivalent in Asterisk) a no-op on BRI setups. (closes issue #15265) Reported by: paravoid Patches: inband-bri.diff uploaded by paravoid (license 200) Tested by: paravoid git-svn-id: https://origsvn.digium.com/svn/libpri/tags/1.4.11.1@1806 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- pri.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pri.c b/pri.c index 4aa9456..ba3ea84 100644 --- a/pri.c +++ b/pri.c @@ -300,6 +300,7 @@ struct pri *__pri_new_tei(int fd, int node, int switchtype, struct pri *master, pri_default_timers(p, switchtype); if (master) { pri_set_debug(p, master->debug); + pri_set_inbanddisconnect(p, master->acceptinbanddisconnect); if (master->sendfacility) pri_facility_enable(p); }