diff --git a/libs/openzap/src/isdn/Q931.c b/libs/openzap/src/isdn/Q931.c index cc5ff4f00b..afc57539d0 100644 --- a/libs/openzap/src/isdn/Q931.c +++ b/libs/openzap/src/isdn/Q931.c @@ -721,4 +721,5 @@ const char *q931_error_to_name(q931_error_t error) return ""; } return q931_error_names[index]; -} \ No newline at end of file +} + diff --git a/libs/openzap/src/testisdn.c b/libs/openzap/src/testisdn.c index 11e945ec79..78f3e18a41 100644 --- a/libs/openzap/src/testisdn.c +++ b/libs/openzap/src/testisdn.c @@ -25,7 +25,7 @@ int main(int argc, char *argv[]) } - if (zap_isdn_configure_span(span, Q931_TE, 0, on_signal) == ZAP_SUCCESS) { + if (zap_isdn_configure_span(span, Q931_TE, Q931_Dialect_National, on_signal) == ZAP_SUCCESS) { zap_isdn_start(span); } else { fprintf(stderr, "Error starting ISDN D-Channel\n");