提交 5aa34213 authored 作者: David Yat Sin's avatar David Yat Sin

Increased timeout in sangoma_boost_channel_request to match PRI specs

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1035 a93c3328-9c30-0410-af19-c9cd2b2d52af
上级 fa836e6e
......@@ -237,7 +237,13 @@ static ZIO_CHANNEL_REQUEST_FUNCTION(sangoma_boost_channel_request)
zap_status_t status = ZAP_FAIL;
sangoma_boost_request_id_t r;
sangomabc_event_t event = {0};
int sanity = 5000;
/* sanity has to be more than 8 seconds.
* In PRI specs, timeout is 4 seconds for remote switch to respond to a SETUP,
* and PRI stack will retransmit a second SETUP after the first timeout, so
* we should allow for at least 8 seconds */
int sanity = 10000;
sangoma_boost_request_status_t st;
char ani[128] = "";
char *gr = NULL;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论