mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-31 07:34:19 +00:00
ftmod_libpri: Fix reversed PTP/PTMP mode parameter
This commit is contained in:
1 parent
6ca919be61
commit
b9391cffc2
3 files changed
+6
-5
No files matched your search
@@ -1099,14 +1099,14 @@ static void *ftdm_libpri_run(ftdm_thread_t *me, void *obj)
|
||||
break;
|
||||
case FTDM_TRUNK_BRI:
|
||||
res = lpwrap_init_bri(&isdn_data->spri, span, isdn_data->dchan,
|
||||
isdn_data->pswitch, isdn_data->node, 0, isdn_data->debug);
|
||||
isdn_data->pswitch, isdn_data->node, 1, isdn_data->debug);
|
||||
#ifndef HAVE_LIBPRI_BRI
|
||||
goto out;
|
||||
#endif
|
||||
break;
|
||||
case FTDM_TRUNK_BRI_PTMP:
|
||||
res = lpwrap_init_bri(&isdn_data->spri, span, isdn_data->dchan,
|
||||
isdn_data->pswitch, isdn_data->node, 1, isdn_data->debug);
|
||||
isdn_data->pswitch, isdn_data->node, 0, isdn_data->debug);
|
||||
#ifndef HAVE_LIBPRI_BRI
|
||||
goto out;
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user