aboutsummaryrefslogtreecommitdiffstats
path: root/src/mgcp_ss7.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mgcp_ss7.c')
-rw-r--r--src/mgcp_ss7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mgcp_ss7.c b/src/mgcp_ss7.c
index 24a494f..7b6b578 100644
--- a/src/mgcp_ss7.c
+++ b/src/mgcp_ss7.c
@@ -714,7 +714,7 @@ static int configure_trunk(struct mgcp_trunk_config *tcfg, int *dsp_resource)
if (tcfg->loop_on_idle)
res = mgcp_hw_loop(start + multiplex, timeslot);
else
- res = mgcp_hw_connect(*dsp_resource,
+ res = mgcp_hw_connect(tcfg->endpoints[i].hw_dsp_port,
start + multiplex,
timeslot);