mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 00:00:44 +00:00
freetdm: open wanpipe devices as non-exclusive if possible
This commit is contained in:
parent
54c0d6f7c4
commit
0fdc272b25
@ -239,7 +239,11 @@ static unsigned wp_open_range(ftdm_span_t *span, unsigned spanno, unsigned start
|
||||
ftdm_log(FTDM_LOG_ERROR, "span %d channel %d cannot be configured as smg_prid_nfas, you need to compile freetdm with newer libsangoma\n", spanno, x);
|
||||
#endif
|
||||
} else {
|
||||
#ifdef LIBSANGOMA_VERSION
|
||||
sockfd = __tdmv_api_open_span_chan(spanno, x);
|
||||
#else
|
||||
sockfd = tdmv_api_open_span_chan(spanno, x);
|
||||
#endif
|
||||
}
|
||||
|
||||
if (sockfd == FTDM_INVALID_SOCKET) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user