mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-07 05:29:22 +00:00
ftmod_libpri: clarify why we enable facility conditionally
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
This commit is contained in:
parent
9e40c23cdb
commit
0a0e79e1fe
@ -1327,7 +1327,10 @@ static void *ftdm_libpri_run(ftdm_thread_t *me, void *obj)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_LIBPRI_AOC
|
#ifdef HAVE_LIBPRI_AOC
|
||||||
/* enable FACILITY on trunk, if needed */
|
/*
|
||||||
|
* Only enable facility on trunk if really required,
|
||||||
|
* this may help avoid problems on troublesome lines.
|
||||||
|
*/
|
||||||
if (isdn_data->opts & FTMOD_LIBPRI_OPT_FACILITY_AOC) {
|
if (isdn_data->opts & FTMOD_LIBPRI_OPT_FACILITY_AOC) {
|
||||||
pri_facility_enable(isdn_data->spri.pri);
|
pri_facility_enable(isdn_data->spri.pri);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user