fix build.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@275 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
5b432cdb8a
commit
99b76622ba
|
@ -914,7 +914,6 @@ static ZIO_SIGNAL_CB_FUNCTION(on_fxs_signal)
|
|||
{
|
||||
switch_core_session_t *session = NULL;
|
||||
switch_channel_t *channel = NULL;
|
||||
private_t *tech_pvt = NULL;
|
||||
zap_status_t status = ZAP_SUCCESS;
|
||||
|
||||
zap_log(ZAP_LOG_DEBUG, "got FXS sig [%s]\n", zap_signal_event2str(sigmsg->event_id));
|
||||
|
@ -962,7 +961,6 @@ static ZIO_SIGNAL_CB_FUNCTION(on_isdn_signal)
|
|||
{
|
||||
switch_core_session_t *session = NULL;
|
||||
switch_channel_t *channel = NULL;
|
||||
zap_status_t status;
|
||||
|
||||
zap_log(ZAP_LOG_DEBUG, "got ISDN sig [%s]\n", zap_signal_event2str(sigmsg->event_id));
|
||||
|
||||
|
@ -1046,7 +1044,7 @@ static void zap_logger(char *file, const char *func, int line, int level, char *
|
|||
va_start(ap, fmt);
|
||||
|
||||
if (switch_vasprintf(&data, fmt, ap) != -1) {
|
||||
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, level, data);
|
||||
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, level, data);
|
||||
free(data);
|
||||
}
|
||||
|
||||
|
|
|
@ -198,18 +198,18 @@ typedef enum {
|
|||
} zt_maintenance_mode_t;
|
||||
|
||||
typedef enum {
|
||||
/* Signalling type */
|
||||
ZT_SIG_NONE = 0, /* chan not configured. */
|
||||
|
||||
ZT_SIG_FXSLS = ((1 << 0) | (1 << 13)), /* FXS, Loopstart */
|
||||
ZT_SIG_FXSGS = ((1 << 1) | (1 << 13)), /* FXS, Groundstart */
|
||||
ZT_SIG_FXSKS = ((1 << 2) | (1 << 13)), /* FXS, Kewlstart */
|
||||
ZT_SIG_FXOLS = ((1 << 3) | (1 << 12)), /* FXO, Loopstart */
|
||||
ZT_SIG_FXOGS = ((1 << 4) | (1 << 12)), /* FXO, Groupstart */
|
||||
ZT_SIG_FXOKS = ((1 << 5) | (1 << 12)), /* FXO, Kewlstart */
|
||||
ZT_SIG_EM = (1 << 6) /* E&M */
|
||||
/* Signalling type */
|
||||
ZT_SIG_NONE = 0, /* chan not configured. */
|
||||
|
||||
ZT_SIG_FXSLS = ((1 << 0) | (1 << 13)), /* FXS, Loopstart */
|
||||
ZT_SIG_FXSGS = ((1 << 1) | (1 << 13)), /* FXS, Groundstart */
|
||||
ZT_SIG_FXSKS = ((1 << 2) | (1 << 13)), /* FXS, Kewlstart */
|
||||
ZT_SIG_FXOLS = ((1 << 3) | (1 << 12)), /* FXO, Loopstart */
|
||||
ZT_SIG_FXOGS = ((1 << 4) | (1 << 12)), /* FXO, Groupstart */
|
||||
ZT_SIG_FXOKS = ((1 << 5) | (1 << 12)), /* FXO, Kewlstart */
|
||||
ZT_SIG_EM = (1 << 6) /* E&M */
|
||||
} zt_sigtype_t;
|
||||
|
||||
|
||||
|
||||
/* Defines */
|
||||
|
||||
|
|
Loading…
Reference in New Issue