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/branches/1.4@1794 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
parent
505181cc1e
commit
297ff74885
1
pri.c
1
pri.c
@ -348,6 +348,7 @@ struct pri *__pri_new_tei(int fd, int node, int switchtype, struct pri *master,
|
|||||||
pri_default_timers(p, switchtype);
|
pri_default_timers(p, switchtype);
|
||||||
if (master) {
|
if (master) {
|
||||||
pri_set_debug(p, master->debug);
|
pri_set_debug(p, master->debug);
|
||||||
|
pri_set_inbanddisconnect(p, master->acceptinbanddisconnect);
|
||||||
if (master->sendfacility)
|
if (master->sendfacility)
|
||||||
pri_facility_enable(p);
|
pri_facility_enable(p);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user