From 0fcad9c945f970d1b35f918129a8c1f11313f202 Mon Sep 17 00:00:00 2001 From: David Yat Sin Date: Fri, 4 Sep 2009 20:28:12 +0000 Subject: [PATCH] fix for trunkgroup not specified on outgoing calls git-svn-id: http://svn.openzap.org/svn/openzap/trunk@825 a93c3328-9c30-0410-af19-c9cd2b2d52af --- .../openzap/src/ozmod/ozmod_sangoma_boost/ozmod_sangoma_boost.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/openzap/src/ozmod/ozmod_sangoma_boost/ozmod_sangoma_boost.c b/libs/openzap/src/ozmod/ozmod_sangoma_boost/ozmod_sangoma_boost.c index cf9bdc4014..2b502ba6cd 100644 --- a/libs/openzap/src/ozmod/ozmod_sangoma_boost/ozmod_sangoma_boost.c +++ b/libs/openzap/src/ozmod/ozmod_sangoma_boost/ozmod_sangoma_boost.c @@ -282,6 +282,8 @@ static ZIO_CHANNEL_REQUEST_FUNCTION(sangoma_boost_channel_request) } sangomabc_call_init(&event, caller_data->cid_num.digits, ani, r); + //sangoma_bc_call_init will clear the trunk_group val so we need to set it again + event.trunk_group=tg; if (gr && *(gr+1)) {