mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 09:58:17 +00:00
Merge branch 'master' of git.freeswitch.org:freeswitch
This commit is contained in:
@@ -295,7 +295,7 @@ static ftdm_call_cause_t ftdm_r2_cause_to_ftdm_cause(ftdm_channel_t *fchan, open
|
||||
case OR2_CAUSE_GLARE:
|
||||
return FTDM_CAUSE_REQUESTED_CHAN_UNAVAIL;
|
||||
}
|
||||
ftdm_log_chan(fchan, FTDM_LOG_WARNING, "Mapping openr2 cause %d to unspecified\n", cause);
|
||||
ftdm_log_chan(fchan, FTDM_LOG_NOTICE, "Mapping openr2 cause %d to unspecified\n", cause);
|
||||
return FTDM_CAUSE_NORMAL_UNSPECIFIED;
|
||||
}
|
||||
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user