提交 0fcad9c9 authored 作者: David Yat Sin's avatar David Yat Sin

fix for trunkgroup not specified on outgoing calls

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@825 a93c3328-9c30-0410-af19-c9cd2b2d52af
上级 fd17b6ba
...@@ -282,6 +282,8 @@ static ZIO_CHANNEL_REQUEST_FUNCTION(sangoma_boost_channel_request) ...@@ -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)) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论