mirror of https://github.com/sipwise/asterisk.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
487 B
12 lines
487 B
--- channels/misdn/isdn_lib.c (revisión: 168622)
|
|
+++ channels/misdn/isdn_lib.c (revisión: 185120)
|
|
@@ -915,7 +915,7 @@
|
|
bc->l3_id = l3_id;
|
|
cb_log(3, stack->port, " --> new_l3id %x\n", l3_id);
|
|
} else {
|
|
- if (stack->ptp || bc->te_choose_channel) {
|
|
+ if ((stack->pri && stack->ptp) || bc->te_choose_channel) {
|
|
/* we know exactly which channels are in use */
|
|
if (find_free_chan_in_stack(stack, bc, bc->channel_preselected ? bc->channel : 0, bc->dec) < 0) {
|
|
return -1;
|