]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix for trunkgroup not specified on outgoing calls
authorDavid Yat Sin <dyatsin@sangoma.com>
Fri, 4 Sep 2009 20:28:12 +0000 (20:28 +0000)
committerDavid Yat Sin <dyatsin@sangoma.com>
Fri, 4 Sep 2009 20:28:12 +0000 (20:28 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@825 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/freetdm/src/ozmod/ozmod_sangoma_boost/ozmod_sangoma_boost.c

index cf9bdc4014f60352a80c5349b3fdf295a34c10e8..2b502ba6cd4cc63aa88ba719028ff6802f97738a 100644 (file)
@@ -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)) {