fix for trunkgroup not specified on outgoing calls

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@825 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
David Yat Sin 2009-09-04 20:28:12 +00:00
parent fec13f56a5
commit 07cd03daac
1 changed files with 2 additions and 0 deletions

View 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); 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)) { if (gr && *(gr+1)) {