summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--channels/chan_iax2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c
index 3e5d84f42..8bdde9bdf 100644
--- a/channels/chan_iax2.c
+++ b/channels/chan_iax2.c
@@ -14750,7 +14750,7 @@ static int load_module(void)
jb_setoutput(jb_error_output, jb_warning_output, NULL);
if ((timer = ast_timer_open())) {
- ast_timer_set_rate(timer, trunkfreq);
+ ast_timer_set_rate(timer, 1000 / trunkfreq);
}
if (set_config(config, 0) == -1) {